Update names of WebSite projects for consistency

Project/Assembly names are all like 'FeatureWebSite' root namespaces
updated accordingly. This makes processing all of the functional tests and
deploying the web sites much simpler.
This commit is contained in:
Ryan Nowak 2014-12-10 14:29:05 -08:00
parent e65218d6df
commit b4975b779c
60 changed files with 98 additions and 94 deletions

58
Mvc.sln
View File

@ -1,7 +1,7 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 14
VisualStudioVersion = 14.0.22213.0 VisualStudioVersion = 14.0.22410.0
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{DAAE4C74-D06F-4874-A166-33305D2643CE}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{DAAE4C74-D06F-4874-A166-33305D2643CE}"
EndProject EndProject
@ -49,14 +49,10 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RoutingWebSite", "test\WebS
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Test", "test\Microsoft.AspNet.Mvc.Test\Microsoft.AspNet.Mvc.Test.kproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Test", "test\Microsoft.AspNet.Mvc.Test\Microsoft.AspNet.Mvc.Test.kproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CompositeViewEngine", "test\WebSites\CompositeViewEngine\CompositeViewEngine.kproj", "{A853B2BA-4449-4908-A416-5A3C027FC22B}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RazorWebSite", "test\WebSites\RazorWebSite\RazorWebSite.kproj", "{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RazorWebSite", "test\WebSites\RazorWebSite\RazorWebSite.kproj", "{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "FormatterWebSite", "test\WebSites\FormatterWebSite\FormatterWebSite.kproj", "{62735776-46FF-4170-9392-02E128A69B89}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "FormatterWebSite", "test\WebSites\FormatterWebSite\FormatterWebSite.kproj", "{62735776-46FF-4170-9392-02E128A69B89}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ValueProvidersSite", "test\WebSites\ValueProvidersSite\ValueProvidersSite.kproj", "{14F79E79-AE79-48FA-95DE-D794EF4EABB3}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.HeaderValueAbstractions", "src\Microsoft.AspNet.Mvc.HeaderValueAbstractions\Microsoft.AspNet.Mvc.HeaderValueAbstractions.kproj", "{98335B23-E4B9-4CAD-9749-0DED32A659A1}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.HeaderValueAbstractions", "src\Microsoft.AspNet.Mvc.HeaderValueAbstractions\Microsoft.AspNet.Mvc.HeaderValueAbstractions.kproj", "{98335B23-E4B9-4CAD-9749-0DED32A659A1}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.HeaderValueAbstractions.Tests", "test\Microsoft.AspNet.Mvc.HeaderValueAbstractions.Test\Microsoft.AspNet.Mvc.HeaderValueAbstractions.Tests.kproj", "{E69FD235-2042-43A4-9970-59CB29955B4E}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.HeaderValueAbstractions.Tests", "test\Microsoft.AspNet.Mvc.HeaderValueAbstractions.Test\Microsoft.AspNet.Mvc.HeaderValueAbstractions.Tests.kproj", "{E69FD235-2042-43A4-9970-59CB29955B4E}"
@ -110,6 +106,10 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PrecompilationWebSite", "te
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RequestServicesWebSite", "test\WebSites\RequestServicesWebSite\RequestServicesWebSite.kproj", "{F12E9CF0-4958-40C6-A6CD-759185157F84}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RequestServicesWebSite", "test\WebSites\RequestServicesWebSite\RequestServicesWebSite.kproj", "{F12E9CF0-4958-40C6-A6CD-759185157F84}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CompositeViewEngineWebSite", "test\WebSites\CompositeViewEngineWebSite\CompositeViewEngineWebSite.kproj", "{A853B2BA-4449-4908-A416-5A3C027FC22B}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ValueProvidersWebSite", "test\WebSites\ValueProvidersWebSite\ValueProvidersWebSite.kproj", "{14F79E79-AE79-48FA-95DE-D794EF4EABB3}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -310,16 +310,6 @@ Global
{5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|Mixed Platforms.Build.0 = Release|Any CPU {5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|x86.ActiveCfg = Release|Any CPU {5F945B82-FE5F-425C-956C-8BC2F2020254}.Release|x86.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|x86.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Any CPU.Build.0 = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|x86.ActiveCfg = Release|Any CPU
{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Any CPU.Build.0 = Debug|Any CPU {B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {B07CAF59-11ED-40E3-A5DB-E1178F84FA78}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@ -340,16 +330,6 @@ Global
{62735776-46FF-4170-9392-02E128A69B89}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {62735776-46FF-4170-9392-02E128A69B89}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{62735776-46FF-4170-9392-02E128A69B89}.Release|Mixed Platforms.Build.0 = Release|Any CPU {62735776-46FF-4170-9392-02E128A69B89}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{62735776-46FF-4170-9392-02E128A69B89}.Release|x86.ActiveCfg = Release|Any CPU {62735776-46FF-4170-9392-02E128A69B89}.Release|x86.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|x86.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Any CPU.Build.0 = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|x86.ActiveCfg = Release|Any CPU
{98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Any CPU.Build.0 = Debug|Any CPU {98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {98335B23-E4B9-4CAD-9749-0DED32A659A1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@ -590,6 +570,30 @@ Global
{F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|Mixed Platforms.Build.0 = Release|Any CPU {F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|x86.ActiveCfg = Release|Any CPU {F12E9CF0-4958-40C6-A6CD-759185157F84}.Release|x86.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|x86.ActiveCfg = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Debug|x86.Build.0 = Debug|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Any CPU.Build.0 = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|x86.ActiveCfg = Release|Any CPU
{A853B2BA-4449-4908-A416-5A3C027FC22B}.Release|x86.Build.0 = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|x86.ActiveCfg = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Debug|x86.Build.0 = Debug|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Any CPU.Build.0 = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|x86.ActiveCfg = Release|Any CPU
{14F79E79-AE79-48FA-95DE-D794EF4EABB3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@ -615,10 +619,8 @@ Global
{680D75ED-601F-4D86-B01B-1072D0C31B8C} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {680D75ED-601F-4D86-B01B-1072D0C31B8C} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{42CDBF4A-E238-4C0F-A416-44588363EB4C} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {42CDBF4A-E238-4C0F-A416-44588363EB4C} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{5F945B82-FE5F-425C-956C-8BC2F2020254} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1} {5F945B82-FE5F-425C-956C-8BC2F2020254} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1}
{A853B2BA-4449-4908-A416-5A3C027FC22B} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{B07CAF59-11ED-40E3-A5DB-E1178F84FA78} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {B07CAF59-11ED-40E3-A5DB-E1178F84FA78} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{62735776-46FF-4170-9392-02E128A69B89} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {62735776-46FF-4170-9392-02E128A69B89} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{14F79E79-AE79-48FA-95DE-D794EF4EABB3} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{98335B23-E4B9-4CAD-9749-0DED32A659A1} = {32285FA4-6B46-4D6B-A840-2B13E4C8B58E} {98335B23-E4B9-4CAD-9749-0DED32A659A1} = {32285FA4-6B46-4D6B-A840-2B13E4C8B58E}
{E69FD235-2042-43A4-9970-59CB29955B4E} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1} {E69FD235-2042-43A4-9970-59CB29955B4E} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1}
{EE1AB716-F102-4CA3-AD2C-214A44B459A0} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {EE1AB716-F102-4CA3-AD2C-214A44B459A0} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
@ -643,5 +645,7 @@ Global
{860119ED-3DB1-424D-8D0A-30132A8A7D96} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1} {860119ED-3DB1-424D-8D0A-30132A8A7D96} = {3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1}
{59E1BE90-92C1-4D35-ADCC-B69F49077C81} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {59E1BE90-92C1-4D35-ADCC-B69F49077C81} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{F12E9CF0-4958-40C6-A6CD-759185157F84} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {F12E9CF0-4958-40C6-A6CD-759185157F84} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{A853B2BA-4449-4908-A416-5A3C027FC22B} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
{14F79E79-AE79-48FA-95DE-D794EF4EABB3} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

View File

@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
public class ApiExplorerTest public class ApiExplorerTest
{ {
private readonly IServiceProvider _provider = TestHelper.CreateServices("ApiExplorerWebSite"); private readonly IServiceProvider _provider = TestHelper.CreateServices("ApiExplorerWebSite");
private readonly Action<IApplicationBuilder> _app = new ApiExplorer.Startup().Configure; private readonly Action<IApplicationBuilder> _app = new ApiExplorerWebSite.Startup().Configure;
[Fact] [Fact]
public async Task ApiExplorer_IsVisible_EnabledWithConvention() public async Task ApiExplorer_IsVisible_EnabledWithConvention()
@ -498,9 +498,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
} }
[Theory] [Theory]
[InlineData("GetProduct", "ApiExplorer.Product")] [InlineData("GetProduct", "ApiExplorerWebSite.Product")]
[InlineData("GetInt", "System.Int32")] [InlineData("GetInt", "System.Int32")]
[InlineData("GetTaskOfProduct", "ApiExplorer.Product")] [InlineData("GetTaskOfProduct", "ApiExplorerWebSite.Product")]
[InlineData("GetTaskOfInt", "System.Int32")] [InlineData("GetTaskOfInt", "System.Int32")]
public async Task ApiExplorer_ResponseType_KnownWithoutAttribute(string action, string type) public async Task ApiExplorer_ResponseType_KnownWithoutAttribute(string action, string type)
{ {
@ -521,10 +521,10 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
} }
[Theory] [Theory]
[InlineData("GetVoid", "ApiExplorer.Customer")] [InlineData("GetVoid", "ApiExplorerWebSite.Customer")]
[InlineData("GetObject", "ApiExplorer.Product")] [InlineData("GetObject", "ApiExplorerWebSite.Product")]
[InlineData("GetIActionResult", "System.String")] [InlineData("GetIActionResult", "System.String")]
[InlineData("GetProduct", "ApiExplorer.Customer")] [InlineData("GetProduct", "ApiExplorerWebSite.Customer")]
[InlineData("GetTask", "System.Int32")] [InlineData("GetTask", "System.Int32")]
public async Task ApiExplorer_ResponseType_KnownWithAttribute(string action, string type) public async Task ApiExplorer_ResponseType_KnownWithAttribute(string action, string type)
{ {
@ -545,8 +545,8 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
} }
[Theory] [Theory]
[InlineData("Controller", "ApiExplorer.Product")] [InlineData("Controller", "ApiExplorerWebSite.Product")]
[InlineData("Action", "ApiExplorer.Customer")] [InlineData("Action", "ApiExplorerWebSite.Customer")]
public async Task ApiExplorer_ResponseType_OverrideOnAction(string action, string type) public async Task ApiExplorer_ResponseType_OverrideOnAction(string action, string type)
{ {
// Arrange // Arrange

View File

@ -11,8 +11,8 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{ {
public class CompositeViewEngineTests public class CompositeViewEngineTests
{ {
private readonly IServiceProvider _services = TestHelper.CreateServices("CompositeViewEngine"); private readonly IServiceProvider _services = TestHelper.CreateServices(nameof(CompositeViewEngineWebSite));
private readonly Action<IApplicationBuilder> _app = new CompositeViewEngine.Startup().Configure; private readonly Action<IApplicationBuilder> _app = new CompositeViewEngineWebSite.Startup().Configure;
[Fact] [Fact]
public async Task CompositeViewEngine_FindsPartialViewsAcrossAllEngines() public async Task CompositeViewEngine_FindsPartialViewsAcrossAllEngines()

View File

@ -7,7 +7,7 @@ using System.Net.Http;
using System.Net.Http.Headers; using System.Net.Http.Headers;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using ConnegWebsite; using ConnegWebSite;
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Builder;
using Microsoft.AspNet.TestHost; using Microsoft.AspNet.TestHost;
using Xunit; using Xunit;
@ -16,7 +16,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{ {
public class ConnegTests public class ConnegTests
{ {
private readonly IServiceProvider _provider = TestHelper.CreateServices("ConnegWebSite"); private readonly IServiceProvider _provider = TestHelper.CreateServices(nameof(ConnegWebSite));
private readonly Action<IApplicationBuilder> _app = new Startup().Configure; private readonly Action<IApplicationBuilder> _app = new Startup().Configure;
[Fact] [Fact]

View File

@ -5,7 +5,7 @@ using System;
using System.Net; using System.Net;
using System.Net.Http.Headers; using System.Net.Http.Headers;
using System.Threading.Tasks; using System.Threading.Tasks;
using ConnegWebsite; using ConnegWebSite;
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Builder;
using Microsoft.AspNet.TestHost; using Microsoft.AspNet.TestHost;
using Xunit; using Xunit;
@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{ {
public class OutputFormatterTest public class OutputFormatterTest
{ {
private readonly IServiceProvider _provider = TestHelper.CreateServices("ConnegWebSite"); private readonly IServiceProvider _provider = TestHelper.CreateServices(nameof(ConnegWebSite));
private readonly Action<IApplicationBuilder> _app = new Startup().Configure; private readonly Action<IApplicationBuilder> _app = new Startup().Configure;
[Theory] [Theory]

View File

@ -5,14 +5,14 @@ using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Builder;
using Microsoft.AspNet.TestHost; using Microsoft.AspNet.TestHost;
using ValueProvidersSite; using ValueProvidersWebSite;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.FunctionalTests namespace Microsoft.AspNet.Mvc.FunctionalTests
{ {
public class ValueProviderTest public class ValueProviderTest
{ {
private readonly IServiceProvider _services = TestHelper.CreateServices("ValueProvidersSite"); private readonly IServiceProvider _services = TestHelper.CreateServices(nameof(ValueProvidersWebSite));
private readonly Action<IApplicationBuilder> _app = new Startup().Configure; private readonly Action<IApplicationBuilder> _app = new Startup().Configure;
[Fact] [Fact]

View File

@ -9,7 +9,7 @@
"ApiExplorerWebSite": "1.0.0", "ApiExplorerWebSite": "1.0.0",
"ApplicationModelWebSite": "1.0.0", "ApplicationModelWebSite": "1.0.0",
"BasicWebSite": "1.0.0", "BasicWebSite": "1.0.0",
"CompositeViewEngine": "1.0.0", "CompositeViewEngineWebSite": "1.0.0",
"ConnegWebSite": "1.0.0", "ConnegWebSite": "1.0.0",
"FilesWebSite": "1.0.0", "FilesWebSite": "1.0.0",
"FiltersWebSite": "1.0.0", "FiltersWebSite": "1.0.0",
@ -25,7 +25,7 @@
"TagHelperSample.Web": "1.0.0", "TagHelperSample.Web": "1.0.0",
"TagHelpersWebSite": "1.0.0", "TagHelpersWebSite": "1.0.0",
"UrlHelperWebSite": "1.0.0", "UrlHelperWebSite": "1.0.0",
"ValueProvidersSite": "1.0.0", "ValueProvidersWebSite": "1.0.0",
"VersioningWebSite": "1.0.0", "VersioningWebSite": "1.0.0",
"ViewComponentWebSite": "1.0.0", "ViewComponentWebSite": "1.0.0",
"XmlSerializerWebSite": "1.0.0", "XmlSerializerWebSite": "1.0.0",

View File

@ -6,7 +6,7 @@ using System.Linq;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Description; using Microsoft.AspNet.Mvc.Description;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
/// <summary> /// <summary>
/// An action filter that looks up and serializes Api Explorer data for the action. /// An action filter that looks up and serializes Api Explorer data for the action.

View File

@ -5,7 +5,7 @@ using System;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.ApplicationModels; using Microsoft.AspNet.Mvc.ApplicationModels;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
// Disables ApiExplorer for a specific controller type. // Disables ApiExplorer for a specific controller type.
// This is part of the test that validates that ApiExplorer can be configured via // This is part of the test that validates that ApiExplorer can be configured via

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc.ApplicationModels; using Microsoft.AspNet.Mvc.ApplicationModels;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
// Enables ApiExplorer for controllers that haven't explicitly configured it. // Enables ApiExplorer for controllers that haven't explicitly configured it.
// This is part of the test that validates that ApiExplorer can be configured via // This is part of the test that validates that ApiExplorer can be configured via

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerHttpMethod")] [Route("ApiExplorerHttpMethod")]
public class ApiExplorerHttpMethodController : Controller public class ApiExplorerHttpMethodController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerNameSetByConvention")] [Route("ApiExplorerNameSetByConvention")]
public class ApiExplorerNameSetByConventionController : Controller public class ApiExplorerNameSetByConventionController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[ApiExplorerSettings(GroupName = "SetOnController")] [ApiExplorerSettings(GroupName = "SetOnController")]
[Route("ApiExplorerNameSetExplicitly")] [Route("ApiExplorerNameSetExplicitly")]

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerResponseContentType/[Action]")] [Route("ApiExplorerResponseContentType/[Action]")]
public class ApiExplorerResponseContentTypeController : Controller public class ApiExplorerResponseContentTypeController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Produces("text/xml")] [Produces("text/xml")]
[Route("ApiExplorerResponseContentTypeOverrideOnAction")] [Route("ApiExplorerResponseContentTypeOverrideOnAction")]

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Produces("*/*", Type = typeof(Product))] [Produces("*/*", Type = typeof(Product))]
[Route("ApiExplorerResponseTypeOverrideOnAction")] [Route("ApiExplorerResponseTypeOverrideOnAction")]

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerResponseTypeWithAttribute/[Action]")] [Route("ApiExplorerResponseTypeWithAttribute/[Action]")]
public class ApiExplorerResponseTypeWithAttributeController : Controller public class ApiExplorerResponseTypeWithAttributeController : Controller

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerResponseTypeWithoutAttribute/[Action]")] [Route("ApiExplorerResponseTypeWithoutAttribute/[Action]")]
public class ApiExplorerResponseTypeWithoutAttributeController : Controller public class ApiExplorerResponseTypeWithoutAttributeController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerRouteAndPathParametersInformation")] [Route("ApiExplorerRouteAndPathParametersInformation")]
public class ApiExplorerRouteAndPathParametersInformationController public class ApiExplorerRouteAndPathParametersInformationController

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerVisbilityDisabledByConvention")] [Route("ApiExplorerVisbilityDisabledByConvention")]
public class ApiExplorerVisbilityDisabledByConventionController : Controller public class ApiExplorerVisbilityDisabledByConventionController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[Route("ApiExplorerVisbilityEnabledByConvention")] [Route("ApiExplorerVisbilityEnabledByConvention")]
public class ApiExplorerVisbilityEnabledByConventionController : Controller public class ApiExplorerVisbilityEnabledByConventionController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
[ApiExplorerSettings(IgnoreApi = true)] [ApiExplorerSettings(IgnoreApi = true)]
[Route("ApiExplorerVisibilitySetExplicitly")] [Route("ApiExplorerVisibilitySetExplicitly")]

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
public class Customer public class Customer
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
public class Product public class Product
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Description; using Microsoft.AspNet.Mvc.Description;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
public class ProducesTypeAttribute : ResultFilterAttribute, IApiResponseMetadataProvider public class ProducesTypeAttribute : ResultFilterAttribute, IApiResponseMetadataProvider
{ {

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace ApiExplorer namespace ApiExplorerWebSite
{ {
public class Startup public class Startup
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace CompositeViewEngine namespace CompositeViewEngineWebSite
{ {
public class HomeController public class HomeController
{ {

View File

@ -5,7 +5,7 @@ using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace CompositeViewEngine namespace CompositeViewEngineWebSite
{ {
public class Startup public class Startup
{ {

View File

@ -5,7 +5,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Mvc.Rendering;
namespace CompositeViewEngine namespace CompositeViewEngineWebSite
{ {
public class TestPartialView : IView public class TestPartialView : IView
{ {

View File

@ -5,7 +5,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Mvc.Rendering;
namespace CompositeViewEngine namespace CompositeViewEngineWebSite
{ {
public class TestView : IView public class TestView : IView
{ {

View File

@ -5,7 +5,7 @@ using System;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Mvc.Rendering;
namespace CompositeViewEngine namespace CompositeViewEngineWebSite
{ {
public class TestViewEngine : IViewEngine public class TestViewEngine : IViewEngine
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class FallbackOnTypeBasedMatchController : Controller public class FallbackOnTypeBasedMatchController : Controller
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class HomeController : Controller public class HomeController : Controller
{ {

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class JsonResultController : Controller public class JsonResultController : Controller
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class NoContentController : Controller public class NoContentController : Controller
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class NoContentDoNotTreatNullValueAsNoContentController : Controller public class NoContentDoNotTreatNullValueAsNoContentController : Controller
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class NoProducesContentOnClassController : ProducesContentBaseController public class NoProducesContentOnClassController : ProducesContentBaseController
{ {

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class NormalController : Controller public class NormalController : Controller
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
[Produces("application/custom_ProducesContentBaseController")] [Produces("application/custom_ProducesContentBaseController")]
public class ProducesContentBaseController : Controller public class ProducesContentBaseController : Controller

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
[Produces("application/custom_ProducesContentOnClassController")] [Produces("application/custom_ProducesContentOnClassController")]
public class ProducesContentOnClassController : ProducesContentBaseController public class ProducesContentOnClassController : ProducesContentBaseController

View File

@ -1,10 +1,10 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ConnegWebsite.Models; using ConnegWebSite.Models;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class ProducesWithMediaTypeParametersController : Controller public class ProducesWithMediaTypeParametersController : Controller
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class TextPlainController : Controller public class TextPlainController : Controller
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class CustomFormatter : OutputFormatter public class CustomFormatter : OutputFormatter
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace ConnegWebsite.Models namespace ConnegWebSite.Models
{ {
public class Contact public class Contact
{ {

View File

@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace ConnegWebsite namespace ConnegWebSite
{ {
[DisplayColumn("Name")] [DisplayColumn("Name")]
public class User public class User

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class PlainTextFormatter : OutputFormatter public class PlainTextFormatter : OutputFormatter
{ {

View File

@ -5,7 +5,7 @@ using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace ConnegWebsite namespace ConnegWebSite
{ {
public class Startup public class Startup
{ {

View File

@ -6,11 +6,11 @@ using System.IO;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using ConnegWebsite.Models; using ConnegWebSite.Models;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ConnegWebsite namespace ConnegWebSite
{ {
/// <summary> /// <summary>
/// Provides contact information of a person through VCard format. /// Provides contact information of a person through VCard format.

View File

@ -6,11 +6,11 @@ using System.IO;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using ConnegWebsite.Models; using ConnegWebSite.Models;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.HeaderValueAbstractions; using Microsoft.AspNet.Mvc.HeaderValueAbstractions;
namespace ConnegWebsite namespace ConnegWebSite
{ {
/// <summary> /// <summary>
/// Provides contact information of a person through VCard format. /// Provides contact information of a person through VCard format.

View File

@ -6,7 +6,7 @@ using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
namespace ValueProvidersSite namespace ValueProvidersWebSite
{ {
public class CustomValueProviderFactory : IValueProviderFactory public class CustomValueProviderFactory : IValueProviderFactory
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace ValueProvidersSite namespace ValueProvidersWebSite
{ {
[Flags] [Flags]
public enum FlagsEnum public enum FlagsEnum

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
namespace ValueProvidersSite namespace ValueProvidersWebSite
{ {
public class HomeController public class HomeController
{ {

View File

@ -5,7 +5,7 @@ using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace ValueProvidersSite namespace ValueProvidersWebSite
{ {
public class Startup public class Startup
{ {