Permalink
Browse files

Targetting wrong .Net framework, change the web site to target versio…

…n 4 not 4.5.
  • Loading branch information...
1 parent cd0fa1e commit 5b3ddb0d4594549b4f47f65b4f9a39c344c6f143 @fredrikn fredrikn committed Aug 21, 2012
Showing with 512 additions and 485 deletions.
  1. +12 −0 WebApiContrib.Formatting.RazorViewEngine.ncrunchsolution
  2. +5 −5 WebApiContrib.Formatting.RazorViewEngine.sln
  3. +0 −1 src/MvcApplication1/Global.asax
  4. +1 −1 src/{MvcApplication1 → MvcWebApiSiteTest}/App_Start/BundleConfig.cs
  5. +1 −1 src/{MvcApplication1 → MvcWebApiSiteTest}/App_Start/FilterConfig.cs
  6. +1 −1 src/{MvcApplication1 → MvcWebApiSiteTest}/App_Start/RouteConfig.cs
  7. +1 −2 src/{MvcApplication1 → MvcWebApiSiteTest}/App_Start/ViewConfig.cs
  8. +1 −1 src/{MvcApplication1 → MvcWebApiSiteTest}/App_Start/WebApiConfig.cs
  9. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/Site.css
  10. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  11. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  12. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  13. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  14. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  15. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  16. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  17. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  18. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-icons_222222_256x240.png
  19. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  20. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-icons_454545_256x240.png
  21. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-icons_888888_256x240.png
  22. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  23. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery-ui.css
  24. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.accordion.css
  25. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.all.css
  26. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.autocomplete.css
  27. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.base.css
  28. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.button.css
  29. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.core.css
  30. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.datepicker.css
  31. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.dialog.css
  32. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.progressbar.css
  33. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.resizable.css
  34. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.selectable.css
  35. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.slider.css
  36. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.tabs.css
  37. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/jquery.ui.theme.css
  38. BIN ...lication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png
  39. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png
  40. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png
  41. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png
  42. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png
  43. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png
  44. BIN ...ication1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png
  45. BIN ...→ MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  46. BIN ...Application1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-icons_222222_256x240.png
  47. BIN ...Application1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png
  48. BIN ...Application1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-icons_454545_256x240.png
  49. BIN ...Application1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-icons_888888_256x240.png
  50. BIN ...Application1 → MvcWebApiSiteTest}/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png
  51. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery-ui.min.css
  52. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.accordion.min.css
  53. 0 ...{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.autocomplete.min.css
  54. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.button.min.css
  55. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.core.min.css
  56. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.datepicker.min.css
  57. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.dialog.min.css
  58. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.progressbar.min.css
  59. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.resizable.min.css
  60. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.selectable.min.css
  61. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.slider.min.css
  62. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.tabs.min.css
  63. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Content/themes/base/minified/jquery.ui.theme.min.css
  64. +2 −3 src/{MvcApplication1 → MvcWebApiSiteTest}/Controllers/CustomerController.cs
  65. +1 −0 src/MvcWebApiSiteTest/Global.asax
  66. +1 −2 src/{MvcApplication1 → MvcWebApiSiteTest}/Global.asax.cs
  67. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/accent.png
  68. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/bullet.png
  69. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/heroAccent.png
  70. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList0.png
  71. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList1.png
  72. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList2.png
  73. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList3.png
  74. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList4.png
  75. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList5.png
  76. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList6.png
  77. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList7.png
  78. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList8.png
  79. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Images/orderedList9.png
  80. +24 −23 src/{MvcApplication1/MvcApplication1.csproj → MvcWebApiSiteTest/MvcWebApiSiteTest.csproj}
  81. +3 −3 src/{MvcApplication1 → MvcWebApiSiteTest}/Properties/AssemblyInfo.cs
  82. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/_references.js
  83. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery-1.7.1.intellisense.js
  84. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery-1.7.1.js
  85. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery-1.7.1.min.js
  86. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery-ui-1.8.20.js
  87. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery-ui-1.8.20.min.js
  88. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.unobtrusive-ajax.js
  89. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.unobtrusive-ajax.min.js
  90. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.validate-vsdoc.js
  91. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.validate.js
  92. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.validate.min.js
  93. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.validate.unobtrusive.js
  94. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/jquery.validate.unobtrusive.min.js
  95. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/knockout-2.1.0.debug.js
  96. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/knockout-2.1.0.js
  97. 0 src/{MvcApplication1 → MvcWebApiSiteTest}/Scripts/modernizr-2.5.3.js
  98. +41 −41 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/Customer.cshtml
  99. +48 −48 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/CustomerViaAttrib.cshtml
  100. +48 −48 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/CustomerViaConfig.cshtml
  101. +48 −48 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/CustomerViaView.cshtml
  102. +15 −15 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/Shared/Error.cshtml
  103. +10 −10 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/Shared/_Layout.cshtml
  104. +59 −59 src/{MvcApplication1 → MvcWebApiSiteTest}/Views/Web.config
  105. +3 −0 src/MvcWebApiSiteTest/Views/_ViewStart.cshtml
  106. +29 −29 src/{MvcApplication1 → MvcWebApiSiteTest}/Web.Debug.config
  107. +30 −30 src/{MvcApplication1 → MvcWebApiSiteTest}/Web.Release.config
  108. +90 −86 src/{MvcApplication1 → MvcWebApiSiteTest}/Web.config
  109. BIN src/{MvcApplication1 → MvcWebApiSiteTest}/favicon.ico
  110. +24 −24 src/{MvcApplication1 → MvcWebApiSiteTest}/packages.config
  111. +10 −4 src/WebApiContrib.Formatting.Razor/WebApiContrib.Formatting.Razor.csproj
  112. +4 −0 src/WebApiContrib.Formatting.Razor/packages.config
@@ -0,0 +1,12 @@
+<SolutionConfiguration>
+ <FileVersion>0</FileVersion>
+ <AutoEnableOnStartup>Default</AutoEnableOnStartup>
+ <AllowParallelTestExecution>false</AllowParallelTestExecution>
+ <FrameworkUtilisationTypeForNUnit>UseDynamicAnalysis</FrameworkUtilisationTypeForNUnit>
+ <FrameworkUtilisationTypeForGallio>UseStaticAnalysis</FrameworkUtilisationTypeForGallio>
+ <FrameworkUtilisationTypeForMSpec>UseStaticAnalysis</FrameworkUtilisationTypeForMSpec>
+ <FrameworkUtilisationTypeForMSTest>UseStaticAnalysis</FrameworkUtilisationTypeForMSTest>
+ <EngineModes>Run all tests automatically:BFRydWU=;Run all tests manually:BUZhbHNl;Run impacted tests automatically, others manually (experimental!):CklzSW1wYWN0ZWQ=;Run pinned tests automatically, others manually:CElzUGlubmVk</EngineModes>
+ <MetricsExclusionList>
+</MetricsExclusionList>
+</SolutionConfiguration>
@@ -15,7 +15,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiContrib.Formatting.Ht
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiContrib.Formatting.Razor", "src\WebApiContrib.Formatting.Razor\WebApiContrib.Formatting.Razor.csproj", "{8C15B0D3-9108-4EA3-AE19-3C9571266C47}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcApplication1", "src\MvcApplication1\MvcApplication1.csproj", "{1D68BCF9-98E0-4501-ACFB-20AEEC021085}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcWebApiSiteTest", "src\MvcWebApiSiteTest\MvcWebApiSiteTest.csproj", "{5D90E626-1C40-4B23-887A-DC2527D696CB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -39,10 +39,10 @@ Global
{8C15B0D3-9108-4EA3-AE19-3C9571266C47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C15B0D3-9108-4EA3-AE19-3C9571266C47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C15B0D3-9108-4EA3-AE19-3C9571266C47}.Release|Any CPU.Build.0 = Release|Any CPU
- {1D68BCF9-98E0-4501-ACFB-20AEEC021085}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1D68BCF9-98E0-4501-ACFB-20AEEC021085}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1D68BCF9-98E0-4501-ACFB-20AEEC021085}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1D68BCF9-98E0-4501-ACFB-20AEEC021085}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5D90E626-1C40-4B23-887A-DC2527D696CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D90E626-1C40-4B23-887A-DC2527D696CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D90E626-1C40-4B23-887A-DC2527D696CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D90E626-1C40-4B23-887A-DC2527D696CB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1 +0,0 @@
-<%@ Application Codebehind="Global.asax.cs" Inherits="MvcApplication1.WebApiApplication" Language="C#" %>
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Optimization;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest
{
public class BundleConfig
{
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Mvc;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest
{
public class FilterConfig
{
@@ -5,7 +5,7 @@
using System.Web.Mvc;
using System.Web.Routing;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest
{
public class RouteConfig
{
@@ -1,8 +1,7 @@
using System;
using System.Collections.Generic;
-using MvcApplication1.Controllers;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest.App_Start
{
public class ViewConfig
{
@@ -3,7 +3,7 @@
using System.Linq;
using System.Web.Http;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest
{
public static class WebApiConfig
{
@@ -1,7 +1,6 @@
-using System;
-using System.Web.Http;
+using System.Web.Http;
-namespace MvcApplication1.Controllers
+namespace MvcWebApiSiteTest.Controllers
{
public class CustomerController : ApiController
{
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="MvcWebApiSiteTest.WebApiApplication" Language="C#" %>
@@ -10,7 +10,7 @@
using WebApiContrib.Formatting.Html.Formatters;
using WebApiContrib.Formatting.Razor;
-namespace MvcApplication1
+namespace MvcWebApiSiteTest
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
@@ -26,7 +26,6 @@ protected void Application_Start()
GlobalViews.DefaultViewParser = new RazorViewParser();
GlobalViews.DefaultViewLocator = new RazorViewLocator();
- ViewConfig.RegisterViews(GlobalViews.Views);
WebApiConfig.Register(GlobalConfiguration.Configuration);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
@@ -7,20 +7,20 @@
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{1D68BCF9-98E0-4501-ACFB-20AEEC021085}</ProjectGuid>
+ <ProjectGuid>{5D90E626-1C40-4B23-887A-DC2527D696CB}</ProjectGuid>
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MvcApplication1</RootNamespace>
- <AssemblyName>MvcApplication1</AssemblyName>
+ <RootNamespace>MvcWebApiSiteTest</RootNamespace>
+ <AssemblyName>MvcWebApiSiteTest</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -58,69 +58,69 @@
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="EntityFramework">
- <HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
+ <HintPath>..\..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
- <HintPath>..\packages\Newtonsoft.Json.4.5.6\lib\net40\Newtonsoft.Json.dll</HintPath>
+ <HintPath>..\..\packages\Newtonsoft.Json.4.5.6\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.WebRequest">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
</Reference>
<Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Optimization">
- <HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
</Reference>
<Reference Include="System.Web.Providers">
- <HintPath>..\packages\Microsoft.AspNet.Providers.Core.1.1\lib\net40\System.Web.Providers.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.Providers.Core.1.1\lib\net40\System.Web.Providers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
<Reference Include="WebGrease">
<Private>True</Private>
- <HintPath>..\packages\WebGrease.1.1.0\lib\WebGrease.dll</HintPath>
+ <HintPath>..\..\packages\WebGrease.1.1.0\lib\WebGrease.dll</HintPath>
</Reference>
<Reference Include="Antlr3.Runtime">
<Private>True</Private>
- <HintPath>..\packages\WebGrease.1.1.0\lib\Antlr3.Runtime.dll</HintPath>
+ <HintPath>..\..\packages\WebGrease.1.1.0\lib\Antlr3.Runtime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -230,6 +230,7 @@
<Content Include="Images\orderedList9.png" />
<Content Include="Scripts\_references.js" />
<Content Include="Views\Web.config" />
+ <Content Include="Views\_ViewStart.cshtml" />
<Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml" />
<Content Include="Views\Customer.cshtml" />
@@ -272,7 +273,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
- <IISUrl>http://localhost:5730/</IISUrl>
+ <IISUrl>http://localhost:24652/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
@@ -5,11 +5,11 @@
// 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("MvcApplication1")]
+[assembly: AssemblyTitle("MvcWebApiSiteTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MvcApplication1")]
+[assembly: AssemblyProduct("MvcWebApiSiteTest")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -20,7 +20,7 @@
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("657870b2-d38b-47e2-a5f8-fe49503e838f")]
+[assembly: Guid("728545be-2304-49ac-81d1-2a0fe7779674")]
// Version information for an assembly consists of the following four values:
//
@@ -1,41 +1,41 @@
-@{
- _Layout = "~/Views/Shared/_Layout.cshtml";
-}
- <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.5.1.min.js" type="text/javascript"></script>
-
- <div id="body">
- <section>
-
- <div>
- <hgroup>
- <h1>Welcome '@Model.Name' to ASP.NET Web API Razor Formatter! Locate view by convention (the type of the model to render)</h1>
- </hgroup>
- </div>
- <p>
- Using the same URL "api/values" but using AJAX: <button>Press to show content!</button>
- </p>
- <p>
-
- </p>
-
- </section>
- </div>
-
- <script type="text/javascript">
-
- $("button").click(function () {
-
- $.ajax({
- url: '/api/customer',
- type: "GET",
- contentType: "application/json; charset=utf-8",
- success: function(data, status, xhr)
- {
- alert(data.Name);
- },
- error: function(xhr, status, error)
- {
- alert(error);
- }});
- });
-</script>
+@{
+ _Layout = "~/Views/Shared/_Layout.cshtml";
+}
+ <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.5.1.min.js" type="text/javascript"></script>
+
+ <div id="body">
+ <section>
+
+ <div>
+ <hgroup>
+ <h1>Welcome '@Model.Name' to ASP.NET Web API Razor Formatter! Locate view by convention (the type of the model to render)</h1>
+ </hgroup>
+ </div>
+ <p>
+ Using the same URL "api/values" but using AJAX: <button>Press to show content!</button>
+ </p>
+ <p>
+
+ </p>
+
+ </section>
+ </div>
+
+ <script type="text/javascript">
+
+ $("button").click(function () {
+
+ $.ajax({
+ url: '/api/customer',
+ type: "GET",
+ contentType: "application/json; charset=utf-8",
+ success: function(data, status, xhr)
+ {
+ alert(data.Name);
+ },
+ error: function(xhr, status, error)
+ {
+ alert(error);
+ }});
+ });
+</script>
Oops, something went wrong.

0 comments on commit 5b3ddb0

Please sign in to comment.