Permalink
Browse files

Split MVC project into two, the existing (now in renamed folder Chirp…

…y.MVC4) and a new one in Chirpy.MVC3.

Made changes to MVC3 project to support MVC3, and remove Razor / Web Pages 2 syntax (such as @Html.DisplayNameFor).
MVC3 project should now work in a standard installation of MVC3.
Two solution files now exist, one for each of the two flavors of MVC.
  • Loading branch information...
1 parent bef62e8 commit 4f86e5d722ddc7ea1dcfa83227b7388510f1c1cf @yeurch yeurch committed May 9, 2012
Showing with 42,442 additions and 39 deletions.
  1. +8 −0 .gitignore
  2. +38 −0 Chirpy.MVC3.sln
  3. 0 {Chirpy → Chirpy.MVC3}/ChirpCompositionRoot.cs
  4. 0 {Chirpy → Chirpy.MVC3}/ChirpControllerFactory.cs
  5. +221 −0 Chirpy.MVC3/Chirpy.csproj
  6. 0 {Chirpy → Chirpy.MVC3}/Content/Site.css
  7. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  8. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  9. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  10. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  11. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  12. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  13. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  14. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  15. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-icons_222222_256x240.png
  16. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  17. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-icons_454545_256x240.png
  18. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-icons_888888_256x240.png
  19. BIN {Chirpy → Chirpy.MVC3}/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  20. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.accordion.css
  21. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.all.css
  22. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.autocomplete.css
  23. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.base.css
  24. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.button.css
  25. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.core.css
  26. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.datepicker.css
  27. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.dialog.css
  28. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.progressbar.css
  29. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.resizable.css
  30. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.selectable.css
  31. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.slider.css
  32. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.tabs.css
  33. 0 {Chirpy → Chirpy.MVC3}/Content/themes/base/jquery.ui.theme.css
  34. 0 {Chirpy → Chirpy.MVC3}/Controllers/AdministrationController.cs
  35. 0 {Chirpy → Chirpy.MVC3}/Controllers/HomeController.cs
  36. +1 −0 Chirpy.MVC3/Global.asax
  37. +48 −0 Chirpy.MVC3/Global.asax.cs
  38. BIN {Chirpy → Chirpy.MVC3}/Images/NuGetGallery.png
  39. BIN {Chirpy → Chirpy.MVC3}/Images/accent.png
  40. BIN {Chirpy → Chirpy.MVC3}/Images/aspNetHome.png
  41. BIN {Chirpy → Chirpy.MVC3}/Images/bullet.png
  42. BIN {Chirpy → Chirpy.MVC3}/Images/facebook.png
  43. BIN {Chirpy → Chirpy.MVC3}/Images/findHosting.png
  44. BIN {Chirpy → Chirpy.MVC3}/Images/heroAccent.png
  45. BIN {Chirpy → Chirpy.MVC3}/Images/orderedListOne.png
  46. BIN {Chirpy → Chirpy.MVC3}/Images/orderedListThree.png
  47. BIN {Chirpy → Chirpy.MVC3}/Images/orderedListTwo.png
  48. BIN {Chirpy → Chirpy.MVC3}/Images/twitter.png
  49. BIN {Chirpy → Chirpy.MVC3}/Images/windowsLive.png
  50. 0 {Chirpy → Chirpy.MVC3}/Models/ChirpyContext.cs
  51. +35 −0 Chirpy.MVC3/Properties/AssemblyInfo.cs
  52. 0 {Chirpy → Chirpy.MVC3}/Scripts/_references.js
  53. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery-1.6.2-vsdoc.js
  54. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery-1.6.2.js
  55. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery-1.6.2.min.js
  56. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery-ui-1.8.11.js
  57. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery-ui-1.8.11.min.js
  58. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.unobtrusive-ajax.js
  59. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.unobtrusive-ajax.min.js
  60. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.validate-vsdoc.js
  61. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.validate.js
  62. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.validate.min.js
  63. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.validate.unobtrusive.js
  64. 0 {Chirpy → Chirpy.MVC3}/Scripts/jquery.validate.unobtrusive.min.js
  65. 0 {Chirpy → Chirpy.MVC3}/Scripts/knockout-2.0.0.debug.js
  66. 0 {Chirpy → Chirpy.MVC3}/Scripts/knockout-2.0.0.js
  67. 0 {Chirpy → Chirpy.MVC3}/Scripts/modernizr-2.0.6-development-only.js
  68. 0 {Chirpy → Chirpy.MVC3}/Views/Administration/Create.cshtml
  69. +25 −0 Chirpy.MVC3/Views/Administration/Delete.cshtml
  70. +22 −0 Chirpy.MVC3/Views/Administration/Details.cshtml
  71. +36 −0 Chirpy.MVC3/Views/Administration/Edit.cshtml
  72. +32 −0 Chirpy.MVC3/Views/Administration/Index.cshtml
  73. 0 {Chirpy → Chirpy.MVC3}/Views/Home/Index.cshtml
  74. 0 {Chirpy → Chirpy.MVC3}/Views/Home/Search.cshtml
  75. 0 {Chirpy → Chirpy.MVC3}/Views/Home/Tags.cshtml
  76. 0 {Chirpy → Chirpy.MVC3}/Views/Shared/Error.cshtml
  77. +42 −0 Chirpy.MVC3/Views/Shared/_Layout.cshtml
  78. +47 −0 Chirpy.MVC3/Views/Web.config
  79. 0 {Chirpy → Chirpy.MVC3}/Views/_ViewStart.cshtml
  80. +30 −0 Chirpy.MVC3/Web.Debug.config
  81. +31 −0 Chirpy.MVC3/Web.Release.config
  82. +56 −0 Chirpy.MVC3/Web.config
  83. +12 −0 Chirpy.MVC3/packages.config
  84. +38 −38 Chirpy.sln → Chirpy.MVC4.sln
  85. +49 −0 Chirpy.MVC4/ChirpCompositionRoot.cs
  86. +45 −0 Chirpy.MVC4/ChirpControllerFactory.cs
  87. 0 {Chirpy → Chirpy.MVC4}/Chirpy.csproj
  88. +636 −0 Chirpy.MVC4/Content/Site.css
  89. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  90. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  91. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  92. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  93. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  94. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  95. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  96. BIN Chirpy.MVC4/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  97. BIN Chirpy.MVC4/Content/themes/base/images/ui-icons_222222_256x240.png
  98. BIN Chirpy.MVC4/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  99. BIN Chirpy.MVC4/Content/themes/base/images/ui-icons_454545_256x240.png
  100. BIN Chirpy.MVC4/Content/themes/base/images/ui-icons_888888_256x240.png
  101. BIN Chirpy.MVC4/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  102. +24 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.accordion.css
  103. +16 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.all.css
  104. +62 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.autocomplete.css
  105. +11 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.base.css
  106. +43 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.button.css
  107. +46 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.core.css
  108. +73 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.datepicker.css
  109. +26 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.dialog.css
  110. +16 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.progressbar.css
  111. +25 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.resizable.css
  112. +15 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.selectable.css
  113. +29 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.slider.css
  114. +23 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.tabs.css
  115. +257 −0 Chirpy.MVC4/Content/themes/base/jquery.ui.theme.css
  116. +100 −0 Chirpy.MVC4/Controllers/AdministrationController.cs
  117. +43 −0 Chirpy.MVC4/Controllers/HomeController.cs
  118. 0 {Chirpy → Chirpy.MVC4}/Controllers/ValuesController.cs
  119. 0 {Chirpy → Chirpy.MVC4}/Global.asax
  120. 0 {Chirpy → Chirpy.MVC4}/Global.asax.cs
  121. BIN Chirpy.MVC4/Images/NuGetGallery.png
  122. BIN Chirpy.MVC4/Images/accent.png
  123. BIN Chirpy.MVC4/Images/aspNetHome.png
  124. BIN Chirpy.MVC4/Images/bullet.png
  125. BIN Chirpy.MVC4/Images/facebook.png
  126. BIN Chirpy.MVC4/Images/findHosting.png
  127. BIN Chirpy.MVC4/Images/heroAccent.png
  128. BIN Chirpy.MVC4/Images/orderedListOne.png
  129. BIN Chirpy.MVC4/Images/orderedListThree.png
  130. BIN Chirpy.MVC4/Images/orderedListTwo.png
  131. BIN Chirpy.MVC4/Images/twitter.png
  132. BIN Chirpy.MVC4/Images/windowsLive.png
  133. +19 −0 Chirpy.MVC4/Models/ChirpyContext.cs
  134. 0 {Chirpy → Chirpy.MVC4}/Properties/AssemblyInfo.cs
  135. +5 −0 Chirpy.MVC4/Scripts/_references.js
  136. +9,134 −0 Chirpy.MVC4/Scripts/jquery-1.6.2-vsdoc.js
  137. +9,007 −0 Chirpy.MVC4/Scripts/jquery-1.6.2.js
  138. +45 −0 Chirpy.MVC4/Scripts/jquery-1.6.2.min.js
  139. +12,515 −0 Chirpy.MVC4/Scripts/jquery-ui-1.8.11.js
  140. +1,682 −0 Chirpy.MVC4/Scripts/jquery-ui-1.8.11.min.js
  141. +163 −0 Chirpy.MVC4/Scripts/jquery.unobtrusive-ajax.js
  142. +5 −0 Chirpy.MVC4/Scripts/jquery.unobtrusive-ajax.min.js
  143. +1,323 −0 Chirpy.MVC4/Scripts/jquery.validate-vsdoc.js
  144. +1,194 −0 Chirpy.MVC4/Scripts/jquery.validate.js
  145. +79 −0 Chirpy.MVC4/Scripts/jquery.validate.min.js
  146. +345 −0 Chirpy.MVC4/Scripts/jquery.validate.unobtrusive.js
  147. +5 −0 Chirpy.MVC4/Scripts/jquery.validate.unobtrusive.min.js
  148. +3,255 −0 Chirpy.MVC4/Scripts/knockout-2.0.0.debug.js
  149. +129 −0 Chirpy.MVC4/Scripts/knockout-2.0.0.js
  150. +1,160 −0 Chirpy.MVC4/Scripts/modernizr-2.0.6-development-only.js
  151. +27 −0 Chirpy.MVC4/Views/Administration/Create.cshtml
  152. 0 {Chirpy → Chirpy.MVC4}/Views/Administration/Delete.cshtml
  153. 0 {Chirpy → Chirpy.MVC4}/Views/Administration/Details.cshtml
  154. 0 {Chirpy → Chirpy.MVC4}/Views/Administration/Edit.cshtml
  155. 0 {Chirpy → Chirpy.MVC4}/Views/Administration/Index.cshtml
  156. +19 −0 Chirpy.MVC4/Views/Home/Index.cshtml
  157. +35 −0 Chirpy.MVC4/Views/Home/Search.cshtml
  158. +15 −0 Chirpy.MVC4/Views/Home/Tags.cshtml
  159. +16 −0 Chirpy.MVC4/Views/Shared/Error.cshtml
  160. 0 {Chirpy → Chirpy.MVC4}/Views/Shared/_Layout.cshtml
  161. 0 {Chirpy → Chirpy.MVC4}/Views/Web.config
  162. +3 −0 Chirpy.MVC4/Views/_ViewStart.cshtml
  163. 0 {Chirpy → Chirpy.MVC4}/Web.Debug.config
  164. 0 {Chirpy → Chirpy.MVC4}/Web.Release.config
  165. 0 {Chirpy → Chirpy.MVC4}/Web.config
  166. 0 {Chirpy → Chirpy.MVC4}/packages.config
  167. BIN Chirpy.suo
  168. +1 −1 README.md
View
@@ -2,5 +2,13 @@
bin
obj
+# Visual Studio user files
+*.suo
+*.csproj.user
+
+# NuGet packages
+packages/
+!packages/repositories.config
+
# mstest test results
TestResults
View
@@ -0,0 +1,38 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chirpy.Domain", "Chirpy.Domain\Chirpy.Domain.csproj", "{421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chirpy.Data", "Chirpy.Data\Chirpy.Data.csproj", "{C2BF8B89-3CD7-4611-AF22-A26095E5D2B0}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chirpy", "Chirpy.MVC3\Chirpy.csproj", "{2E7FF6B6-99C2-43BD-805F-696667570BF8}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{C699DEA3-FD67-4126-88F1-E14A874DF5FB}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\NuGet.exe = .nuget\NuGet.exe
+ .nuget\NuGet.targets = .nuget\NuGet.targets
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C2BF8B89-3CD7-4611-AF22-A26095E5D2B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C2BF8B89-3CD7-4611-AF22-A26095E5D2B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C2BF8B89-3CD7-4611-AF22-A26095E5D2B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C2BF8B89-3CD7-4611-AF22-A26095E5D2B0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2E7FF6B6-99C2-43BD-805F-696667570BF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2E7FF6B6-99C2-43BD-805F-696667570BF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2E7FF6B6-99C2-43BD-805F-696667570BF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2E7FF6B6-99C2-43BD-805F-696667570BF8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
@@ -0,0 +1,221 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>
+ </ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{2E7FF6B6-99C2-43BD-805F-696667570BF8}</ProjectGuid>
+ <ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Chirpy</RootNamespace>
+ <AssemblyName>Chirpy</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <MvcBuildViews>false</MvcBuildViews>
+ <UseIISExpress>true</UseIISExpress>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="EntityFramework">
+ <HintPath>..\packages\EntityFramework.4.1.10331.0\lib\EntityFramework.dll</HintPath>
+ </Reference>
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>..\packages\Newtonsoft.Json.4.0.8\lib\net40\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="NLog">
+ <HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Abstractions">
+ <HintPath>..\packages\RavenDB.1.0.888\lib\net40\Raven.Abstractions.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.Debug">
+ <HintPath>..\packages\RavenDB.1.0.888\lib\net40\Raven.Client.Debug.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.Lightweight">
+ <HintPath>..\packages\RavenDB.1.0.888\lib\net40\Raven.Client.Lightweight.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.Lightweight.FSharp">
+ <HintPath>..\packages\RavenDB.1.0.888\lib\net40\Raven.Client.Lightweight.FSharp.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.MvcIntegration">
+ <HintPath>..\packages\RavenDB.1.0.888\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
+ </Reference>
+ <Reference Include="System.ComponentModel.Composition" />
+ <Reference Include="System.Data.Entity" />
+ <Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web.DynamicData" />
+ <Reference Include="System.Web.Entity" />
+ <Reference Include="System.Web.ApplicationServices" />
+ <Reference Include="System.ComponentModel.DataAnnotations" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Web.Extensions" />
+ <Reference Include="System.Web.Abstractions" />
+ <Reference Include="System.Web.Routing" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="ChirpCompositionRoot.cs" />
+ <Compile Include="ChirpControllerFactory.cs" />
+ <Compile Include="Controllers\AdministrationController.cs" />
+ <Compile Include="Controllers\HomeController.cs" />
+ <Compile Include="Global.asax.cs">
+ <DependentUpon>Global.asax</DependentUpon>
+ </Compile>
+ <Compile Include="Models\ChirpyContext.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Content\Site.css" />
+ <Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
+ <Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
+ <Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
+ <Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
+ <Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
+ <Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
+ <Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
+ <Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
+ <Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
+ <Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
+ <Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
+ <Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
+ <Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
+ <Content Include="Content\themes\base\jquery.ui.accordion.css" />
+ <Content Include="Content\themes\base\jquery.ui.all.css" />
+ <Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
+ <Content Include="Content\themes\base\jquery.ui.base.css" />
+ <Content Include="Content\themes\base\jquery.ui.button.css" />
+ <Content Include="Content\themes\base\jquery.ui.core.css" />
+ <Content Include="Content\themes\base\jquery.ui.datepicker.css" />
+ <Content Include="Content\themes\base\jquery.ui.dialog.css" />
+ <Content Include="Content\themes\base\jquery.ui.progressbar.css" />
+ <Content Include="Content\themes\base\jquery.ui.resizable.css" />
+ <Content Include="Content\themes\base\jquery.ui.selectable.css" />
+ <Content Include="Content\themes\base\jquery.ui.slider.css" />
+ <Content Include="Content\themes\base\jquery.ui.tabs.css" />
+ <Content Include="Content\themes\base\jquery.ui.theme.css" />
+ <Content Include="Global.asax" />
+ <Content Include="Images\accent.png" />
+ <Content Include="Images\aspNetHome.png" />
+ <Content Include="Images\bullet.png" />
+ <Content Include="Images\facebook.png" />
+ <Content Include="Images\findHosting.png" />
+ <Content Include="Images\heroAccent.png" />
+ <Content Include="Images\NuGetGallery.png" />
+ <Content Include="Images\orderedListOne.png" />
+ <Content Include="Images\orderedListThree.png" />
+ <Content Include="Images\orderedListTwo.png" />
+ <Content Include="Images\twitter.png" />
+ <Content Include="Images\windowsLive.png" />
+ <Content Include="Scripts\jquery-1.6.2-vsdoc.js" />
+ <Content Include="Scripts\jquery-1.6.2.js" />
+ <Content Include="Scripts\jquery-1.6.2.min.js" />
+ <Content Include="Scripts\jquery-ui-1.8.11.js" />
+ <Content Include="Scripts\jquery-ui-1.8.11.min.js" />
+ <Content Include="Scripts\jquery.unobtrusive-ajax.js" />
+ <Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
+ <Content Include="Scripts\jquery.validate-vsdoc.js" />
+ <Content Include="Scripts\jquery.validate.js" />
+ <Content Include="Scripts\jquery.validate.min.js" />
+ <Content Include="Scripts\jquery.validate.unobtrusive.js" />
+ <Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
+ <Content Include="Scripts\knockout-2.0.0.debug.js" />
+ <Content Include="Scripts\knockout-2.0.0.js" />
+ <Content Include="Scripts\modernizr-2.0.6-development-only.js" />
+ <Content Include="Scripts\_references.js" />
+ <Content Include="Web.config" />
+ <Content Include="Web.Debug.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ <Content Include="Web.Release.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Chirpy.Domain\Chirpy.Domain.csproj">
+ <Project>{421DD2FD-6A18-429A-9C10-2B20ECAE0EDF}</Project>
+ <Name>Chirpy.Domain</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Views\Administration\Create.cshtml" />
+ <Content Include="Views\Administration\Delete.cshtml" />
+ <Content Include="Views\Administration\Details.cshtml" />
+ <Content Include="Views\Administration\Edit.cshtml" />
+ <Content Include="Views\Administration\Index.cshtml" />
+ <Content Include="Views\Home\Index.cshtml" />
+ <Content Include="Views\Home\Search.cshtml" />
+ <Content Include="Views\Home\Tags.cshtml" />
+ <Content Include="Views\Shared\Error.cshtml" />
+ <Content Include="Views\Shared\_Layout.cshtml" />
+ <Content Include="Views\Web.config" />
+ <Content Include="Views\_ViewStart.cshtml" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target> -->
+ <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
+ <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
+ </Target>
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>True</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>55719</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost:1045/</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <UseCustomServer>False</UseCustomServer>
+ <CustomServerUrl>
+ </CustomServerUrl>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
+ <PropertyGroup>
+ <PostBuildEvent>copy "$(SolutionDir)Chirpy.Data\bin\$(ConfigurationName)\*.*" "$(TargetDir)"</PostBuildEvent>
+ </PropertyGroup>
+</Project>
File renamed without changes.
View
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="Chirpy.MvcApplication" Language="C#" %>
View
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using System.Web.Routing;
+
+namespace Chirpy
+{
+ // Note: For instructions on enabling IIS6 or IIS7 classic mode,
+ // visit http://go.microsoft.com/?LinkId=9394801
+
+ public class MvcApplication : System.Web.HttpApplication
+ {
+ public static void RegisterGlobalFilters(GlobalFilterCollection filters)
+ {
+ filters.Add(new HandleErrorAttribute());
+ }
+
+ public static void RegisterRoutes(RouteCollection routes)
+ {
+ routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
+
+ routes.MapRoute(
+ name: "Default",
+ url: "{controller}/{action}/{id}",
+ defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
+ );
+
+ routes.MapRoute(
+ name: "Search",
+ url: "{controller}/{action}/{key}",
+ defaults: new { controller = "Home", action = "Search", key = UrlParameter.Optional }
+ );
+ }
+
+ protected void Application_Start()
+ {
+ AreaRegistration.RegisterAllAreas();
+
+ RegisterGlobalFilters(GlobalFilters.Filters);
+ RegisterRoutes(RouteTable.Routes);
+
+ var root = new ChirpCompositionRoot();
+ ControllerBuilder.Current.SetControllerFactory(root.ControllerFactory);
+ }
+ }
+}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Chirpy")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Chirpy")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("afa6d8c6-ef95-4e79-82bd-833d7f935966")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
File renamed without changes.
@@ -0,0 +1,25 @@
+@model Chirpy.Domain.Model.Chirp
+
+@{
+ ViewBag.Title = "Delete";
+}
+
+<h2>Delete</h2>
+
+<h3>Are you sure you want to delete this?</h3>
+<fieldset>
+ <legend>Chirp</legend>
+
+ <div class="display-label">
+ @Html.LabelFor(model => model.Value)
+ </div>
+ <div class="display-field">
+ @Html.DisplayFor(model => model.Value)
+ </div>
+</fieldset>
+@using (Html.BeginForm()) {
+ <p>
+ <input type="submit" value="Delete" /> |
+ @Html.ActionLink("Back to List", "Index")
+ </p>
+}
Oops, something went wrong.

0 comments on commit 4f86e5d

Please sign in to comment.