Skip to content

Commit df5a066

Browse files
committed
Codigo inicial.
1 parent 32a05d6 commit df5a066

44 files changed

Lines changed: 27240 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Agenda.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Agenda", "Agenda\Agenda.csproj", "{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

Agenda/Agenda.csproj

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
4+
<Import Project="..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props')" />
5+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
6+
<PropertyGroup>
7+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
8+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
9+
<ProductVersion>
10+
</ProductVersion>
11+
<SchemaVersion>2.0</SchemaVersion>
12+
<ProjectGuid>{C5A4FA4E-8025-4F5E-8E66-A1F6FEF6CC1D}</ProjectGuid>
13+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
14+
<OutputType>Library</OutputType>
15+
<AppDesignerFolder>Properties</AppDesignerFolder>
16+
<RootNamespace>Agenda</RootNamespace>
17+
<AssemblyName>Agenda</AssemblyName>
18+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
19+
<MvcBuildViews>false</MvcBuildViews>
20+
<UseIISExpress>true</UseIISExpress>
21+
<IISExpressSSLPort />
22+
<IISExpressAnonymousAuthentication />
23+
<IISExpressWindowsAuthentication />
24+
<IISExpressUseClassicPipelineMode />
25+
<UseGlobalApplicationHostFile />
26+
<NuGetPackageImportStamp>
27+
</NuGetPackageImportStamp>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
30+
<DebugSymbols>true</DebugSymbols>
31+
<DebugType>full</DebugType>
32+
<Optimize>false</Optimize>
33+
<OutputPath>bin\</OutputPath>
34+
<DefineConstants>DEBUG;TRACE</DefineConstants>
35+
<ErrorReport>prompt</ErrorReport>
36+
<WarningLevel>4</WarningLevel>
37+
</PropertyGroup>
38+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
39+
<DebugType>pdbonly</DebugType>
40+
<Optimize>true</Optimize>
41+
<OutputPath>bin\</OutputPath>
42+
<DefineConstants>TRACE</DefineConstants>
43+
<ErrorReport>prompt</ErrorReport>
44+
<WarningLevel>4</WarningLevel>
45+
</PropertyGroup>
46+
<ItemGroup>
47+
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
48+
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
49+
<Private>True</Private>
50+
</Reference>
51+
<Reference Include="Microsoft.CSharp" />
52+
<Reference Include="System" />
53+
<Reference Include="System.Data" />
54+
<Reference Include="System.Drawing" />
55+
<Reference Include="System.Web.DynamicData" />
56+
<Reference Include="System.Web.Entity" />
57+
<Reference Include="System.Web.ApplicationServices" />
58+
<Reference Include="System.ComponentModel.DataAnnotations" />
59+
<Reference Include="System.Core" />
60+
<Reference Include="System.Data.DataSetExtensions" />
61+
<Reference Include="System.Xml.Linq" />
62+
<Reference Include="System.Web" />
63+
<Reference Include="System.Web.Extensions" />
64+
<Reference Include="System.Web.Abstractions" />
65+
<Reference Include="System.Web.Routing" />
66+
<Reference Include="System.Xml" />
67+
<Reference Include="System.Configuration" />
68+
<Reference Include="System.Web.Services" />
69+
<Reference Include="System.EnterpriseServices" />
70+
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71+
<Private>True</Private>
72+
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
73+
</Reference>
74+
<Reference Include="System.Net.Http">
75+
</Reference>
76+
<Reference Include="System.Net.Http.WebRequest">
77+
</Reference>
78+
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
79+
<Private>True</Private>
80+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
81+
</Reference>
82+
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
83+
<Private>True</Private>
84+
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
85+
</Reference>
86+
<Reference Include="System.Web.Optimization">
87+
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
88+
</Reference>
89+
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
90+
<Private>True</Private>
91+
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
92+
</Reference>
93+
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
94+
<Private>True</Private>
95+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
96+
</Reference>
97+
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
98+
<Private>True</Private>
99+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
100+
</Reference>
101+
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
102+
<Private>True</Private>
103+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
104+
</Reference>
105+
<Reference Include="WebGrease">
106+
<Private>True</Private>
107+
<HintPath>..\packages\WebGrease.1.5.2\lib\WebGrease.dll</HintPath>
108+
</Reference>
109+
<Reference Include="Antlr3.Runtime">
110+
<Private>True</Private>
111+
<HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath>
112+
</Reference>
113+
</ItemGroup>
114+
<ItemGroup>
115+
<Reference Include="Newtonsoft.Json">
116+
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
117+
</Reference>
118+
</ItemGroup>
119+
<ItemGroup>
120+
<Compile Include="App_Start\BundleConfig.cs" />
121+
<Compile Include="App_Start\FilterConfig.cs" />
122+
<Compile Include="App_Start\RouteConfig.cs" />
123+
<Compile Include="Controllers\HomeController.cs" />
124+
<Compile Include="Global.asax.cs">
125+
<DependentUpon>Global.asax</DependentUpon>
126+
</Compile>
127+
<Compile Include="Properties\AssemblyInfo.cs" />
128+
</ItemGroup>
129+
<ItemGroup>
130+
<Content Include="Content\bootstrap.css" />
131+
<Content Include="Content\bootstrap.min.css" />
132+
<Content Include="favicon.ico" />
133+
<Content Include="fonts\glyphicons-halflings-regular.svg" />
134+
<Content Include="Global.asax" />
135+
<Content Include="Content\Site.css" />
136+
<Content Include="Scripts\bootstrap.js" />
137+
<Content Include="Scripts\bootstrap.min.js" />
138+
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
139+
<Content Include="Scripts\jquery-1.10.2.js" />
140+
<Content Include="Scripts\jquery-1.10.2.min.js" />
141+
<None Include="Scripts\jquery.validate-vsdoc.js" />
142+
<Content Include="Scripts\jquery.validate.js" />
143+
<Content Include="Scripts\jquery.validate.min.js" />
144+
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
145+
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
146+
<Content Include="Scripts\modernizr-2.6.2.js" />
147+
<Content Include="Scripts\respond.js" />
148+
<Content Include="Scripts\respond.min.js" />
149+
<Content Include="Scripts\_references.js" />
150+
<Content Include="Web.config" />
151+
<Content Include="Web.Debug.config">
152+
<DependentUpon>Web.config</DependentUpon>
153+
</Content>
154+
<Content Include="Web.Release.config">
155+
<DependentUpon>Web.config</DependentUpon>
156+
</Content>
157+
<Content Include="Views\Web.config" />
158+
<Content Include="Views\_ViewStart.cshtml" />
159+
<Content Include="Views\Shared\Error.cshtml" />
160+
<Content Include="Views\Shared\_Layout.cshtml" />
161+
<Content Include="Views\Home\About.cshtml" />
162+
<Content Include="Views\Home\Contact.cshtml" />
163+
<Content Include="Views\Home\Index.cshtml" />
164+
</ItemGroup>
165+
<ItemGroup>
166+
<Folder Include="App_Data\" />
167+
<Folder Include="Models\" />
168+
</ItemGroup>
169+
<ItemGroup>
170+
<Content Include="fonts\glyphicons-halflings-regular.woff" />
171+
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
172+
<Content Include="fonts\glyphicons-halflings-regular.eot" />
173+
<Content Include="packages.config" />
174+
<None Include="Project_Readme.html" />
175+
<Content Include="Scripts\jquery-1.10.2.min.map" />
176+
</ItemGroup>
177+
<PropertyGroup>
178+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
179+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
180+
</PropertyGroup>
181+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
182+
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
183+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
184+
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
185+
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
186+
</Target>
187+
<ProjectExtensions>
188+
<VisualStudio>
189+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
190+
<WebProjectProperties>
191+
<UseIIS>True</UseIIS>
192+
<AutoAssignPort>True</AutoAssignPort>
193+
<DevelopmentServerPort>49687</DevelopmentServerPort>
194+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
195+
<IISUrl>http://localhost:49687/</IISUrl>
196+
<NTLMAuthentication>False</NTLMAuthentication>
197+
<UseCustomServer>False</UseCustomServer>
198+
<CustomServerUrl>
199+
</CustomServerUrl>
200+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
201+
</WebProjectProperties>
202+
</FlavorProperties>
203+
</VisualStudio>
204+
</ProjectExtensions>
205+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
206+
<PropertyGroup>
207+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
208+
</PropertyGroup>
209+
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props'))" />
210+
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
211+
</Target>
212+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
213+
Other similar extension points exist, see Microsoft.Common.targets.
214+
<Target Name="BeforeBuild">
215+
</Target>
216+
<Target Name="AfterBuild">
217+
</Target> -->
218+
</Project>

Agenda/App_Start/BundleConfig.cs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace Agenda
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15+
"~/Scripts/jquery.validate*"));
16+
17+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
18+
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
19+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20+
"~/Scripts/modernizr-*"));
21+
22+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
23+
"~/Scripts/bootstrap.js",
24+
"~/Scripts/respond.js"));
25+
26+
bundles.Add(new StyleBundle("~/Content/css").Include(
27+
"~/Content/bootstrap.css",
28+
"~/Content/site.css"));
29+
}
30+
}
31+
}

Agenda/App_Start/FilterConfig.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace Agenda
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}

Agenda/App_Start/RouteConfig.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.Mvc;
6+
using System.Web.Routing;
7+
8+
namespace Agenda
9+
{
10+
public class RouteConfig
11+
{
12+
public static void RegisterRoutes(RouteCollection routes)
13+
{
14+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15+
16+
routes.MapRoute(
17+
name: "Default",
18+
url: "{controller}/{action}/{id}",
19+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}

Agenda/Content/Site.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
body {
2+
padding-top: 50px;
3+
padding-bottom: 20px;
4+
}
5+
6+
/* Set padding to keep content from hitting the edges */
7+
.body-content {
8+
padding-left: 15px;
9+
padding-right: 15px;
10+
}
11+
12+
/* Override the default bootstrap behavior where horizontal description lists
13+
will truncate terms that are too long to fit in the left column
14+
*/
15+
.dl-horizontal dt {
16+
white-space: normal;
17+
}
18+
19+
/* Set width on the form input elements since they're 100% wide by default */
20+
input,
21+
select,
22+
textarea {
23+
max-width: 280px;
24+
}

0 commit comments

Comments
 (0)