diff --git a/.travis.yml b/.travis.yml index 9086cc32a3..85e366978c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install icu4c; fi env: - - KOREBUILD_DNU_RESTORE_CORECLR=true MONO_THREADS_PER_CPU=2000 MONO_MANAGED_WATCHER=disabled KOREBUILD_TEST_DNXCORE=true NO_PARALLEL_TEST_PROJECTS=Microsoft.AspNet.Mvc.FunctionalTests + - KOREBUILD_DNU_RESTORE_CORECLR=true MONO_THREADS_PER_CPU=2000 MONO_MANAGED_WATCHER=disabled KOREBUILD_TEST_DNXCORE=true NO_PARALLEL_TEST_PROJECTS=Microsoft.AspNetCore.Mvc.FunctionalTests mono: - 4.0.5 os: diff --git a/Mvc.NoFun.sln b/Mvc.NoFun.sln index 32bffbd0f6..cab458c988 100644 --- a/Mvc.NoFun.sln +++ b/Mvc.NoFun.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.24720.0 @@ -9,21 +9,21 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{32285FA4-6B4 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc", "src\Microsoft.AspNet.Mvc\Microsoft.AspNet.Mvc.xproj", "{079EFA1F-0B0A-4853-B27B-5780D111CD85}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc", "src\Microsoft.AspNetCore.Mvc\Microsoft.AspNetCore.Mvc.xproj", "{079EFA1F-0B0A-4853-B27B-5780D111CD85}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor", "src\Microsoft.AspNet.Mvc.Razor\Microsoft.AspNet.Mvc.Razor.xproj", "{314E9AD6-2FFC-4A92-A8AD-510658C64F1E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor", "src\Microsoft.AspNetCore.Mvc.Razor\Microsoft.AspNetCore.Mvc.Razor.xproj", "{314E9AD6-2FFC-4A92-A8AD-510658C64F1E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Core", "src\Microsoft.AspNet.Mvc.Core\Microsoft.AspNet.Mvc.Core.xproj", "{C48DA9D7-ACB5-4408-AA79-27ECB60A67EF}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Core", "src\Microsoft.AspNetCore.Mvc.Core\Microsoft.AspNetCore.Mvc.Core.xproj", "{C48DA9D7-ACB5-4408-AA79-27ECB60A67EF}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Test", "test\Microsoft.AspNet.Mvc.Razor.Test\Microsoft.AspNet.Mvc.Razor.Test.xproj", "{3F6E355E-4869-41D9-943B-D54771221A7F}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Test", "test\Microsoft.AspNetCore.Mvc.Razor.Test\Microsoft.AspNetCore.Mvc.Razor.Test.xproj", "{3F6E355E-4869-41D9-943B-D54771221A7F}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Core.Test", "test\Microsoft.AspNet.Mvc.Core.Test\Microsoft.AspNet.Mvc.Core.Test.xproj", "{A8AA326E-8EE8-4F11-B750-23028E0949D7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Core.Test", "test\Microsoft.AspNetCore.Mvc.Core.Test\Microsoft.AspNetCore.Mvc.Core.Test.xproj", "{A8AA326E-8EE8-4F11-B750-23028E0949D7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Host", "src\Microsoft.AspNet.Mvc.Razor.Host\Microsoft.AspNet.Mvc.Razor.Host.xproj", "{520B3AA4-363A-497C-8C15-80423C5AFC85}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Host", "src\Microsoft.AspNetCore.Mvc.Razor.Host\Microsoft.AspNetCore.Mvc.Razor.Host.xproj", "{520B3AA4-363A-497C-8C15-80423C5AFC85}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Host.Test", "test\Microsoft.AspNet.Mvc.Razor.Host.Test\Microsoft.AspNet.Mvc.Razor.Host.Test.xproj", "{7C4F5973-0491-4028-B1DC-A9BA73FF9F77}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Host.Test", "test\Microsoft.AspNetCore.Mvc.Razor.Host.Test\Microsoft.AspNetCore.Mvc.Razor.Host.Test.xproj", "{7C4F5973-0491-4028-B1DC-A9BA73FF9F77}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Test", "test\Microsoft.AspNet.Mvc.Test\Microsoft.AspNet.Mvc.Test.xproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Test", "test\Microsoft.AspNetCore.Mvc.Test\Microsoft.AspNetCore.Mvc.Test.xproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FAD65E9C-3CF3-4F68-9757-C7358604030B}" ProjectSection(SolutionItems) = preProject @@ -31,55 +31,55 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution NuGetPackageVerifier.json = NuGetPackageVerifier.json EndProjectSection EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.WebApiCompatShim", "src\Microsoft.AspNet.Mvc.WebApiCompatShim\Microsoft.AspNet.Mvc.WebApiCompatShim.xproj", "{23D30B8C-04B1-4577-A604-ED27EA1E4A0E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.WebApiCompatShim", "src\Microsoft.AspNetCore.Mvc.WebApiCompatShim\Microsoft.AspNetCore.Mvc.WebApiCompatShim.xproj", "{23D30B8C-04B1-4577-A604-ED27EA1E4A0E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.WebApiCompatShimTest", "test\Microsoft.AspNet.Mvc.WebApiCompatShimTest\Microsoft.AspNet.Mvc.WebApiCompatShimTest.xproj", "{5DE8E4D9-AACD-4B5F-819F-F091383FB996}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.WebApiCompatShimTest", "test\Microsoft.AspNetCore.Mvc.WebApiCompatShimTest\Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.xproj", "{5DE8E4D9-AACD-4B5F-819F-F091383FB996}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestConfiguration", "test\WebSites\Microsoft.AspNet.Mvc.TestConfiguration\Microsoft.AspNet.Mvc.TestConfiguration.xproj", "{680D75ED-601F-4D86-B01B-1072D0C31B8C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestConfiguration", "test\WebSites\Microsoft.AspNetCore.Mvc.TestConfiguration\Microsoft.AspNetCore.Mvc.TestConfiguration.xproj", "{680D75ED-601F-4D86-B01B-1072D0C31B8C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TagHelpers", "src\Microsoft.AspNet.Mvc.TagHelpers\Microsoft.AspNet.Mvc.TagHelpers.xproj", "{B2347320-308E-4D2B-AEC8-005DFA68B0C9}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TagHelpers", "src\Microsoft.AspNetCore.Mvc.TagHelpers\Microsoft.AspNetCore.Mvc.TagHelpers.xproj", "{B2347320-308E-4D2B-AEC8-005DFA68B0C9}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TagHelperSample.Web", "samples\TagHelperSample.Web\TagHelperSample.Web.xproj", "{2223120F-D675-40DA-8CD8-11DC14A0B2C7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TagHelpers.Test", "test\Microsoft.AspNet.Mvc.TagHelpers.Test\Microsoft.AspNet.Mvc.TagHelpers.Test.xproj", "{860119ED-3DB1-424D-8D0A-30132A8A7D96}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TagHelpers.Test", "test\Microsoft.AspNetCore.Mvc.TagHelpers.Test\Microsoft.AspNetCore.Mvc.TagHelpers.Test.xproj", "{860119ED-3DB1-424D-8D0A-30132A8A7D96}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestCommon", "test\Microsoft.AspNet.Mvc.TestCommon\Microsoft.AspNet.Mvc.TestCommon.xproj", "{F504357E-C2E1-4818-BA5C-9A2EAC25FEE5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestCommon", "test\Microsoft.AspNetCore.Mvc.TestCommon\Microsoft.AspNetCore.Mvc.TestCommon.xproj", "{F504357E-C2E1-4818-BA5C-9A2EAC25FEE5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.IntegrationTests", "test\Microsoft.AspNet.Mvc.IntegrationTests\Microsoft.AspNet.Mvc.IntegrationTests.xproj", "{864FA09D-1E48-403A-A6C8-4F079D2A30F0}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.IntegrationTests", "test\Microsoft.AspNetCore.Mvc.IntegrationTests\Microsoft.AspNetCore.Mvc.IntegrationTests.xproj", "{864FA09D-1E48-403A-A6C8-4F079D2A30F0}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Abstractions", "src\Microsoft.AspNet.Mvc.Abstractions\Microsoft.AspNet.Mvc.Abstractions.xproj", "{1154203C-7579-4525-906E-BC55268421C1}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Abstractions", "src\Microsoft.AspNetCore.Mvc.Abstractions\Microsoft.AspNetCore.Mvc.Abstractions.xproj", "{1154203C-7579-4525-906E-BC55268421C1}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Abstractions.Test", "test\Microsoft.AspNet.Mvc.Abstractions.Test\Microsoft.AspNet.Mvc.Abstractions.Test.xproj", "{DA000953-7532-4DF5-8DB9-8143DF98D999}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Abstractions.Test", "test\Microsoft.AspNetCore.Mvc.Abstractions.Test\Microsoft.AspNetCore.Mvc.Abstractions.Test.xproj", "{DA000953-7532-4DF5-8DB9-8143DF98D999}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ApiExplorer", "src\Microsoft.AspNet.Mvc.ApiExplorer\Microsoft.AspNet.Mvc.ApiExplorer.xproj", "{A2B72833-5D70-4C42-AE85-E0319926FB8A}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ApiExplorer", "src\Microsoft.AspNetCore.Mvc.ApiExplorer\Microsoft.AspNetCore.Mvc.ApiExplorer.xproj", "{A2B72833-5D70-4C42-AE85-E0319926FB8A}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ApiExplorer.Test", "test\Microsoft.AspNet.Mvc.ApiExplorer.Test\Microsoft.AspNet.Mvc.ApiExplorer.Test.xproj", "{4C2AD8AB-8AC0-46C4-80C6-C5577C7255F6}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ApiExplorer.Test", "test\Microsoft.AspNetCore.Mvc.ApiExplorer.Test\Microsoft.AspNetCore.Mvc.ApiExplorer.Test.xproj", "{4C2AD8AB-8AC0-46C4-80C6-C5577C7255F6}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ViewFeatures", "src\Microsoft.AspNet.Mvc.ViewFeatures\Microsoft.AspNet.Mvc.ViewFeatures.xproj", "{3F8B8FC1-9FE4-4788-8991-367113E8D7AD}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ViewFeatures", "src\Microsoft.AspNetCore.Mvc.ViewFeatures\Microsoft.AspNetCore.Mvc.ViewFeatures.xproj", "{3F8B8FC1-9FE4-4788-8991-367113E8D7AD}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ViewFeatures.Test", "test\Microsoft.AspNet.Mvc.ViewFeatures.Test\Microsoft.AspNet.Mvc.ViewFeatures.Test.xproj", "{60873DFA-97B9-419E-BAA3-940FC9B07085}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ViewFeatures.Test", "test\Microsoft.AspNetCore.Mvc.ViewFeatures.Test\Microsoft.AspNetCore.Mvc.ViewFeatures.Test.xproj", "{60873DFA-97B9-419E-BAA3-940FC9B07085}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Json", "src\Microsoft.AspNet.Mvc.Formatters.Json\Microsoft.AspNet.Mvc.Formatters.Json.xproj", "{3FC8D9D6-9352-43A3-8E81-422F270085B7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Json", "src\Microsoft.AspNetCore.Mvc.Formatters.Json\Microsoft.AspNetCore.Mvc.Formatters.Json.xproj", "{3FC8D9D6-9352-43A3-8E81-422F270085B7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Json.Test", "test\Microsoft.AspNet.Mvc.Formatters.Json.Test\Microsoft.AspNet.Mvc.Formatters.Json.Test.xproj", "{493780DA-E696-40FF-BD12-4A5C5736F292}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Json.Test", "test\Microsoft.AspNetCore.Mvc.Formatters.Json.Test\Microsoft.AspNetCore.Mvc.Formatters.Json.Test.xproj", "{493780DA-E696-40FF-BD12-4A5C5736F292}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Xml", "src\Microsoft.AspNet.Mvc.Formatters.Xml\Microsoft.AspNet.Mvc.Formatters.Xml.xproj", "{42C81540-CD47-4C68-A7A3-2A93B9C3B210}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Xml", "src\Microsoft.AspNetCore.Mvc.Formatters.Xml\Microsoft.AspNetCore.Mvc.Formatters.Xml.xproj", "{42C81540-CD47-4C68-A7A3-2A93B9C3B210}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Xml.Test", "test\Microsoft.AspNet.Mvc.Formatters.Xml.Test\Microsoft.AspNet.Mvc.Formatters.Xml.Test.xproj", "{22019146-BDFA-442E-8C8E-345FB9644578}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Xml.Test", "test\Microsoft.AspNetCore.Mvc.Formatters.Xml.Test\Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.xproj", "{22019146-BDFA-442E-8C8E-345FB9644578}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Cors", "src\Microsoft.AspNet.Mvc.Cors\Microsoft.AspNet.Mvc.Cors.xproj", "{9A07EEA2-942E-4969-9D41-799B6E2D1FF5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Cors", "src\Microsoft.AspNetCore.Mvc.Cors\Microsoft.AspNetCore.Mvc.Cors.xproj", "{9A07EEA2-942E-4969-9D41-799B6E2D1FF5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.DataAnnotations", "src\Microsoft.AspNet.Mvc.DataAnnotations\Microsoft.AspNet.Mvc.DataAnnotations.xproj", "{2DD786CA-7AF7-437A-B499-801A589B9A1C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.DataAnnotations", "src\Microsoft.AspNetCore.Mvc.DataAnnotations\Microsoft.AspNetCore.Mvc.DataAnnotations.xproj", "{2DD786CA-7AF7-437A-B499-801A589B9A1C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Cors.Test", "test\Microsoft.AspNet.Mvc.Cors.Test\Microsoft.AspNet.Mvc.Cors.Test.xproj", "{6BB4C20B-24C0-45D6-9E4C-C2620959BDD5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Cors.Test", "test\Microsoft.AspNetCore.Mvc.Cors.Test\Microsoft.AspNetCore.Mvc.Cors.Test.xproj", "{6BB4C20B-24C0-45D6-9E4C-C2620959BDD5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.DataAnnotations.Test", "test\Microsoft.AspNet.Mvc.DataAnnotations.Test\Microsoft.AspNet.Mvc.DataAnnotations.Test.xproj", "{827DBBCB-F3A9-4BAD-8262-4BD43E28EB3B}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.DataAnnotations.Test", "test\Microsoft.AspNetCore.Mvc.DataAnnotations.Test\Microsoft.AspNetCore.Mvc.DataAnnotations.Test.xproj", "{827DBBCB-F3A9-4BAD-8262-4BD43E28EB3B}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Localization", "src\Microsoft.AspNet.Mvc.Localization\Microsoft.AspNet.Mvc.Localization.xproj", "{50893B10-5735-4F35-9995-F81DA3F0189E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Localization", "src\Microsoft.AspNetCore.Mvc.Localization\Microsoft.AspNetCore.Mvc.Localization.xproj", "{50893B10-5735-4F35-9995-F81DA3F0189E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Localization.Test", "test\Microsoft.AspNet.Mvc.Localization.Test\Microsoft.AspNet.Mvc.Localization.Test.xproj", "{8FC726B5-E766-44E0-8B38-1313B6D8D9A7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Localization.Test", "test\Microsoft.AspNetCore.Mvc.Localization.Test\Microsoft.AspNetCore.Mvc.Localization.Test.xproj", "{8FC726B5-E766-44E0-8B38-1313B6D8D9A7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources", "test\Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources\Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources.xproj", "{9879B5D5-2325-4A81-B4DF-F279FE8FEEB4}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources", "test\Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources\Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj", "{9879B5D5-2325-4A81-B4DF-F279FE8FEEB4}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MvcSandbox", "samples\MvcSandbox\MvcSandbox.xproj", "{14ED4476-9F24-4776-8417-EA6927F6C9C9}" EndProject diff --git a/Mvc.sln b/Mvc.sln index 3da9083a0e..0fb0a89ab9 100644 --- a/Mvc.sln +++ b/Mvc.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.24720.0 @@ -9,31 +9,31 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{32285FA4-6B4 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{3BA657BF-28B1-42DA-B5B0-1C4601FCF7B1}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc", "src\Microsoft.AspNet.Mvc\Microsoft.AspNet.Mvc.xproj", "{079EFA1F-0B0A-4853-B27B-5780D111CD85}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc", "src\Microsoft.AspNetCore.Mvc\Microsoft.AspNetCore.Mvc.xproj", "{079EFA1F-0B0A-4853-B27B-5780D111CD85}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor", "src\Microsoft.AspNet.Mvc.Razor\Microsoft.AspNet.Mvc.Razor.xproj", "{314E9AD6-2FFC-4A92-A8AD-510658C64F1E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor", "src\Microsoft.AspNetCore.Mvc.Razor\Microsoft.AspNetCore.Mvc.Razor.xproj", "{314E9AD6-2FFC-4A92-A8AD-510658C64F1E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Core", "src\Microsoft.AspNet.Mvc.Core\Microsoft.AspNet.Mvc.Core.xproj", "{C48DA9D7-ACB5-4408-AA79-27ECB60A67EF}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Core", "src\Microsoft.AspNetCore.Mvc.Core\Microsoft.AspNetCore.Mvc.Core.xproj", "{C48DA9D7-ACB5-4408-AA79-27ECB60A67EF}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Test", "test\Microsoft.AspNet.Mvc.Razor.Test\Microsoft.AspNet.Mvc.Razor.Test.xproj", "{3F6E355E-4869-41D9-943B-D54771221A7F}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Test", "test\Microsoft.AspNetCore.Mvc.Razor.Test\Microsoft.AspNetCore.Mvc.Razor.Test.xproj", "{3F6E355E-4869-41D9-943B-D54771221A7F}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Core.Test", "test\Microsoft.AspNet.Mvc.Core.Test\Microsoft.AspNet.Mvc.Core.Test.xproj", "{A8AA326E-8EE8-4F11-B750-23028E0949D7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Core.Test", "test\Microsoft.AspNetCore.Mvc.Core.Test\Microsoft.AspNetCore.Mvc.Core.Test.xproj", "{A8AA326E-8EE8-4F11-B750-23028E0949D7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Host", "src\Microsoft.AspNet.Mvc.Razor.Host\Microsoft.AspNet.Mvc.Razor.Host.xproj", "{520B3AA4-363A-497C-8C15-80423C5AFC85}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Host", "src\Microsoft.AspNetCore.Mvc.Razor.Host\Microsoft.AspNetCore.Mvc.Razor.Host.xproj", "{520B3AA4-363A-497C-8C15-80423C5AFC85}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Razor.Host.Test", "test\Microsoft.AspNet.Mvc.Razor.Host.Test\Microsoft.AspNet.Mvc.Razor.Host.Test.xproj", "{7C4F5973-0491-4028-B1DC-A9BA73FF9F77}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Razor.Host.Test", "test\Microsoft.AspNetCore.Mvc.Razor.Host.Test\Microsoft.AspNetCore.Mvc.Razor.Host.Test.xproj", "{7C4F5973-0491-4028-B1DC-A9BA73FF9F77}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebSites", "WebSites", "{16703B76-C9F7-4C75-AE6C-53D92E308E3C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.FunctionalTests", "test\Microsoft.AspNet.Mvc.FunctionalTests\Microsoft.AspNet.Mvc.FunctionalTests.xproj", "{323D0C04-B518-4A8F-8A8E-3546AD153D34}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.FunctionalTests", "test\Microsoft.AspNetCore.Mvc.FunctionalTests\Microsoft.AspNetCore.Mvc.FunctionalTests.xproj", "{323D0C04-B518-4A8F-8A8E-3546AD153D34}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BasicWebSite", "test\WebSites\BasicWebSite\BasicWebSite.xproj", "{34DF1487-12C6-476C-BE0A-F31DF1939AE5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestConfiguration", "test\WebSites\Microsoft.AspNet.Mvc.TestConfiguration\Microsoft.AspNet.Mvc.TestConfiguration.xproj", "{680D75ED-601F-4D86-B01B-1072D0C31B8C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestConfiguration", "test\WebSites\Microsoft.AspNetCore.Mvc.TestConfiguration\Microsoft.AspNetCore.Mvc.TestConfiguration.xproj", "{680D75ED-601F-4D86-B01B-1072D0C31B8C}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RoutingWebSite", "test\WebSites\RoutingWebSite\RoutingWebSite.xproj", "{42CDBF4A-E238-4C0F-A416-44588363EB4C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Test", "test\Microsoft.AspNet.Mvc.Test\Microsoft.AspNet.Mvc.Test.xproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Test", "test\Microsoft.AspNetCore.Mvc.Test\Microsoft.AspNetCore.Mvc.Test.xproj", "{5F945B82-FE5F-425C-956C-8BC2F2020254}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RazorWebSite", "test\WebSites\RazorWebSite\RazorWebSite.xproj", "{B07CAF59-11ED-40E3-A5DB-E1178F84FA78}" EndProject @@ -58,17 +58,17 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RazorPageExecutionInstrumen EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ApplicationModelWebSite", "test\WebSites\ApplicationModelWebSite\ApplicationModelWebSite.xproj", "{CAE52CB7-0FAC-4B5B-8251-B0FF837DB657}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.WebApiCompatShim", "src\Microsoft.AspNet.Mvc.WebApiCompatShim\Microsoft.AspNet.Mvc.WebApiCompatShim.xproj", "{23D30B8C-04B1-4577-A604-ED27EA1E4A0E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.WebApiCompatShim", "src\Microsoft.AspNetCore.Mvc.WebApiCompatShim\Microsoft.AspNetCore.Mvc.WebApiCompatShim.xproj", "{23D30B8C-04B1-4577-A604-ED27EA1E4A0E}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "WebApiCompatShimWebSite", "test\WebSites\WebApiCompatShimWebSite\WebApiCompatShimWebSite.xproj", "{B2B7BC91-688E-4C1E-A71F-CE948D958DDF}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.WebApiCompatShimTest", "test\Microsoft.AspNet.Mvc.WebApiCompatShimTest\Microsoft.AspNet.Mvc.WebApiCompatShimTest.xproj", "{5DE8E4D9-AACD-4B5F-819F-F091383FB996}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.WebApiCompatShimTest", "test\Microsoft.AspNetCore.Mvc.WebApiCompatShimTest\Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.xproj", "{5DE8E4D9-AACD-4B5F-819F-F091383FB996}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TagHelperSample.Web", "samples\TagHelperSample.Web\TagHelperSample.Web.xproj", "{2223120F-D675-40DA-8CD8-11DC14A0B2C7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TagHelpers", "src\Microsoft.AspNet.Mvc.TagHelpers\Microsoft.AspNet.Mvc.TagHelpers.xproj", "{B2347320-308E-4D2B-AEC8-005DFA68B0C9}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TagHelpers", "src\Microsoft.AspNetCore.Mvc.TagHelpers\Microsoft.AspNetCore.Mvc.TagHelpers.xproj", "{B2347320-308E-4D2B-AEC8-005DFA68B0C9}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TagHelpers.Test", "test\Microsoft.AspNet.Mvc.TagHelpers.Test\Microsoft.AspNet.Mvc.TagHelpers.Test.xproj", "{860119ED-3DB1-424D-8D0A-30132A8A7D96}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TagHelpers.Test", "test\Microsoft.AspNetCore.Mvc.TagHelpers.Test\Microsoft.AspNetCore.Mvc.TagHelpers.Test.xproj", "{860119ED-3DB1-424D-8D0A-30132A8A7D96}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HtmlGenerationWebSite", "test\WebSites\HtmlGenerationWebSite\HtmlGenerationWebSite.xproj", "{920F8A0E-6F7D-4BBE-84FF-840B89099BE6}" EndProject @@ -82,45 +82,45 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ControllersFromServicesClas EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "UserClassLibrary", "test\WebSites\UserClassLibrary\UserClassLibrary.xproj", "{C651F432-4EBE-41A6-BAD2-3E07CCBA209C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestCommon", "test\Microsoft.AspNet.Mvc.TestCommon\Microsoft.AspNet.Mvc.TestCommon.xproj", "{F504357E-C2E1-4818-BA5C-9A2EAC25FEE5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestCommon", "test\Microsoft.AspNetCore.Mvc.TestCommon\Microsoft.AspNetCore.Mvc.TestCommon.xproj", "{F504357E-C2E1-4818-BA5C-9A2EAC25FEE5}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CorsWebSite", "test\WebSites\CorsWebSite\CorsWebSite.xproj", "{94BA134D-04B3-48AA-BA55-5A4DB8640F2D}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.IntegrationTests", "test\Microsoft.AspNet.Mvc.IntegrationTests\Microsoft.AspNet.Mvc.IntegrationTests.xproj", "{864FA09D-1E48-403A-A6C8-4F079D2A30F0}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.IntegrationTests", "test\Microsoft.AspNetCore.Mvc.IntegrationTests\Microsoft.AspNetCore.Mvc.IntegrationTests.xproj", "{864FA09D-1E48-403A-A6C8-4F079D2A30F0}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Abstractions", "src\Microsoft.AspNet.Mvc.Abstractions\Microsoft.AspNet.Mvc.Abstractions.xproj", "{1154203C-7579-4525-906E-BC55268421C1}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Abstractions", "src\Microsoft.AspNetCore.Mvc.Abstractions\Microsoft.AspNetCore.Mvc.Abstractions.xproj", "{1154203C-7579-4525-906E-BC55268421C1}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ApiExplorer", "src\Microsoft.AspNet.Mvc.ApiExplorer\Microsoft.AspNet.Mvc.ApiExplorer.xproj", "{A2B72833-5D70-4C42-AE85-E0319926FB8A}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ApiExplorer", "src\Microsoft.AspNetCore.Mvc.ApiExplorer\Microsoft.AspNetCore.Mvc.ApiExplorer.xproj", "{A2B72833-5D70-4C42-AE85-E0319926FB8A}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ApiExplorer.Test", "test\Microsoft.AspNet.Mvc.ApiExplorer.Test\Microsoft.AspNet.Mvc.ApiExplorer.Test.xproj", "{4C2AD8AB-8AC0-46C4-80C6-C5577C7255F6}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ApiExplorer.Test", "test\Microsoft.AspNetCore.Mvc.ApiExplorer.Test\Microsoft.AspNetCore.Mvc.ApiExplorer.Test.xproj", "{4C2AD8AB-8AC0-46C4-80C6-C5577C7255F6}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Abstractions.Test", "test\Microsoft.AspNet.Mvc.Abstractions.Test\Microsoft.AspNet.Mvc.Abstractions.Test.xproj", "{DA000953-7532-4DF5-8DB9-8143DF98D999}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Abstractions.Test", "test\Microsoft.AspNetCore.Mvc.Abstractions.Test\Microsoft.AspNetCore.Mvc.Abstractions.Test.xproj", "{DA000953-7532-4DF5-8DB9-8143DF98D999}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ViewFeatures", "src\Microsoft.AspNet.Mvc.ViewFeatures\Microsoft.AspNet.Mvc.ViewFeatures.xproj", "{3F8B8FC1-9FE4-4788-8991-367113E8D7AD}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ViewFeatures", "src\Microsoft.AspNetCore.Mvc.ViewFeatures\Microsoft.AspNetCore.Mvc.ViewFeatures.xproj", "{3F8B8FC1-9FE4-4788-8991-367113E8D7AD}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Json", "src\Microsoft.AspNet.Mvc.Formatters.Json\Microsoft.AspNet.Mvc.Formatters.Json.xproj", "{3FC8D9D6-9352-43A3-8E81-422F270085B7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Json", "src\Microsoft.AspNetCore.Mvc.Formatters.Json\Microsoft.AspNetCore.Mvc.Formatters.Json.xproj", "{3FC8D9D6-9352-43A3-8E81-422F270085B7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Xml", "src\Microsoft.AspNet.Mvc.Formatters.Xml\Microsoft.AspNet.Mvc.Formatters.Xml.xproj", "{42C81540-CD47-4C68-A7A3-2A93B9C3B210}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Xml", "src\Microsoft.AspNetCore.Mvc.Formatters.Xml\Microsoft.AspNetCore.Mvc.Formatters.Xml.xproj", "{42C81540-CD47-4C68-A7A3-2A93B9C3B210}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Json.Test", "test\Microsoft.AspNet.Mvc.Formatters.Json.Test\Microsoft.AspNet.Mvc.Formatters.Json.Test.xproj", "{493780DA-E696-40FF-BD12-4A5C5736F292}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Json.Test", "test\Microsoft.AspNetCore.Mvc.Formatters.Json.Test\Microsoft.AspNetCore.Mvc.Formatters.Json.Test.xproj", "{493780DA-E696-40FF-BD12-4A5C5736F292}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Formatters.Xml.Test", "test\Microsoft.AspNet.Mvc.Formatters.Xml.Test\Microsoft.AspNet.Mvc.Formatters.Xml.Test.xproj", "{22019146-BDFA-442E-8C8E-345FB9644578}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Formatters.Xml.Test", "test\Microsoft.AspNetCore.Mvc.Formatters.Xml.Test\Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.xproj", "{22019146-BDFA-442E-8C8E-345FB9644578}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Cors", "src\Microsoft.AspNet.Mvc.Cors\Microsoft.AspNet.Mvc.Cors.xproj", "{9A07EEA2-942E-4969-9D41-799B6E2D1FF5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Cors", "src\Microsoft.AspNetCore.Mvc.Cors\Microsoft.AspNetCore.Mvc.Cors.xproj", "{9A07EEA2-942E-4969-9D41-799B6E2D1FF5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.DataAnnotations", "src\Microsoft.AspNet.Mvc.DataAnnotations\Microsoft.AspNet.Mvc.DataAnnotations.xproj", "{2DD786CA-7AF7-437A-B499-801A589B9A1C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.DataAnnotations", "src\Microsoft.AspNetCore.Mvc.DataAnnotations\Microsoft.AspNetCore.Mvc.DataAnnotations.xproj", "{2DD786CA-7AF7-437A-B499-801A589B9A1C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Cors.Test", "test\Microsoft.AspNet.Mvc.Cors.Test\Microsoft.AspNet.Mvc.Cors.Test.xproj", "{6BB4C20B-24C0-45D6-9E4C-C2620959BDD5}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Cors.Test", "test\Microsoft.AspNetCore.Mvc.Cors.Test\Microsoft.AspNetCore.Mvc.Cors.Test.xproj", "{6BB4C20B-24C0-45D6-9E4C-C2620959BDD5}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.DataAnnotations.Test", "test\Microsoft.AspNet.Mvc.DataAnnotations.Test\Microsoft.AspNet.Mvc.DataAnnotations.Test.xproj", "{827DBBCB-F3A9-4BAD-8262-4BD43E28EB3B}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.DataAnnotations.Test", "test\Microsoft.AspNetCore.Mvc.DataAnnotations.Test\Microsoft.AspNetCore.Mvc.DataAnnotations.Test.xproj", "{827DBBCB-F3A9-4BAD-8262-4BD43E28EB3B}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.ViewFeatures.Test", "test\Microsoft.AspNet.Mvc.ViewFeatures.Test\Microsoft.AspNet.Mvc.ViewFeatures.Test.xproj", "{60873DFA-97B9-419E-BAA3-940FC9B07085}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.ViewFeatures.Test", "test\Microsoft.AspNetCore.Mvc.ViewFeatures.Test\Microsoft.AspNetCore.Mvc.ViewFeatures.Test.xproj", "{60873DFA-97B9-419E-BAA3-940FC9B07085}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Localization", "src\Microsoft.AspNet.Mvc.Localization\Microsoft.AspNet.Mvc.Localization.xproj", "{50893B10-5735-4F35-9995-F81DA3F0189E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Localization", "src\Microsoft.AspNetCore.Mvc.Localization\Microsoft.AspNetCore.Mvc.Localization.xproj", "{50893B10-5735-4F35-9995-F81DA3F0189E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Localization.Test", "test\Microsoft.AspNet.Mvc.Localization.Test\Microsoft.AspNet.Mvc.Localization.Test.xproj", "{8FC726B5-E766-44E0-8B38-1313B6D8D9A7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Localization.Test", "test\Microsoft.AspNetCore.Mvc.Localization.Test\Microsoft.AspNetCore.Mvc.Localization.Test.xproj", "{8FC726B5-E766-44E0-8B38-1313B6D8D9A7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources", "test\Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources\Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources.xproj", "{9879B5D5-2325-4A81-B4DF-F279FE8FEEB4}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources", "test\Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources\Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj", "{9879B5D5-2325-4A81-B4DF-F279FE8FEEB4}" EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MvcSandbox", "samples\MvcSandbox\MvcSandbox.xproj", "{14ED4476-9F24-4776-8417-EA6927F6C9C9}" EndProject diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json index 56143bbd97..d77ace68be 100644 --- a/NuGetPackageVerifier.json +++ b/NuGetPackageVerifier.json @@ -9,20 +9,20 @@ "StrictSemanticVersionValidationRule" ], "packages": { - "Microsoft.AspNet.Mvc": { }, - "Microsoft.AspNet.Mvc.Abstractions": { }, - "Microsoft.AspNet.Mvc.ApiExplorer": { }, - "Microsoft.AspNet.Mvc.Core": { }, - "Microsoft.AspNet.Mvc.Cors": { }, - "Microsoft.AspNet.Mvc.DataAnnotations": { }, - "Microsoft.AspNet.Mvc.Formatters.Json": { }, - "Microsoft.AspNet.Mvc.Formatters.Xml": { }, - "Microsoft.AspNet.Mvc.Localization": { }, - "Microsoft.AspNet.Mvc.Razor": { }, - "Microsoft.AspNet.Mvc.Razor.Host": { }, - "Microsoft.AspNet.Mvc.TagHelpers": { }, - "Microsoft.AspNet.Mvc.ViewFeatures": { }, - "Microsoft.AspNet.Mvc.WebApiCompatShim": { } + "Microsoft.AspNetCore.Mvc": { }, + "Microsoft.AspNetCore.Mvc.Abstractions": { }, + "Microsoft.AspNetCore.Mvc.ApiExplorer": { }, + "Microsoft.AspNetCore.Mvc.Core": { }, + "Microsoft.AspNetCore.Mvc.Cors": { }, + "Microsoft.AspNetCore.Mvc.DataAnnotations": { }, + "Microsoft.AspNetCore.Mvc.Formatters.Json": { }, + "Microsoft.AspNetCore.Mvc.Formatters.Xml": { }, + "Microsoft.AspNetCore.Mvc.Localization": { }, + "Microsoft.AspNetCore.Mvc.Razor": { }, + "Microsoft.AspNetCore.Mvc.Razor.Host": { }, + "Microsoft.AspNetCore.Mvc.TagHelpers": { }, + "Microsoft.AspNetCore.Mvc.ViewFeatures": { }, + "Microsoft.AspNetCore.Mvc.WebApiCompatShim": { } } }, "Default": { // Rules to run for packages not listed in any other set. diff --git a/samples/ActionConstraintSample.Web/Controllers/ItemsController.cs b/samples/ActionConstraintSample.Web/Controllers/ItemsController.cs index 5a1eec61cd..2e494b2bec 100644 --- a/samples/ActionConstraintSample.Web/Controllers/ItemsController.cs +++ b/samples/ActionConstraintSample.Web/Controllers/ItemsController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ActionConstraintSample.Web.Controllers { diff --git a/samples/ActionConstraintSample.Web/Controllers/US/ItemsController.cs b/samples/ActionConstraintSample.Web/Controllers/US/ItemsController.cs index 7115344753..844888d053 100644 --- a/samples/ActionConstraintSample.Web/Controllers/US/ItemsController.cs +++ b/samples/ActionConstraintSample.Web/Controllers/US/ItemsController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ActionConstraintSample.Web.Controllers.US { diff --git a/samples/ActionConstraintSample.Web/CountrySpecificAttribute.cs b/samples/ActionConstraintSample.Web/CountrySpecificAttribute.cs index 5b7784fdf7..4c19ad56c1 100644 --- a/samples/ActionConstraintSample.Web/CountrySpecificAttribute.cs +++ b/samples/ActionConstraintSample.Web/CountrySpecificAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Routing; namespace ActionConstraintSample.Web { diff --git a/samples/ActionConstraintSample.Web/Startup.cs b/samples/ActionConstraintSample.Web/Startup.cs index 843881cc05..d54d62c1b7 100644 --- a/samples/ActionConstraintSample.Web/Startup.cs +++ b/samples/ActionConstraintSample.Web/Startup.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace ActionConstraintSample.Web diff --git a/samples/ActionConstraintSample.Web/hosting.json b/samples/ActionConstraintSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/ActionConstraintSample.Web/hosting.json +++ b/samples/ActionConstraintSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/ActionConstraintSample.Web/project.json b/samples/ActionConstraintSample.Web/project.json index 230e1556f4..f52e945742 100644 --- a/samples/ActionConstraintSample.Web/project.json +++ b/samples/ActionConstraintSample.Web/project.json @@ -1,4 +1,4 @@ -{ +{ "compilationOptions": { "emitEntryPoint": true }, @@ -6,9 +6,9 @@ "web": "ActionConstraintSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/CustomRouteSample.Web/Controllers/Canada/ProductsController.cs b/samples/CustomRouteSample.Web/Controllers/Canada/ProductsController.cs index d77dcb5b23..8a89e33ac7 100644 --- a/samples/CustomRouteSample.Web/Controllers/Canada/ProductsController.cs +++ b/samples/CustomRouteSample.Web/Controllers/Canada/ProductsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace CustomRouteSample.Web.Controllers.Canada { diff --git a/samples/CustomRouteSample.Web/Controllers/OrdersControlller.cs b/samples/CustomRouteSample.Web/Controllers/OrdersControlller.cs index 701becaf38..f820852473 100644 --- a/samples/CustomRouteSample.Web/Controllers/OrdersControlller.cs +++ b/samples/CustomRouteSample.Web/Controllers/OrdersControlller.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace CustomRouteSample.Web.Controllers { diff --git a/samples/CustomRouteSample.Web/Controllers/Spain/ProductsController.cs b/samples/CustomRouteSample.Web/Controllers/Spain/ProductsController.cs index 8c0a2a87c5..e3a9772f53 100644 --- a/samples/CustomRouteSample.Web/Controllers/Spain/ProductsController.cs +++ b/samples/CustomRouteSample.Web/Controllers/Spain/ProductsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace CustomRouteSample.Web.Controllers.Spain { diff --git a/samples/CustomRouteSample.Web/Controllers/US/ProductsController.cs b/samples/CustomRouteSample.Web/Controllers/US/ProductsController.cs index 74e83fa610..9f3ab1f21e 100644 --- a/samples/CustomRouteSample.Web/Controllers/US/ProductsController.cs +++ b/samples/CustomRouteSample.Web/Controllers/US/ProductsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace CustomRouteSample.Web.Controllers.US { diff --git a/samples/CustomRouteSample.Web/LocaleAttribute.cs b/samples/CustomRouteSample.Web/LocaleAttribute.cs index ae483e95ee..48f7df69e8 100644 --- a/samples/CustomRouteSample.Web/LocaleAttribute.cs +++ b/samples/CustomRouteSample.Web/LocaleAttribute.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace CustomRouteSample.Web { diff --git a/samples/CustomRouteSample.Web/LocalizedRoute.cs b/samples/CustomRouteSample.Web/LocalizedRoute.cs index 992c8f8e09..6fc98fb260 100644 --- a/samples/CustomRouteSample.Web/LocalizedRoute.cs +++ b/samples/CustomRouteSample.Web/LocalizedRoute.cs @@ -4,8 +4,8 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Routing; namespace CustomRouteSample.Web { diff --git a/samples/CustomRouteSample.Web/Startup.cs b/samples/CustomRouteSample.Web/Startup.cs index 65ae3a0bdf..a2ce5c18ce 100644 --- a/samples/CustomRouteSample.Web/Startup.cs +++ b/samples/CustomRouteSample.Web/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace CustomRouteSample.Web diff --git a/samples/CustomRouteSample.Web/hosting.json b/samples/CustomRouteSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/CustomRouteSample.Web/hosting.json +++ b/samples/CustomRouteSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/CustomRouteSample.Web/project.json b/samples/CustomRouteSample.Web/project.json index d778a4fdf2..90a6ea33d0 100644 --- a/samples/CustomRouteSample.Web/project.json +++ b/samples/CustomRouteSample.Web/project.json @@ -6,9 +6,9 @@ "web": "CustomRouteSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/EmbeddedViewSample.Web/Controllers/AdminController.cs b/samples/EmbeddedViewSample.Web/Controllers/AdminController.cs index 4c78b0c0c7..0baec4a36d 100644 --- a/samples/EmbeddedViewSample.Web/Controllers/AdminController.cs +++ b/samples/EmbeddedViewSample.Web/Controllers/AdminController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace EmbeddedViewSample.Web.Controllers { diff --git a/samples/EmbeddedViewSample.Web/Controllers/HomeController.cs b/samples/EmbeddedViewSample.Web/Controllers/HomeController.cs index ba08130083..fe32363d9a 100644 --- a/samples/EmbeddedViewSample.Web/Controllers/HomeController.cs +++ b/samples/EmbeddedViewSample.Web/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace EmbeddedViewSample.Web { diff --git a/samples/EmbeddedViewSample.Web/Startup.cs b/samples/EmbeddedViewSample.Web/Startup.cs index f085977410..27ab145d1b 100644 --- a/samples/EmbeddedViewSample.Web/Startup.cs +++ b/samples/EmbeddedViewSample.Web/Startup.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; diff --git a/samples/EmbeddedViewSample.Web/hosting.json b/samples/EmbeddedViewSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/EmbeddedViewSample.Web/hosting.json +++ b/samples/EmbeddedViewSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/EmbeddedViewSample.Web/project.json b/samples/EmbeddedViewSample.Web/project.json index c9b39338c5..2153c4d66f 100644 --- a/samples/EmbeddedViewSample.Web/project.json +++ b/samples/EmbeddedViewSample.Web/project.json @@ -7,9 +7,9 @@ }, "resource": "EmbeddedResources/**", "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*" }, "frameworks": { diff --git a/samples/FormatFilterSample.Web/Controllers/FormatFilterController.cs b/samples/FormatFilterSample.Web/Controllers/FormatFilterController.cs index 2c9a01bb26..27c86ce138 100644 --- a/samples/FormatFilterSample.Web/Controllers/FormatFilterController.cs +++ b/samples/FormatFilterSample.Web/Controllers/FormatFilterController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatFilterSample.Web { diff --git a/samples/FormatFilterSample.Web/Controllers/ProducesOverrideClass.cs b/samples/FormatFilterSample.Web/Controllers/ProducesOverrideClass.cs index c592c99cce..3aab441981 100644 --- a/samples/FormatFilterSample.Web/Controllers/ProducesOverrideClass.cs +++ b/samples/FormatFilterSample.Web/Controllers/ProducesOverrideClass.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatFilterSample.Web { diff --git a/samples/FormatFilterSample.Web/CustomFormatter.cs b/samples/FormatFilterSample.Web/CustomFormatter.cs index ed915cb37c..c98c3c5228 100644 --- a/samples/FormatFilterSample.Web/CustomFormatter.cs +++ b/samples/FormatFilterSample.Web/CustomFormatter.cs @@ -3,8 +3,8 @@ using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace FormatFilterSample.Web diff --git a/samples/FormatFilterSample.Web/Startup.cs b/samples/FormatFilterSample.Web/Startup.cs index 9f8413f276..f515f3fce3 100644 --- a/samples/FormatFilterSample.Web/Startup.cs +++ b/samples/FormatFilterSample.Web/Startup.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; diff --git a/samples/FormatFilterSample.Web/hosting.json b/samples/FormatFilterSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/FormatFilterSample.Web/hosting.json +++ b/samples/FormatFilterSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/FormatFilterSample.Web/project.json b/samples/FormatFilterSample.Web/project.json index 13b5a6556d..7ef0146691 100644 --- a/samples/FormatFilterSample.Web/project.json +++ b/samples/FormatFilterSample.Web/project.json @@ -6,10 +6,10 @@ "web": "FormatFilterSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme10Constraint.cs b/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme10Constraint.cs index 21099be0df..26a68ef656 100644 --- a/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme10Constraint.cs +++ b/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme10Constraint.cs @@ -4,8 +4,8 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Routing; namespace InlineConstraintSample.Web.Constraints { diff --git a/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme13Constraint.cs b/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme13Constraint.cs index e10e77b71d..c7647462cc 100644 --- a/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme13Constraint.cs +++ b/samples/InlineConstraintSample.Web/Constraints/IsbnDigitScheme13Constraint.cs @@ -4,8 +4,8 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Routing; namespace InlineConstraintSample.Web.Constraints { diff --git a/samples/InlineConstraintSample.Web/Controllers/HomeController.cs b/samples/InlineConstraintSample.Web/Controllers/HomeController.cs index 0f7b332da2..5d5e906fde 100644 --- a/samples/InlineConstraintSample.Web/Controllers/HomeController.cs +++ b/samples/InlineConstraintSample.Web/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Controllers/Isbn10Controller.cs b/samples/InlineConstraintSample.Web/Controllers/Isbn10Controller.cs index c83f7a87a1..26ff0f0f36 100644 --- a/samples/InlineConstraintSample.Web/Controllers/Isbn10Controller.cs +++ b/samples/InlineConstraintSample.Web/Controllers/Isbn10Controller.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Controllers/Isbn13Controller.cs b/samples/InlineConstraintSample.Web/Controllers/Isbn13Controller.cs index ff3fb87602..ad267592df 100644 --- a/samples/InlineConstraintSample.Web/Controllers/Isbn13Controller.cs +++ b/samples/InlineConstraintSample.Web/Controllers/Isbn13Controller.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Controllers/ProductsController.cs b/samples/InlineConstraintSample.Web/Controllers/ProductsController.cs index 26aaca719b..5447b13cec 100644 --- a/samples/InlineConstraintSample.Web/Controllers/ProductsController.cs +++ b/samples/InlineConstraintSample.Web/Controllers/ProductsController.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Controllers/StoreController.cs b/samples/InlineConstraintSample.Web/Controllers/StoreController.cs index c64e5352c1..8a31bc5542 100644 --- a/samples/InlineConstraintSample.Web/Controllers/StoreController.cs +++ b/samples/InlineConstraintSample.Web/Controllers/StoreController.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Controllers/UsersController.cs b/samples/InlineConstraintSample.Web/Controllers/UsersController.cs index 89d2131ed8..76f9e78cfa 100644 --- a/samples/InlineConstraintSample.Web/Controllers/UsersController.cs +++ b/samples/InlineConstraintSample.Web/Controllers/UsersController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace InlineConstraintSample.Web.Controllers { diff --git a/samples/InlineConstraintSample.Web/Startup.cs b/samples/InlineConstraintSample.Web/Startup.cs index ec448b9f7a..4aa7e4a707 100644 --- a/samples/InlineConstraintSample.Web/Startup.cs +++ b/samples/InlineConstraintSample.Web/Startup.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using InlineConstraintSample.Web.Constraints; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Localization; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Localization; using Microsoft.Extensions.DependencyInjection; namespace InlineConstraintSample.Web diff --git a/samples/InlineConstraintSample.Web/hosting.json b/samples/InlineConstraintSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/InlineConstraintSample.Web/hosting.json +++ b/samples/InlineConstraintSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/InlineConstraintSample.Web/project.json b/samples/InlineConstraintSample.Web/project.json index eede289cda..03b4f89c8a 100644 --- a/samples/InlineConstraintSample.Web/project.json +++ b/samples/InlineConstraintSample.Web/project.json @@ -6,9 +6,9 @@ "web": "InlineConstraintSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/JsonPatchSample.Web/Controllers/HomeController.cs b/samples/JsonPatchSample.Web/Controllers/HomeController.cs index c63538be28..ce15653b27 100644 --- a/samples/JsonPatchSample.Web/Controllers/HomeController.cs +++ b/samples/JsonPatchSample.Web/Controllers/HomeController.cs @@ -3,8 +3,8 @@ using System.Collections.Generic; using JsonPatchSample.Web.Models; -using Microsoft.AspNet.JsonPatch; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.JsonPatch; +using Microsoft.AspNetCore.Mvc; namespace JsonPatchSample.Web.Controllers { diff --git a/samples/JsonPatchSample.Web/Startup.cs b/samples/JsonPatchSample.Web/Startup.cs index 3008403a61..071b5475ae 100644 --- a/samples/JsonPatchSample.Web/Startup.cs +++ b/samples/JsonPatchSample.Web/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace JsonPatchSample.Web diff --git a/samples/JsonPatchSample.Web/hosting.json b/samples/JsonPatchSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/JsonPatchSample.Web/hosting.json +++ b/samples/JsonPatchSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/JsonPatchSample.Web/project.json b/samples/JsonPatchSample.Web/project.json index 1955cec846..92359e999f 100644 --- a/samples/JsonPatchSample.Web/project.json +++ b/samples/JsonPatchSample.Web/project.json @@ -1,4 +1,4 @@ -{ +{ "compilationOptions": { "emitEntryPoint": true }, @@ -6,9 +6,9 @@ "web": "JsonPatchSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/LocalizationSample.Web/Controllers/HomeController.cs b/samples/LocalizationSample.Web/Controllers/HomeController.cs index 2e43cd241c..c93c89038b 100644 --- a/samples/LocalizationSample.Web/Controllers/HomeController.cs +++ b/samples/LocalizationSample.Web/Controllers/HomeController.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using LocalizationSample.Web.Models; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Localization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Localization; namespace LocalizationSample.Web.Controllers { diff --git a/samples/LocalizationSample.Web/Startup.cs b/samples/LocalizationSample.Web/Startup.cs index bdc44f35a7..7a3ab7dcea 100644 --- a/samples/LocalizationSample.Web/Startup.cs +++ b/samples/LocalizationSample.Web/Startup.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Localization; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Localization; using Microsoft.Extensions.DependencyInjection; namespace LocalizationSample.Web diff --git a/samples/LocalizationSample.Web/Views/_ViewImports.cshtml b/samples/LocalizationSample.Web/Views/_ViewImports.cshtml index ddcf2cbe81..bbf2f2a0d5 100644 --- a/samples/LocalizationSample.Web/Views/_ViewImports.cshtml +++ b/samples/LocalizationSample.Web/Views/_ViewImports.cshtml @@ -1,5 +1,5 @@ @using LocalizationSample.Web -@using Microsoft.AspNet.Mvc.Localization +@using Microsoft.AspNetCore.Mvc.Localization @using Microsoft.Extensions.Localization @inject IViewLocalizer LocString \ No newline at end of file diff --git a/samples/LocalizationSample.Web/hosting.json b/samples/LocalizationSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/LocalizationSample.Web/hosting.json +++ b/samples/LocalizationSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/LocalizationSample.Web/project.json b/samples/LocalizationSample.Web/project.json index d859e82d7f..a5ae25d9e5 100644 --- a/samples/LocalizationSample.Web/project.json +++ b/samples/LocalizationSample.Web/project.json @@ -1,4 +1,4 @@ -{ +{ "commands": { "web": "LocalizationSample.Web" }, @@ -6,9 +6,9 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/MvcSandbox/Controllers/HomeController.cs b/samples/MvcSandbox/Controllers/HomeController.cs index 77f79ca49e..cf675012e4 100644 --- a/samples/MvcSandbox/Controllers/HomeController.cs +++ b/samples/MvcSandbox/Controllers/HomeController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSandbox.Controllers { diff --git a/samples/MvcSandbox/Startup.cs b/samples/MvcSandbox/Startup.cs index 2731079280..7c6a6e2039 100644 --- a/samples/MvcSandbox/Startup.cs +++ b/samples/MvcSandbox/Startup.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; diff --git a/samples/MvcSandbox/Views/_ViewImports.cshtml b/samples/MvcSandbox/Views/_ViewImports.cshtml index f7e6e26c2a..96ba4523d1 100644 --- a/samples/MvcSandbox/Views/_ViewImports.cshtml +++ b/samples/MvcSandbox/Views/_ViewImports.cshtml @@ -1,2 +1,2 @@ -@using MvcSandbox -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@using MvcSandbox +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/samples/MvcSandbox/hosting.json b/samples/MvcSandbox/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/MvcSandbox/hosting.json +++ b/samples/MvcSandbox/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/MvcSandbox/project.json b/samples/MvcSandbox/project.json index 5150779716..826593d0c4 100644 --- a/samples/MvcSandbox/project.json +++ b/samples/MvcSandbox/project.json @@ -1,4 +1,4 @@ -{ +{ "commands": { "web": "MvcSandbox" }, @@ -7,13 +7,13 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", - "Microsoft.AspNet.Tooling.Razor": "1.0.0-*", + "Microsoft.AspNetCore.Diagnostics": "1.0.0-*", + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", + "Microsoft.AspNetCore.Tooling.Razor": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*" }, diff --git a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Hours/Controllers/HomeController.cs b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Hours/Controllers/HomeController.cs index 4c336d3e86..0eb15028a3 100644 --- a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Hours/Controllers/HomeController.cs +++ b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Hours/Controllers/HomeController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSubAreaSample.Web.Restaurant.Hours { diff --git a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Menu/Controllers/HomeController.cs b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Menu/Controllers/HomeController.cs index a737852c59..451acc9394 100644 --- a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Menu/Controllers/HomeController.cs +++ b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Areas/Menu/Controllers/HomeController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSubAreaSample.Web.Restaurant.Menu { diff --git a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Controllers/HomeController.cs b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Controllers/HomeController.cs index 134b0b14f9..1028f066e0 100644 --- a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Controllers/HomeController.cs +++ b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Controllers/HomeController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSubAreaSample.Web.Restaurant { diff --git a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Views/Home/Index.cshtml b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Views/Home/Index.cshtml index 1ba98d3563..6ae0ab6a5d 100644 --- a/samples/MvcSubAreaSample.Web/Areas/Restaurant/Views/Home/Index.cshtml +++ b/samples/MvcSubAreaSample.Web/Areas/Restaurant/Views/Home/Index.cshtml @@ -1,4 +1,4 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ Layout = "/Views/Shared/_Layout.cshtml"; ViewData["Title"] = "Home Page"; diff --git a/samples/MvcSubAreaSample.Web/Controllers/HomeController.cs b/samples/MvcSubAreaSample.Web/Controllers/HomeController.cs index 4f3934a413..be0d71343e 100644 --- a/samples/MvcSubAreaSample.Web/Controllers/HomeController.cs +++ b/samples/MvcSubAreaSample.Web/Controllers/HomeController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSubAreaSample.Web { diff --git a/samples/MvcSubAreaSample.Web/Startup.cs b/samples/MvcSubAreaSample.Web/Startup.cs index 8c9320f244..5faf39e35d 100644 --- a/samples/MvcSubAreaSample.Web/Startup.cs +++ b/samples/MvcSubAreaSample.Web/Startup.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; namespace MvcSubAreaSample.Web diff --git a/samples/MvcSubAreaSample.Web/SubAreaAttribute.cs b/samples/MvcSubAreaSample.Web/SubAreaAttribute.cs index 5ca3e694db..8a1e62441b 100644 --- a/samples/MvcSubAreaSample.Web/SubAreaAttribute.cs +++ b/samples/MvcSubAreaSample.Web/SubAreaAttribute.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace MvcSubAreaSample.Web { diff --git a/samples/MvcSubAreaSample.Web/SubAreaViewLocationExpander.cs b/samples/MvcSubAreaSample.Web/SubAreaViewLocationExpander.cs index c363722dcd..1426b4ecdf 100644 --- a/samples/MvcSubAreaSample.Web/SubAreaViewLocationExpander.cs +++ b/samples/MvcSubAreaSample.Web/SubAreaViewLocationExpander.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; namespace MvcSubAreaSample.Web { diff --git a/samples/MvcSubAreaSample.Web/Views/Home/Index.cshtml b/samples/MvcSubAreaSample.Web/Views/Home/Index.cshtml index 5952b2f556..276456c0bb 100644 --- a/samples/MvcSubAreaSample.Web/Views/Home/Index.cshtml +++ b/samples/MvcSubAreaSample.Web/Views/Home/Index.cshtml @@ -1,5 +1,5 @@ - -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers + +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ ViewData["Title"] = "Home Page"; Layout = "/Views/Shared/_Layout.cshtml"; diff --git a/samples/MvcSubAreaSample.Web/Views/Shared/_Layout.cshtml b/samples/MvcSubAreaSample.Web/Views/Shared/_Layout.cshtml index 9e62cb0568..bc2b8083e7 100644 --- a/samples/MvcSubAreaSample.Web/Views/Shared/_Layout.cshtml +++ b/samples/MvcSubAreaSample.Web/Views/Shared/_Layout.cshtml @@ -1,5 +1,5 @@ - -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers + +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/samples/MvcSubAreaSample.Web/hosting.json b/samples/MvcSubAreaSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/MvcSubAreaSample.Web/hosting.json +++ b/samples/MvcSubAreaSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/MvcSubAreaSample.Web/project.json b/samples/MvcSubAreaSample.Web/project.json index c05ce10531..b9114ca0e5 100644 --- a/samples/MvcSubAreaSample.Web/project.json +++ b/samples/MvcSubAreaSample.Web/project.json @@ -6,12 +6,12 @@ "web": "MvcSubAreaSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Diagnostics": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/TagHelperSample.Web/Components/FeaturedMoviesComponent.cs b/samples/TagHelperSample.Web/Components/FeaturedMoviesComponent.cs index def141a4a5..f711722742 100644 --- a/samples/TagHelperSample.Web/Components/FeaturedMoviesComponent.cs +++ b/samples/TagHelperSample.Web/Components/FeaturedMoviesComponent.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Primitives; using TagHelperSample.Web.Models; diff --git a/samples/TagHelperSample.Web/Components/MoviesComponent.cs b/samples/TagHelperSample.Web/Components/MoviesComponent.cs index 064707d3e9..ede406716c 100644 --- a/samples/TagHelperSample.Web/Components/MoviesComponent.cs +++ b/samples/TagHelperSample.Web/Components/MoviesComponent.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Primitives; using TagHelperSample.Web.Services; diff --git a/samples/TagHelperSample.Web/Controllers/HomeController.cs b/samples/TagHelperSample.Web/Controllers/HomeController.cs index def31a44c0..d9aaf0694c 100644 --- a/samples/TagHelperSample.Web/Controllers/HomeController.cs +++ b/samples/TagHelperSample.Web/Controllers/HomeController.cs @@ -3,8 +3,8 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; using TagHelperSample.Web.Models; namespace TagHelperSample.Web.Controllers diff --git a/samples/TagHelperSample.Web/Controllers/MoviesController.cs b/samples/TagHelperSample.Web/Controllers/MoviesController.cs index c86cf9795e..8e4b852722 100644 --- a/samples/TagHelperSample.Web/Controllers/MoviesController.cs +++ b/samples/TagHelperSample.Web/Controllers/MoviesController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using TagHelperSample.Web.Services; namespace TagHelperSample.Web.Controllers diff --git a/samples/TagHelperSample.Web/Controllers/TagHelperController.cs b/samples/TagHelperSample.Web/Controllers/TagHelperController.cs index 7e5873bfdf..679b4d5904 100644 --- a/samples/TagHelperSample.Web/Controllers/TagHelperController.cs +++ b/samples/TagHelperSample.Web/Controllers/TagHelperController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace TagHelperSample.Web.Controllers { diff --git a/samples/TagHelperSample.Web/Startup.cs b/samples/TagHelperSample.Web/Startup.cs index 67768f6594..a583c33d21 100644 --- a/samples/TagHelperSample.Web/Startup.cs +++ b/samples/TagHelperSample.Web/Startup.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using TagHelperSample.Web.Services; @@ -23,7 +23,7 @@ namespace TagHelperSample.Web public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { loggerFactory.AddConsole((name, logLevel) => - name.StartsWith("Microsoft.AspNet.Mvc.TagHelpers", StringComparison.OrdinalIgnoreCase) + name.StartsWith("Microsoft.AspNetCore.Mvc.TagHelpers", StringComparison.OrdinalIgnoreCase) || (name.StartsWith("Microsoft.Net.Http.Server.WebListener", StringComparison.OrdinalIgnoreCase) && logLevel >= LogLevel.Information)); diff --git a/samples/TagHelperSample.Web/TagHelpers/ConditionalCommentTagHelper.cs b/samples/TagHelperSample.Web/TagHelpers/ConditionalCommentTagHelper.cs index a1f0a640fc..b3c4ccee52 100644 --- a/samples/TagHelperSample.Web/TagHelpers/ConditionalCommentTagHelper.cs +++ b/samples/TagHelperSample.Web/TagHelpers/ConditionalCommentTagHelper.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelperSample.Web { diff --git a/samples/TagHelperSample.Web/Views/_ViewImports.cshtml b/samples/TagHelperSample.Web/Views/_ViewImports.cshtml index d7a716a439..a757b413b9 100644 --- a/samples/TagHelperSample.Web/Views/_ViewImports.cshtml +++ b/samples/TagHelperSample.Web/Views/_ViewImports.cshtml @@ -1 +1 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/samples/TagHelperSample.Web/hosting.json b/samples/TagHelperSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/TagHelperSample.Web/hosting.json +++ b/samples/TagHelperSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/TagHelperSample.Web/project.json b/samples/TagHelperSample.Web/project.json index ff26f0996e..d7eba907b1 100644 --- a/samples/TagHelperSample.Web/project.json +++ b/samples/TagHelperSample.Web/project.json @@ -7,14 +7,14 @@ "web": "TagHelperSample.Web" }, "dependencies": { - "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", - "Microsoft.AspNet.Tooling.Razor": "1.0.0-*" + "Microsoft.AspNetCore.Diagnostics": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", + "Microsoft.AspNetCore.Tooling.Razor": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/samples/UrlHelperSample.Web/Controllers/HomeController.cs b/samples/UrlHelperSample.Web/Controllers/HomeController.cs index 5ceb345a60..381944b14a 100644 --- a/samples/UrlHelperSample.Web/Controllers/HomeController.cs +++ b/samples/UrlHelperSample.Web/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace UrlHelperSample.Web.Controllers { diff --git a/samples/UrlHelperSample.Web/Controllers/SimplePocoController.cs b/samples/UrlHelperSample.Web/Controllers/SimplePocoController.cs index 282b1593e7..11c2955bc9 100644 --- a/samples/UrlHelperSample.Web/Controllers/SimplePocoController.cs +++ b/samples/UrlHelperSample.Web/Controllers/SimplePocoController.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Routing; namespace UrlHelperSample.Web.Controllers { diff --git a/samples/UrlHelperSample.Web/CustomUrlHelper.cs b/samples/UrlHelperSample.Web/CustomUrlHelper.cs index ad1cec97f2..7c7e699300 100644 --- a/samples/UrlHelperSample.Web/CustomUrlHelper.cs +++ b/samples/UrlHelperSample.Web/CustomUrlHelper.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Routing; namespace UrlHelperSample.Web { diff --git a/samples/UrlHelperSample.Web/CustomUrlHelperFactory.cs b/samples/UrlHelperSample.Web/CustomUrlHelperFactory.cs index f166547683..5b03bb4ee8 100644 --- a/samples/UrlHelperSample.Web/CustomUrlHelperFactory.cs +++ b/samples/UrlHelperSample.Web/CustomUrlHelperFactory.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.Options; namespace UrlHelperSample.Web diff --git a/samples/UrlHelperSample.Web/Startup.cs b/samples/UrlHelperSample.Web/Startup.cs index bab87678da..a337b05810 100644 --- a/samples/UrlHelperSample.Web/Startup.cs +++ b/samples/UrlHelperSample.Web/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.DependencyInjection; namespace UrlHelperSample.Web diff --git a/samples/UrlHelperSample.Web/hosting.json b/samples/UrlHelperSample.Web/hosting.json index 95505372fa..26fd5141aa 100644 --- a/samples/UrlHelperSample.Web/hosting.json +++ b/samples/UrlHelperSample.Web/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/samples/UrlHelperSample.Web/project.json b/samples/UrlHelperSample.Web/project.json index e10f23d6ff..a8dd64daaf 100644 --- a/samples/UrlHelperSample.Web/project.json +++ b/samples/UrlHelperSample.Web/project.json @@ -6,8 +6,8 @@ "web": "UrlHelperSample.Web" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptor.cs index 8f048c022a..80bd3f55c5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptor.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public class ActionDescriptor { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorExtensions.cs index 124415e318..3cd94db1f1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorProviderContext.cs index b3933976da..63ab7dbf0d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionDescriptorProviderContext.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public class ActionDescriptorProviderContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionInvokerProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionInvokerProviderContext.cs index 4a726a00f1..45fd315732 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionInvokerProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ActionInvokerProviderContext.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public class ActionInvokerProviderContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionDescriptorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionDescriptorProvider.cs index e18835af97..4b52e9aebc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionDescriptorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionDescriptorProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public interface IActionDescriptorProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvoker.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvoker.cs index 440c5e423e..42850ee874 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvoker.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public interface IActionInvoker { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvokerProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvokerProvider.cs index d64e9522c3..a546a24735 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvokerProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/IActionInvokerProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public interface IActionInvokerProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ParameterDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ParameterDescriptor.cs index a6a67ee431..890c3e8526 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ParameterDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Abstractions/ParameterDescriptor.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { public class ParameterDescriptor { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintContext.cs index 1b066ef80a..68ee228d0e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintContext.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// Context for execution. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintItem.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintItem.cs index e0734da78c..319cacc55a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintItem.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintItem.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// Represents an with or without a corresponding diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintProviderContext.cs index 183218a6f2..01ac6d223c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionConstraintProviderContext.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// Context for an action constraint provider. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs index a1b2625312..9cbe3aeeef 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// A candidate action for action selection. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraint.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraint.cs index f8ff814344..bd59ab6c50 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraint.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// Supports conditional logic to determine whether or not an associated action is valid to be selected diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintFactory.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintFactory.cs index 94dacdca1e..9c0f597228 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintFactory.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// A factory for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintMetadata.cs index 6180afde65..cbfd0970c0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintMetadata.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// A marker interface that identifies a type as metadata for an . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintProvider.cs index d1a45d5dcd..8c090462ca 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/IActionConstraintProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { public interface IActionConstraintProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs index 24908a4079..07adb25b94 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionContext.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Context object for execution of action which has been selected as part of an HTTP request. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutedContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutedContext.cs index dc2da6fd00..b3d15f6666 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutedContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutedContext.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Runtime.ExceptionServices; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ActionExecutedContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutingContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutingContext.cs index 08ab7dc767..b07e59c3d7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutingContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ActionExecutingContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutionDelegate.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutionDelegate.cs index c8ba0330a8..802ffdace1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutionDelegate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ActionExecutionDelegate.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public delegate Task ActionExecutionDelegate(); } diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/AuthorizationContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/AuthorizationContext.cs index a5306ce165..442c940c67 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/AuthorizationContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/AuthorizationContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class AuthorizationContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ExceptionContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ExceptionContext.cs index 024f21f5d7..a204f5bf73 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ExceptionContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ExceptionContext.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Runtime.ExceptionServices; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ExceptionContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterContext.cs index 838ae8ad60..175d2777bd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public abstract class FilterContext : ActionContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs index 637e9d14a3..04b887ec06 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// Descriptor for an . @@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Mvc.Filters /// later in the pipeline. /// /// When filters have the same Order, the Scope value is used to determine the order of execution. Filters - /// with a higher value of Scope execute later in the pipeline. See Microsoft.AspNet.Mvc.FilterScope + /// with a higher value of Scope execute later in the pipeline. See Microsoft.AspNetCore.Mvc.FilterScope /// for commonly used scopes. /// /// For implementions, the filter runs only after an exception has occurred, diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterItem.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterItem.cs index 7294d108c9..516acd7d24 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterItem.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterItem.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// Used to associate executable filters with instances diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterProviderContext.cs index 6a67c45a85..00463764bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterProviderContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class FilterProviderContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IActionFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IActionFilter.cs index 517a1d8db7..56dc1f5126 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IActionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IActionFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IActionFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAllowAnonymousFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAllowAnonymousFilter.cs index cf1b44ff07..bc0fb724c2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAllowAnonymousFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAllowAnonymousFilter.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAllowAnonymousFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncActionFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncActionFilter.cs index 6ed40d320d..01e4d9ef25 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncActionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncActionFilter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAsyncActionFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncAuthorizationFilter.cs index 9f246391ab..e1ec0d5d1d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncAuthorizationFilter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAsyncAuthorizationFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncExceptionFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncExceptionFilter.cs index d025946040..90e58c232f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncExceptionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncExceptionFilter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAsyncExceptionFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResourceFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResourceFilter.cs index 9d337ca26b..d48f46ca0f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResourceFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResourceFilter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// A filter which surrounds execution of model binding, the action (and filters) and the action result diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResultFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResultFilter.cs index d0dffee03e..ce970bc1d6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResultFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAsyncResultFilter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAsyncResultFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAuthorizationFilter.cs index d71d275091..d352b83b81 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IAuthorizationFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IAuthorizationFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IExceptionFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IExceptionFilter.cs index 8085938d01..7140aaf499 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IExceptionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IExceptionFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IExceptionFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterContainer.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterContainer.cs index ba6c3436b1..e7b319460f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterContainer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterContainer.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IFilterContainer { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterFactory.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterFactory.cs index 3865152a1e..69731b3aad 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterFactory.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// An interface for for filter metadata which can create an instance of an executable filter. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterMetadata.cs index dad964eef7..ce02746186 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterMetadata.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterProvider.cs index ea5b228073..b3fadad47a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IFilterProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IFilterProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IOrderedFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IOrderedFilter.cs index c0b8924dfa..b29788592d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IOrderedFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IOrderedFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IOrderedFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResourceFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResourceFilter.cs index f4c4665b3b..d16404a4c1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResourceFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResourceFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// A filter which surrounds execution of model binding, the action (and filters) and the action result diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResultFilter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResultFilter.cs index c0f8949649..25748b05d9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResultFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/IResultFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public interface IResultFilter : IFilterMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs index 53e8956458..ab0fec1ebc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Runtime.ExceptionServices; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// A context for resource filters. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutingContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutingContext.cs index ad0a0599ff..34b96c96e3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutingContext.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// A context for resource filters. Allows modification of services and values used for diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutionDelegate.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutionDelegate.cs index dbae488e09..8be5d56eec 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutionDelegate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutionDelegate.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// A delegate which asyncronously returns a . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutedContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutedContext.cs index e106a98ff8..39f235a505 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutedContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutedContext.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Runtime.ExceptionServices; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ResultExecutedContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutingContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutingContext.cs index 99b77aa797..f298c466f7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutingContext.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ResultExecutingContext : FilterContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutionDelegate.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutionDelegate.cs index c235a2bd80..9f709a437e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutionDelegate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResultExecutionDelegate.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public delegate Task ResultExecutionDelegate(); } diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/FormatterCollection.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/FormatterCollection.cs index 1daa7112ee..9646da8879 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/FormatterCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/FormatterCollection.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.ObjectModel; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Represents a collection of formatters. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IInputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IInputFormatter.cs index 7336813291..c56633d16a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IInputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IInputFormatter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Reads an object from the request body. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IOutputFormatter.cs index 6e07e7123b..a266cf2df7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/IOutputFormatter.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Writes an object to the output stream. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterContext.cs index 02964ce0b2..4c40b4eb77 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterContext.cs @@ -4,10 +4,10 @@ using System; using System.IO; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A context object used by an input formatter for deserializing the request body into an object. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterResult.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterResult.cs index e681455a4b..bcbd77e62c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/InputFormatterResult.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Result of a operation. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterCanWriteContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterCanWriteContext.cs index 1bb82eec15..15b931dd02 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterCanWriteContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterCanWriteContext.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A context object for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs index c1b74715cb..78be50e68c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Text; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A context object for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/IActionResult.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/IActionResult.cs index 224af2199d..8cfbee8a9c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/IActionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/IActionResult.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Defines a contract that represents the result of an action method. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingInfo.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingInfo.cs index 2d1cb1d26f..b746ccd374 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingInfo.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Linq; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Binding info which represents metadata associated to an action parameter. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingSource.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingSource.cs index b94b06d437..8c5aa047d8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingSource.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/BindingSource.cs @@ -3,9 +3,9 @@ using System; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A metadata object representing a source of data for model binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs index 354d7c067a..bd25b6529b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A which can repesent multiple value-provider data sources. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/EnumGroupAndName.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/EnumGroupAndName.cs index 11f402ef47..42f0843d76 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/EnumGroupAndName.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/EnumGroupAndName.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An abstraction used when grouping enum values for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBinderTypeProviderMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBinderTypeProviderMetadata.cs index 2ec81ec203..75740bba00 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBinderTypeProviderMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBinderTypeProviderMetadata.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Provides a which implements . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs index 819b69cbcb..7be323cbe9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Metadata which specificies the data source for model binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelBinder.cs index a3b7605fdf..834886d712 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelBinder.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Defines an interface for model binders. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelMetadataProvider.cs index 9c6501c0c0..32d41f717c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelMetadataProvider.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public interface IModelMetadataProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelNameProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelNameProvider.cs index 528734fc07..321b7af174 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelNameProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IModelNameProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents an entity which can provide model name as metadata. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IPropertyBindingPredicateProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IPropertyBindingPredicateProvider.cs index 44cc1bcbe8..e1124e6b26 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IPropertyBindingPredicateProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IPropertyBindingPredicateProvider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Provides a predicate which can determines which model properties should be bound by model binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProvider.cs index b0c56d31ea..4cbae18702 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProvider.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Defines the methods that are required for a value provider. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProviderFactory.cs index 2af59b25f9..44aea27f00 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IValueProviderFactory.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A factory for creating instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/IModelBindingMessageProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/IModelBindingMessageProvider.cs index 7374a54646..81e3c22594 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/IModelBindingMessageProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/IModelBindingMessageProvider.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Provider for error messages the model binding system detects. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs index f1ff1640d2..a45aa8e5a8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A key type which identifies a . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataKind.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataKind.cs index 8eed8a46fb..3eb836cc18 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataKind.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataKind.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Enumeration for the kinds of diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingContext.cs index a89d58fe6c..7530c5fcf9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingContext.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A context that contains operating information for model binding and validation. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingResult.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingResult.cs index b8390b332d..7ea7457dd3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelBindingResult.cs @@ -5,7 +5,7 @@ using System; using System.Threading.Tasks; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Contains the result of model binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelError.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelError.cs index 9002fc84ea..9511d0872a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelError.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelError.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelError { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelErrorCollection.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelErrorCollection.cs index a4df159b8d..b8d2e95fb0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelErrorCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelErrorCollection.cs @@ -4,7 +4,7 @@ using System; using System.Collections.ObjectModel; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelErrorCollection : Collection { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs index ff87152d6d..7214156022 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs @@ -7,10 +7,10 @@ using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A metadata representation of a model type, property or parameter. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelPropertyCollection.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelPropertyCollection.cs index 434ff52af8..733da709ba 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelPropertyCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelPropertyCollection.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A read-only collection of objects which represent model properties. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelState.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelState.cs index 19c4a41d28..7433210d09 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelState.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelState.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An entry in a . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelStateDictionary.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelStateDictionary.cs index 7f211ab12c..b342829718 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelStateDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelStateDictionary.cs @@ -4,9 +4,9 @@ using System; using System.Collections; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents the state of an attempt to bind values from an HTTP Request to an action method, which includes diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelValidationState.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelValidationState.cs index 4b9c588b38..05cc0ee317 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelValidationState.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelValidationState.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public enum ModelValidationState { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/OperationBindingContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/OperationBindingContext.cs index b5cc6a9a66..59ea7ce3b8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/OperationBindingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/OperationBindingContext.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A context that contains information specific to the current request and the action whose parameters diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/TooManyModelErrorsException.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/TooManyModelErrorsException.cs index 3bcb42f73f..58f3cdbe42 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/TooManyModelErrorsException.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/TooManyModelErrorsException.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// The that is thrown when too many model errors are encountered. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientModelValidationContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientModelValidationContext.cs index dce04b394a..1bf78e5a51 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientModelValidationContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientModelValidationContext.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// The context for client-side model validation. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientValidatorProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientValidatorProviderContext.cs index 0a14360395..0c1f8ee3ca 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientValidatorProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ClientValidatorProviderContext.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// A context for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidator.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidator.cs index dc3e32b6fd..98ffee0b5d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidator.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { public interface IClientModelValidator { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidatorProvider.cs index ea697e099a..e6f69a74eb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IClientModelValidatorProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Provides a collection of s. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidator.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidator.cs index 3c5bcb920f..f2f0ae34ef 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidator.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Validates a model value. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidatorProvider.cs index f4a111a4bc..0a54d729ba 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IModelValidatorProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Provides validators for a model value. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IValidationStrategy.cs index 19c36b1fab..4419957230 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/IValidationStrategy.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Defines a strategy for enumerating the child entries of a model object which should be validated. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelClientValidationRule.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelClientValidationRule.cs index 3a2649ba82..45393725b1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelClientValidationRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelClientValidationRule.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { public class ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValiatorProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValiatorProviderContext.cs index 25a37d8baa..d84409c264 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValiatorProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValiatorProviderContext.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// A context for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContext.cs index e497e4184e..78f48f32fb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContext.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// A context object for . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContextBase.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContextBase.cs index 5e12ad3bfb..ea341ef62e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContextBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationContextBase.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// A common base class for and . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationResult.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationResult.cs index 4978cc04bd..a8214c9a05 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ModelValidationResult.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { public class ModelValidationResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationEntry.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationEntry.cs index 33856c39a2..d757239356 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationEntry.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationEntry.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Contains data needed for validating a child entry of a model object. See . diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateDictionary.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateDictionary.cs index 99e1012f4d..7f4f6686f4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateDictionary.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -6,7 +6,7 @@ using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Used for tracking validation state to customize validation behavior for a model object. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateEntry.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateEntry.cs index 208d5062fa..970cbb8dfa 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateEntry.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Validation/ValidationStateEntry.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// An entry in a . Records state information to override the default diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ValueProviderResult.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ValueProviderResult.cs index ccd4853c22..24eb847fde 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ValueProviderResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ValueProviderResult.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Result of an operation. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/AssemblyInfo.cs index 4e2bf138f6..1792c1ac34 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/AssemblyInfo.cs @@ -5,7 +5,7 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/Resources.Designer.cs index ed6b7026cd..fd85073dde 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Abstractions +namespace Microsoft.AspNetCore.Mvc.Abstractions { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Abstractions internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Value cannot be null or empty. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/AttributeRouteInfo.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/AttributeRouteInfo.cs index 834b9b3552..312af9feee 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/AttributeRouteInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/AttributeRouteInfo.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Represents the routing information for an action that is attribute routed. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteDataActionConstraint.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteDataActionConstraint.cs index 65e22c0de9..870c7533ad 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteDataActionConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteDataActionConstraint.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Constraints an action to a route key and value. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteKeyHandling.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteKeyHandling.cs index 21675a11bb..586a09399f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteKeyHandling.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Routing/RouteKeyHandling.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public enum RouteKeyHandling { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/project.json b/src/Microsoft.AspNetCore.Mvc.Abstractions/project.json index 940e745d33..f3075e8ef1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Routing.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.Routing.Abstractions": "1.0.0-*", "Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs index 584ba7c859..dddafbd826 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Represents an API exposed by this application. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionExtensions.cs index 4dda00d8c3..d8c99a8b58 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroup.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroup.cs index 9162d91fd0..eed4634d12 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroup.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroup.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Represents a group of related apis. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollection.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollection.cs index 8d2339f8db..1e6c3a01c2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollection.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// A cached collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollectionProvider.cs index 4cab75274c..4a1ae7ae98 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionGroupCollectionProvider.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// public class ApiDescriptionGroupCollectionProvider : IApiDescriptionGroupCollectionProvider diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionProviderContext.cs index 3a6d1b26ef..dfe6d3f347 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescriptionProviderContext.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// A context object for providers. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterDescription.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterDescription.cs index e265f68d99..272fb69e95 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterDescription.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterDescription.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// A metadata description of an input to an API. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterRouteInfo.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterRouteInfo.cs index a4a0aeb782..6e5cbfc494 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterRouteInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiParameterRouteInfo.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// A metadata description of routing information for an . diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiRequestFormat.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiRequestFormat.cs index d753a5ad62..70b5c1e626 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiRequestFormat.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiRequestFormat.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// A possible format for the body of a request. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiResponseFormat.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiResponseFormat.cs index ff475cb545..a02a5595fd 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiResponseFormat.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiResponseFormat.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Represents a possible format for the body of a response. diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs index 8d3581f6ce..11740057a9 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs @@ -6,18 +6,18 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Template; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Template; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Implements a provider of for actions represented diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs index 1fd2bbbe52..0d3b74c378 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.ApiExplorer; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionGroupCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionGroupCollectionProvider.cs index b807a0d7c1..5227a62cbe 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionGroupCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionGroupCollectionProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Provides access to a collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionProvider.cs index ec0caa4493..5129b7d5ec 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/IApiDescriptionProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { public interface IApiDescriptionProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/project.json b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/project.json index a1835b1d9a..1bde078100 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/project.json +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", "Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.Core/AcceptVerbsAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/AcceptVerbsAttribute.cs index d695f63ecb..51660d6c7b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/AcceptVerbsAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/AcceptVerbsAttribute.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies what HTTP methods an action supports. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ActionConstraints/ActionMethodSelectorAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ActionConstraints/ActionMethodSelectorAttribute.cs index 331d1e69ec..6cf3d35952 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ActionConstraints/ActionMethodSelectorAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ActionConstraints/ActionMethodSelectorAttribute.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.ActionConstraints +namespace Microsoft.AspNetCore.Mvc.ActionConstraints { /// /// Base class for attributes which can implement conditional logic to enable or disable an action diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ActionContextAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ActionContextAttribute.cs index 47343e4b6b..2923ae399b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ActionContextAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ActionContextAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a controller property should be set with the current diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ActionNameAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ActionNameAttribute.cs index 4d4d8876a9..411bbe2e9b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ActionNameAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ActionNameAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class ActionNameAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ActionResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ActionResult.cs index 9627d6be3b..42355d1345 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ActionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ActionResult.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionGroupNameProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionGroupNameProvider.cs index 9c447ce33d..f9839c80e7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionGroupNameProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionGroupNameProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Represents group name metadata for an ApiDescription. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionVisibilityProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionVisibilityProvider.cs index d7ac6b5b30..439c132c61 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionVisibilityProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiDescriptionVisibilityProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Represents visibility metadata for an ApiDescription. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestFormatMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestFormatMetadataProvider.cs index c66d960d4f..7658636708 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestFormatMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestFormatMetadataProvider.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Provides metadata information about the request format to an IApiDescriptionProvider. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestMetadataProvider.cs index 56b139620c..7944ce22bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiRequestMetadataProvider.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Provides a a set of possible content types than can be consumed by the action. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs index 8c77357ecd..fa8254dd99 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Provides metadata information about the response format to an IApiDescriptionProvider. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseMetadataProvider.cs index d1addd7c60..c7a073e30c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorer/IApiResponseMetadataProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters; -namespace Microsoft.AspNet.Mvc.ApiExplorer +namespace Microsoft.AspNetCore.Mvc.ApiExplorer { /// /// Provides a return type and a set of possible content types returned by a successful execution of the action. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorerSettingsAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorerSettingsAttribute.cs index 4b1e4d7407..2821ad8d51 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorerSettingsAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApiExplorerSettingsAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.ApiExplorer; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Controls the visibility and group name for an ApiDescription diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ActionModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ActionModel.cs index efcfe68127..a19e617175 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ActionModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ActionModel.cs @@ -6,12 +6,12 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { [DebuggerDisplay("Name={ActionName}({Methods()}), Type={Controller.ControllerType.Name}," + " Route: {AttributeRouteModel?.Template}, Filters: {Filters.Count}")] diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApiExplorerModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApiExplorerModel.cs index eea574cb16..99a6326679 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApiExplorerModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApiExplorerModel.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// A model for ApiExplorer properties associated with a controller or action. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModel.cs index 4c1bc7232e..3c6d4c7dab 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModel.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { [DebuggerDisplay("ApplicationModel: Controllers: {Controllers.Count}, Filters: {Filters.Count}")] public class ApplicationModel : IPropertyModel, IFilterModel, IApiExplorerModel diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModelProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModelProviderContext.cs index a1636c3898..7bc2abd1b0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModelProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ApplicationModelProviderContext.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// A context object for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/AttributeRouteModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/AttributeRouteModel.cs index 85edd77286..fd6f3a8f1b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/AttributeRouteModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/AttributeRouteModel.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.Linq; using System.Text; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class AttributeRouteModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ControllerModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ControllerModel.cs index b148b0c2cb..ddc12f701b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ControllerModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ControllerModel.cs @@ -6,11 +6,11 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { [DebuggerDisplay("Name={ControllerName}, Type={ControllerType.Name}," + " Routes: {AttributeRoutes.Count}, Filters: {Filters.Count}")] diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IActionModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IActionModelConvention.cs index c96101ccb8..d5a49ad53c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IActionModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IActionModelConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// Allows customization of the of the . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApiExplorerModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApiExplorerModel.cs index 6e4909ac23..c5e36ac038 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApiExplorerModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApiExplorerModel.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public interface IApiExplorerModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelConvention.cs index f7a210fd79..dfc2633b74 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// Allows customization of the of the . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelProvider.cs index bade659e64..8d8814ad43 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IApplicationModelProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// Builds or modifies an for action discovery. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IBindingModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IBindingModel.cs index ce1686092e..e57ff5589c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IBindingModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IBindingModel.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public interface IBindingModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ICommonModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ICommonModel.cs index 7d0478a5bc..0fc83aca3e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ICommonModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ICommonModel.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public interface ICommonModel : IPropertyModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs index 9bf89b37c4..378772f855 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IControllerModelConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// Allows customization of the of the . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IFilterModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IFilterModel.cs index 6d00a19077..98f89df0a0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IFilterModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IFilterModel.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public interface IFilterModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs index bfa3b11fc8..fd4c48d2b6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// Allows customization of the of the . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IPropertyModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IPropertyModel.cs index c726b9ffb0..5fbdb4567a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IPropertyModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IPropertyModel.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public interface IPropertyModel { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ParameterModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ParameterModel.cs index 5617886690..d304f5be39 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ParameterModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/ParameterModel.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { [DebuggerDisplay("ParameterModel: Name={ParameterName}")] public class ParameterModel : ICommonModel, IBindingModel diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs index 707fea293a..e9c9763ba7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// A type which is used to represent a property in a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/AreaAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/AreaAttribute.cs index 9b19b61f7a..3254128a99 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/AreaAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/AreaAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class AreaAttribute : RouteConstraintAttribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/BadRequestObjectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/BadRequestObjectResult.cs index bac4e59def..f31552a3a6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/BadRequestObjectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/BadRequestObjectResult.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that when executed will produce a Bad Request (400) response. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/BadRequestResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/BadRequestResult.cs index 40ca333848..59816a7a07 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/BadRequestResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/BadRequestResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A that when diff --git a/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs index f44fccace8..a1c2ecc190 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs @@ -5,11 +5,11 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// This attribute can be used on action parameters and types, to indicate model level metadata. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcApplicationBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcApplicationBuilderExtensions.cs index 3f92d61da5..8a35b72734 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcApplicationBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcApplicationBuilderExtensions.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Builder +namespace Microsoft.AspNetCore.Builder { /// /// Extension methods for to add MVC to the request execution pipeline. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcAreaRouteBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcAreaRouteBuilderExtensions.cs index 59901c303d..1f5254f048 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcAreaRouteBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Builder/MvcAreaRouteBuilderExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Builder +namespace Microsoft.AspNetCore.Builder { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/CacheProfile.cs b/src/Microsoft.AspNetCore.Mvc.Core/CacheProfile.cs index 996eca9222..92422c2ac5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/CacheProfile.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/CacheProfile.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Defines a set of settings which can be used for response caching. @@ -12,28 +12,28 @@ namespace Microsoft.AspNet.Mvc /// Gets or sets the duration in seconds for which the response is cached. /// If this property is set to a non null value, /// the "max-age" in "Cache-control" header is set in the - /// . + /// . /// public int? Duration { get; set; } /// /// Gets or sets the location where the data from a particular URL must be cached. /// If this property is set to a non null value, - /// the "Cache-control" header is set in the . + /// the "Cache-control" header is set in the . /// public ResponseCacheLocation? Location { get; set; } /// /// Gets or sets the value which determines whether the data should be stored or not. /// When set to , it sets "Cache-control" header in - /// to "no-store". + /// to "no-store". /// Ignores the "Location" parameter for values other than "None". /// Ignores the "Duration" parameter. /// public bool? NoStore { get; set; } /// - /// Gets or sets the value for the Vary header in . + /// Gets or sets the value for the Vary header in . /// public string VaryByHeader { get; set; } } diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ChallengeResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ChallengeResult.cs index e5edd11137..2d8b6c8277 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ChallengeResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ChallengeResult.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that on execution invokes . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ConsumesAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ConsumesAttribute.cs index 1b691fb8b4..b9f2208c5c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ConsumesAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ConsumesAttribute.cs @@ -4,16 +4,16 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies the allowed content types which can be used to select the action based on request's content-type. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ContentResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ContentResult.cs index bef0fae947..f5394defc6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ContentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ContentResult.cs @@ -4,15 +4,15 @@ using System; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ContentResult : ActionResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs index d76963088b..d8163fcc67 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -8,17 +8,17 @@ using System.Linq.Expressions; using System.Security.Claims; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A base class for an MVC controller without view support. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ControllerContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ControllerContext.cs index 7ed7f6cf99..ec21744763 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ControllerContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ControllerContext.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// The context associated with the current request for a controller. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ControllerContextAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ControllerContextAttribute.cs index 1bbce442f6..d2210420ba 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ControllerContextAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ControllerContextAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a controller property should be set with the current diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerActionDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerActionDescriptor.cs index e96cdeb2f0..fa938014f2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerActionDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerActionDescriptor.cs @@ -4,9 +4,9 @@ using System; using System.Diagnostics; using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { [DebuggerDisplay("{DisplayName}")] public class ControllerActionDescriptor : ActionDescriptor diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerBoundPropertyDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerBoundPropertyDescriptor.cs index e0fc19ddc8..7c41dda166 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerBoundPropertyDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerBoundPropertyDescriptor.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// A descriptor for model bound properties of a controller. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerParameterDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerParameterDescriptor.cs index 3744cfb86c..e48ef9dd00 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerParameterDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ControllerParameterDescriptor.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// A descriptor for method parameters of an action method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerActivator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerActivator.cs index 2674fc7c81..25493affb4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerActivator.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// that uses type activation to create controllers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerFactory.cs index 685ccfcb11..9db1d4ad23 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerFactory.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// Default implementation for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerTypeProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerTypeProvider.cs index 9df22d69b7..e8135f9cef 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerTypeProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/DefaultControllerTypeProvider.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// A that identifies controller types from assemblies diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerActivator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerActivator.cs index 4a5cab48bb..efa52d028b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerActivator.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// Provides methods to create a controller. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerArgumentBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerArgumentBinder.cs index 815c068df2..1fbb5c633a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerArgumentBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerArgumentBinder.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// Provides a dictionary of action arguments. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerFactory.cs index 5d43c97c54..e1af5c5497 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// Provides methods for creation and disposal of controllers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerPropertyActivator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerPropertyActivator.cs index e14ee0095d..0f490c39f6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerPropertyActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerPropertyActivator.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { public interface IControllerPropertyActivator { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerTypeProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerTypeProvider.cs index 9fe4e3b268..7ccc8c2e75 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerTypeProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/IControllerTypeProvider.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// Provides methods for discovery of controller types. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ServiceBasedControllerActivator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ServiceBasedControllerActivator.cs index 1c7e871ae3..d4306414b4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ServiceBasedControllerActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/ServiceBasedControllerActivator.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// A that retrieves controllers as services from the request's diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/StaticControllerTypeProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/StaticControllerTypeProvider.cs index 7dd16e692b..a20c7fce1d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Controllers/StaticControllerTypeProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Controllers/StaticControllerTypeProvider.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { /// /// A with a fixed set of types that are used as controllers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtActionResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtActionResult.cs index 7048da15c0..6ed312a374 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtActionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtActionResult.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that returns a Created (201) response with a Location header. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtRouteResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtRouteResult.cs index a843240e36..6e26789563 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtRouteResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/CreatedAtRouteResult.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that returns a Created (201) response with a Location header. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/CreatedResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/CreatedResult.cs index 20faafc56f..bcee856a96 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/CreatedResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/CreatedResult.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that returns a Created (201) response with a Location header. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs index 5ee08294dc..89cadc5c4d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/ApplicationModelConventionExtensions.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcBuilderExtensions.cs index a0279e8ca5..4c9c359b77 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcBuilderExtensions.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; using System.Linq; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs index 7ee3f5b8bc..c4d57c6530 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; using System.Linq; diff --git a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs index 348287f102..9670b080cb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs @@ -3,19 +3,19 @@ using System; using System.Buffers; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Microsoft.Extensions.PlatformAbstractions; diff --git a/src/Microsoft.AspNetCore.Mvc.Core/EmptyResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/EmptyResult.cs index c190402221..dbe278e7a4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/EmptyResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/EmptyResult.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when executed will diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FileContentResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/FileContentResult.cs index 7022554aa4..0bc20c4c7c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FileContentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FileContentResult.cs @@ -3,11 +3,11 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when executed will diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FileResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/FileResult.cs index 2413eb1096..74d9ef329b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FileResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FileResult.cs @@ -3,14 +3,14 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when executed will diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FileStreamResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/FileStreamResult.cs index ef65b8dc0a..05981bdafc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FileStreamResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FileStreamResult.cs @@ -5,11 +5,11 @@ using System; using System.IO; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when executed will diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ActionFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ActionFilterAttribute.cs index 51c92b19f6..4720dfd1d2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ActionFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ActionFilterAttribute.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public abstract class ActionFilterAttribute : diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/AuthorizationFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/AuthorizationFilterAttribute.cs index 62a930edab..8e054dac9a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/AuthorizationFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/AuthorizationFilterAttribute.cs @@ -4,10 +4,10 @@ using System; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public abstract class AuthorizationFilterAttribute : diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ExceptionFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ExceptionFilterAttribute.cs index fab99f2b8c..c394ececf2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ExceptionFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ExceptionFilterAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public abstract class ExceptionFilterAttribute : Attribute, IAsyncExceptionFilter, IExceptionFilter, IOrderedFilter diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterCollection.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterCollection.cs index b54c7dab35..23290b0a0d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterCollection.cs @@ -4,9 +4,9 @@ using System; using System.Collections.ObjectModel; using System.Reflection; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class FilterCollection : Collection { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterScope.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterScope.cs index ba16a74681..c3ded5c798 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterScope.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/FilterScope.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { /// /// Contains constant values for known filter scopes. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ResultFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ResultFilterAttribute.cs index 1b96715a5c..04b26d0939 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Filters/ResultFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Filters/ResultFilterAttribute.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public abstract class ResultFilterAttribute : Attribute, IResultFilter, IAsyncResultFilter, IOrderedFilter diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ForbidResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ForbidResult.cs index b203581a1b..c697f50f38 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ForbidResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ForbidResult.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that on execution invokes . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FormatFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FormatFilterAttribute.cs index 1b98dd224b..bde65f7c06 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FormatFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FormatFilterAttribute.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A filter which will use the format value in the route data or query string to set the content type on an diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatFilter.cs index 0cd72578b3..45df47ee4b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatFilter.cs @@ -3,12 +3,12 @@ using System; using System.Linq; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A filter which will use the format value in the route data or query string to set the content type on an diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatterMappings.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatterMappings.cs index 518864dbf6..03ed3065a5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatterMappings.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/FormatterMappings.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Used to specify mapping between the URL Format and corresponding media type. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNoContentOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNoContentOutputFormatter.cs index b23d4ffd1f..38b596893a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNoContentOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNoContentOutputFormatter.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Sets the status code to 204 if the content is null. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNotAcceptableOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNotAcceptableOutputFormatter.cs index 3c8643e556..47a79274e7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNotAcceptableOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/HttpNotAcceptableOutputFormatter.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A formatter which selects itself when content-negotiation has failed and writes a 406 Not Acceptable response. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs index 0067e31ae5..f743faec66 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs @@ -7,12 +7,12 @@ using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Reads an object from the request body. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaType.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaType.cs index 3d58698760..09c2e67b3d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaType.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaType.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Globalization; using System.Text; -using Microsoft.AspNet.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A media type value. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaTypeCollection.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaTypeCollection.cs index 4507c1785e..065bbde7cd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaTypeCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/MediaTypeCollection.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.ObjectModel; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// A collection of media types. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/OutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/OutputFormatter.cs index 35bfd1e16a..3b1a14c7c6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/OutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/OutputFormatter.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Writes an object to the output stream. @@ -251,7 +251,7 @@ namespace Microsoft.AspNet.Mvc.Formatters } /// - /// Sets the headers on object. + /// Sets the headers on object. /// /// The formatter context associated with the call. public virtual void WriteResponseHeaders(OutputFormatterWriteContext context) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StreamOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StreamOutputFormatter.cs index e1a3e911bd..49ba9d9956 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StreamOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StreamOutputFormatter.cs @@ -4,9 +4,9 @@ using System; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Features; +using Microsoft.AspNetCore.Http.Features; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Always copies the stream to the response, regardless of requested content type. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StringOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StringOutputFormatter.cs index d9b97e45bf..704a97e3cb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StringOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/StringOutputFormatter.cs @@ -4,11 +4,11 @@ using System; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// Always writes a string value to the response, regardless of requested content type. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromBodyAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromBodyAttribute.cs index 3ed87feb81..c49240523a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromBodyAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromBodyAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a parameter or property should be bound using the request body. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromFormAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromFormAttribute.cs index c84c1d5e89..8a8fb98921 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromFormAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromFormAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a parameter or property should be bound using form-data in the request body. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromHeaderAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromHeaderAttribute.cs index b6cafb49c3..ee32494183 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromHeaderAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromHeaderAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a parameter or property should be bound using the request headers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromQueryAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromQueryAttribute.cs index 01d8e94584..db76447a3c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromQueryAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromQueryAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a parameter or property should be bound using the request query string. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromRouteAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromRouteAttribute.cs index 6524a512d2..eb30d715f9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromRouteAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromRouteAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that a parameter or property should be bound using route-data from the current request. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/FromServicesAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/FromServicesAttribute.cs index ca07ad18dd..bd2af4a09f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/FromServicesAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/FromServicesAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that an action parameter should be bound using the request services. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpDeleteAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpDeleteAttribute.cs index 77323e17f1..67401c91c5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpDeleteAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpDeleteAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP DELETE method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpGetAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpGetAttribute.cs index 0405fc1dc5..2526ae8212 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpGetAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpGetAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP GET method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpHeadAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpHeadAttribute.cs index e5c3ffc2cb..74390ae130 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpHeadAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpHeadAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP HEAD method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundObjectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundObjectResult.cs index 01eaa85c6f..28b657bb84 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundObjectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundObjectResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that when executed will produce a Not Found (404) response. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundResult.cs index 5f6c002e4c..3b2be91999 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpNotFoundResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpOkObjectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpOkObjectResult.cs index 5efefa2173..7244bb01d3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpOkObjectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpOkObjectResult.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that when executed performs content negotiation, formats the entity body, and diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpOkResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpOkResult.cs index 51482ca450..5e77c902c0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpOkResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpOkResult.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that when executed will produce an empty diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpPatchAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpPatchAttribute.cs index 0cb9930c88..d6e7da6ff4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpPatchAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpPatchAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP PATCH method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpPostAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpPostAttribute.cs index 93931cd4dd..c69b76bbc5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpPostAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpPostAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP POST method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpPutAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpPutAttribute.cs index f4291021d1..854cd02e58 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpPutAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpPutAttribute.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Identifies an action that only supports the HTTP PUT method. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpResponseStreamWriter.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpResponseStreamWriter.cs index a2439d09fb..cb3e998256 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpResponseStreamWriter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpResponseStreamWriter.cs @@ -6,9 +6,9 @@ using System.Buffers; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Writes to the using the supplied . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpStatusCodeResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpStatusCodeResult.cs index c523ee9953..81b1de3b0e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpStatusCodeResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpStatusCodeResult.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when executed will diff --git a/src/Microsoft.AspNetCore.Mvc.Core/HttpUnauthorizedResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/HttpUnauthorizedResult.cs index 7e2cce0568..ad3012359d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/HttpUnauthorizedResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/HttpUnauthorizedResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when diff --git a/src/Microsoft.AspNetCore.Mvc.Core/IUrlHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/IUrlHelper.cs index 23aace66d4..e39e51c813 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/IUrlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/IUrlHelper.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Defines the contract for the helper to build URLs for ASP.NET MVC within an application. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionContextAccessor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionContextAccessor.cs index 1297871ea9..73332cd82d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionContextAccessor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionContextAccessor.cs @@ -8,7 +8,7 @@ using System.Runtime.Remoting.Messaging; using System.Threading; #endif -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class ActionContextAccessor : IActionContextAccessor { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionDescriptorCollection.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionDescriptorCollection.cs index 836a8dec03..05fc198925 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionDescriptorCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/ActionDescriptorCollection.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// A cached collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DefaultAssemblyProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DefaultAssemblyProvider.cs index ffdf3d39ae..a022dadf4c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DefaultAssemblyProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DefaultAssemblyProvider.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class DefaultAssemblyProvider : IAssemblyProvider { @@ -29,19 +29,19 @@ namespace Microsoft.AspNet.Mvc.Infrastructure // fail this test. protected virtual HashSet ReferenceAssemblies { get; } = new HashSet(StringComparer.Ordinal) { - "Microsoft.AspNet.Mvc", - "Microsoft.AspNet.Mvc.Abstractions", - "Microsoft.AspNet.Mvc.ApiExplorer", - "Microsoft.AspNet.Mvc.Core", - "Microsoft.AspNet.Mvc.Cors", - "Microsoft.AspNet.Mvc.DataAnnotations", - "Microsoft.AspNet.Mvc.Formatters.Json", - "Microsoft.AspNet.Mvc.Formatters.Xml", - "Microsoft.AspNet.Mvc.Localization", - "Microsoft.AspNet.Mvc.Razor", - "Microsoft.AspNet.Mvc.Razor.Host", - "Microsoft.AspNet.Mvc.TagHelpers", - "Microsoft.AspNet.Mvc.ViewFeatures" + "Microsoft.AspNetCore.Mvc", + "Microsoft.AspNetCore.Mvc.Abstractions", + "Microsoft.AspNetCore.Mvc.ApiExplorer", + "Microsoft.AspNetCore.Mvc.Core", + "Microsoft.AspNetCore.Mvc.Cors", + "Microsoft.AspNetCore.Mvc.DataAnnotations", + "Microsoft.AspNetCore.Mvc.Formatters.Json", + "Microsoft.AspNetCore.Mvc.Formatters.Xml", + "Microsoft.AspNetCore.Mvc.Localization", + "Microsoft.AspNetCore.Mvc.Razor", + "Microsoft.AspNetCore.Mvc.Razor.Host", + "Microsoft.AspNetCore.Mvc.TagHelpers", + "Microsoft.AspNetCore.Mvc.ViewFeatures" }; /// diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DependencyContextAssemblyProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DependencyContextAssemblyProvider.cs index 235769398c..5ac5af4d8b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DependencyContextAssemblyProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/DependencyContextAssemblyProvider.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyModel; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class DependencyContextAssemblyProvider : IAssemblyProvider { @@ -22,19 +22,19 @@ namespace Microsoft.AspNet.Mvc.Infrastructure // fail this test. protected virtual HashSet ReferenceAssemblies { get; } = new HashSet(StringComparer.Ordinal) { - "Microsoft.AspNet.Mvc", - "Microsoft.AspNet.Mvc.Abstractions", - "Microsoft.AspNet.Mvc.ApiExplorer", - "Microsoft.AspNet.Mvc.Core", - "Microsoft.AspNet.Mvc.Cors", - "Microsoft.AspNet.Mvc.DataAnnotations", - "Microsoft.AspNet.Mvc.Formatters.Json", - "Microsoft.AspNet.Mvc.Formatters.Xml", - "Microsoft.AspNet.Mvc.Localization", - "Microsoft.AspNet.Mvc.Razor", - "Microsoft.AspNet.Mvc.Razor.Host", - "Microsoft.AspNet.Mvc.TagHelpers", - "Microsoft.AspNet.Mvc.ViewFeatures" + "Microsoft.AspNetCore.Mvc", + "Microsoft.AspNetCore.Mvc.Abstractions", + "Microsoft.AspNetCore.Mvc.ApiExplorer", + "Microsoft.AspNetCore.Mvc.Core", + "Microsoft.AspNetCore.Mvc.Cors", + "Microsoft.AspNetCore.Mvc.DataAnnotations", + "Microsoft.AspNetCore.Mvc.Formatters.Json", + "Microsoft.AspNetCore.Mvc.Formatters.Xml", + "Microsoft.AspNetCore.Mvc.Localization", + "Microsoft.AspNetCore.Mvc.Razor", + "Microsoft.AspNetCore.Mvc.Razor.Host", + "Microsoft.AspNetCore.Mvc.TagHelpers", + "Microsoft.AspNetCore.Mvc.ViewFeatures" }; /// diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/HttpRequestStreamReader.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/HttpRequestStreamReader.cs index 8923762c40..66b7773344 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/HttpRequestStreamReader.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/HttpRequestStreamReader.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -7,9 +7,9 @@ using System.Diagnostics; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class HttpRequestStreamReader : TextReader { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionContextAccessor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionContextAccessor.cs index bd405e08c3..f113257439 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionContextAccessor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionContextAccessor.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public interface IActionContextAccessor { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionDescriptorCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionDescriptorCollectionProvider.cs index dc25e54a4d..2e4cd492e6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionDescriptorCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionDescriptorCollectionProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// Provides the currently cached collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionSelector.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionSelector.cs index b64f884fbc..d29a8bfac3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionSelector.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionSelector.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// Defines an interface for selecting an MVC action to invoke for the current request. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IAssemblyProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IAssemblyProvider.cs index 186635a267..f100cf0f81 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IAssemblyProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IAssemblyProvider.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// Specifies the contract for discovering assemblies that may contain Mvc specific types such as controllers, diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/StaticAssemblyProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/StaticAssemblyProvider.cs index 2fda130dfc..3c5a4eddc3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/StaticAssemblyProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/StaticAssemblyProvider.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// A with a fixed set of candidate assemblies. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AcceptHeaderParser.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AcceptHeaderParser.cs index 4d4de464bd..33eae84fdd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AcceptHeaderParser.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AcceptHeaderParser.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { public static class AcceptHeaderParser { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionConstraintCache.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionConstraintCache.cs index 53b190abd3..4600fea294 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionConstraintCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionConstraintCache.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ActionConstraintCache { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionDescriptorCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionDescriptorCollectionProvider.cs index c788279184..448b0caaae 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionDescriptorCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionDescriptorCollectionProvider.cs @@ -4,11 +4,11 @@ using System; using System.Collections.ObjectModel; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionInvokerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionInvokerFactory.cs index 9e903704e1..b654ea26a8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionInvokerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionInvokerFactory.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ActionInvokerFactory : IActionInvokerFactory { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectionDecisionTree.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectionDecisionTree.cs index d7a6d2dca8..b8db19146f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectionDecisionTree.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectionDecisionTree.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; #if NET451 using System.ComponentModel; #endif -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.DecisionTree; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.DecisionTree; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// public class ActionSelectionDecisionTree : IActionSelectionDecisionTree diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelector.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelector.cs index e0cc8c8bb3..bd9f6eb053 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelector.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelector.cs @@ -4,15 +4,15 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default implementation. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectorDecisionTreeProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectorDecisionTreeProvider.cs index 240e993342..dc685293b8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectorDecisionTreeProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ActionSelectorDecisionTreeProvider.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// public class ActionSelectorDecisionTreeProvider : IActionSelectorDecisionTreeProvider diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AllowAnonymousFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AllowAnonymousFilter.cs index ab48ea81bb..716f3d9c49 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AllowAnonymousFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AllowAnonymousFilter.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An implementation of diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AmbiguousActionException.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AmbiguousActionException.cs index 46d949e523..a9b5cee11a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AmbiguousActionException.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AmbiguousActionException.cs @@ -6,7 +6,7 @@ using System; using System.Runtime.Serialization; #endif -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An exception which indicates multiple matches in action selection. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApiDescriptionActionData.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApiDescriptionActionData.cs index 71a928d7a5..1a24b3d8bd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApiDescriptionActionData.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApiDescriptionActionData.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Represents data used to build an ApiDescription, stored as part of the diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApplicationModelConventions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApplicationModelConventions.cs index 0a9312c3e7..d4662940d9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApplicationModelConventions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApplicationModelConventions.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Applies conventions to a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRoute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRoute.cs index 8db4d71f4d..641ac90ac0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRoute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRoute.cs @@ -6,18 +6,18 @@ using System.Collections.Generic; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Internal; -using Microsoft.AspNet.Routing.Template; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Internal; +using Microsoft.AspNetCore.Routing.Template; +using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AttributeRoute : IRouter { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRouting.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRouting.cs index b102174e9c..e6f842a55c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRouting.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AttributeRouting.cs @@ -3,15 +3,15 @@ using System; using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Internal; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class AttributeRouting { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs index 87f1c9915e..f99dc3a4c2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs @@ -3,12 +3,12 @@ using System; using System.Linq; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AuthorizationApplicationModelProvider : IApplicationModelProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizeFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizeFilter.cs index 1361fc0157..db691ac04c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizeFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizeFilter.cs @@ -5,12 +5,12 @@ using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An implementation of diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorBuilder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorBuilder.cs index 21137c37b4..f458e3a0f2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorBuilder.cs @@ -7,17 +7,17 @@ using System.Diagnostics; using System.Globalization; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing.Tree; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Creates instances of from . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorProvider.cs index 047cf9af34..d2df6a11ff 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionDescriptorProvider.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionDescriptorProvider : IActionDescriptorProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionExecutor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionExecutor.cs index 62d3f41045..3a680d29cf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionExecutor.cs @@ -8,10 +8,10 @@ using System.Linq; using System.Reflection; using System.Runtime.ExceptionServices; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class ControllerActionExecutor { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionFilter.cs index 2ae0f7d4ee..7192eb19d6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionFilter.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A filter implementation which delegates to the controller for action filter interfaces. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvoker.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvoker.cs index 376923f0bb..806e2929d5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvoker.cs @@ -6,17 +6,17 @@ using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionInvoker : FilterActionInvoker { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvokerProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvokerProvider.cs index 9084650d33..2ac06e5a04 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvokerProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerActionInvokerProvider.cs @@ -5,15 +5,15 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionInvokerProvider : IActionInvokerProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerArgumentBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerArgumentBinder.cs index 7e6adbfe4e..d632b1f68e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerArgumentBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerArgumentBinder.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Provides a default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerResultFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerResultFilter.cs index 256b3dda2b..8b37ddccc7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerResultFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllerResultFilter.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A filter implementation which delegates to the controller for result filter interfaces. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllersAsServices.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllersAsServices.cs index a85de4d081..df3062fb0f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllersAsServices.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ControllersAsServices.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class ControllersAsServices { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/CopyOnWriteList.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/CopyOnWriteList.cs index 4c78e2157d..fd7d171168 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/CopyOnWriteList.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/CopyOnWriteList.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class CopyOnWriteList : IList { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultActionConstraintProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultActionConstraintProvider.cs index fb30732363..adade75d66 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultActionConstraintProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultActionConstraintProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs index 70f07011c1..d3785b00d0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs @@ -5,17 +5,17 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultApplicationModelProvider : IApplicationModelProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultBindingMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultBindingMetadataProvider.cs index a5723762e0..a8d69ea777 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultBindingMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultBindingMetadataProvider.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCollectionValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCollectionValidationStrategy.cs index e9d121ba48..fd9f02d49b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCollectionValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCollectionValidationStrategy.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// The default implementation of for a collection. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultComplexObjectValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultComplexObjectValidationStrategy.cs index f86532f2ab..a0744bba58 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultComplexObjectValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultComplexObjectValidationStrategy.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// The default implementation of for a complex object. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCompositeMetadataDetailsProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCompositeMetadataDetailsProvider.cs index df3d7a1ad8..36cd8d04df 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCompositeMetadataDetailsProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultCompositeMetadataDetailsProvider.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultControllerPropertyActivator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultControllerPropertyActivator.cs index 5e29cb84b1..366eb6e789 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultControllerPropertyActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultControllerPropertyActivator.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultControllerPropertyActivator : IControllerPropertyActivator { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultFilterProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultFilterProvider.cs index 8301d3f0da..51bee5618c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultFilterProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultFilterProvider.cs @@ -3,10 +3,10 @@ using System; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultFilterProvider : IFilterProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelValidatorProvider.cs index 2f2da71e9a..040b2d7066 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelValidatorProvider.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultObjectValidator.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultObjectValidator.cs index a16eef1011..d84f1a7efe 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultObjectValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultObjectValidator.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// The default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultValidationMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultValidationMetadataProvider.cs index c9c27be51d..7917cd9144 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultValidationMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultValidationMetadataProvider.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ElementalValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ElementalValueProvider.cs index c6f65d820b..a021b6642a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ElementalValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ElementalValueProvider.cs @@ -3,9 +3,9 @@ using System; using System.Globalization; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ElementalValueProvider : IValueProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs index ea75f5c7da..16f57ebc8f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An implementation of for a collection bound using 'explict indexing' diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterActionInvoker.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterActionInvoker.cs index a88285f3ae..4754d8556b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterActionInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterActionInvoker.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.Diagnostics; using System.Runtime.ExceptionServices; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public abstract class FilterActionInvoker : IActionInvoker { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterCache.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterCache.cs index c2d5afa706..8b8fce6972 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterCache.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class FilterCache { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterDescriptorOrderComparer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterDescriptorOrderComparer.cs index f5e4a21595..766cb0d964 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterDescriptorOrderComparer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterDescriptorOrderComparer.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class FilterDescriptorOrderComparer : IComparer { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterItemOrderComparer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterItemOrderComparer.cs index a98a6c5f9e..00f3e86316 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterItemOrderComparer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FilterItemOrderComparer.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class FilterItemOrderComparer : IComparer { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpMethodActionConstraint.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpMethodActionConstraint.cs index 7682d30d10..187c4efed0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpMethodActionConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpMethodActionConstraint.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class HttpMethodActionConstraint : IActionConstraint { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpParseResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpParseResult.cs index b40895c0d5..84e76f08d4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpParseResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpParseResult.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { public enum HttpParseResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs index 4aeb153d9f..2c05647316 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs @@ -4,7 +4,7 @@ using System.Diagnostics.Contracts; using System.Text; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { public static class HttpTokenParsingRules { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionInvokerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionInvokerFactory.cs index 24a5d93831..0408afc123 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionInvokerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionInvokerFactory.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public interface IActionInvokerFactory { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionSelectorDecisionTreeProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionSelectorDecisionTreeProvider.cs index 532999dbf7..4302cf878d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionSelectorDecisionTreeProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionSelectorDecisionTreeProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Stores an for the current value of diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IConsumesActionConstraint.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IConsumesActionConstraint.cs index 14f0547ad3..b004cbdcf3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IConsumesActionConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IConsumesActionConstraint.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An constraint that identifies a type which can be used to select an action diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IFormatFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IFormatFilter.cs index f9bc689d6b..0a769561fc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IFormatFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IFormatFilter.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { /// /// A filter which produces a desired content type for the current request. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpRequestStreamReaderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpRequestStreamReaderFactory.cs index bf36c7eb43..ecd0073aa8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpRequestStreamReaderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpRequestStreamReaderFactory.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Creates instances for reading from . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpResponseStreamWriterFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpResponseStreamWriterFactory.cs index f0244d4b98..c76661bc63 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpResponseStreamWriterFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IHttpResponseStreamWriterFactory.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Creates instances for writing to . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IResponseCacheFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IResponseCacheFilter.cs index fc0877cd71..bec568b23a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/IResponseCacheFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/IResponseCacheFilter.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An which sets the appropriate headers related to Response caching. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ITypeActivatorCache.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ITypeActivatorCache.cs index 118125620f..b77c47e76c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ITypeActivatorCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ITypeActivatorCache.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Caches instances produced by diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MediaTypeSegmentWithQuality.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MediaTypeSegmentWithQuality.cs index 949e721f46..c9a8f4502e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MediaTypeSegmentWithQuality.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MediaTypeSegmentWithQuality.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { /// /// A media type with its associated quality. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpRequestStreamReaderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpRequestStreamReaderFactory.cs index 7797c7a3b1..0e2cc41fe3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpRequestStreamReaderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpRequestStreamReaderFactory.cs @@ -5,9 +5,9 @@ using System; using System.Buffers; using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An that uses pooled buffers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpResponseStreamWriterFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpResponseStreamWriterFactory.cs index 02a281ac47..4ea586adf5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpResponseStreamWriterFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MemoryPoolHttpResponseStreamWriterFactory.cs @@ -6,7 +6,7 @@ using System.Buffers; using System.IO; using System.Text; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An that uses pooled buffers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcBuilder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcBuilder.cs index 9d67c6d259..ed25f55d29 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcBuilder.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class MvcBuilder : IMvcBuilder { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreBuilder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreBuilder.cs index 27b43dffe3..3cdef79c09 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreBuilder.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class MvcCoreBuilder : IMvcCoreBuilder { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreDiagnosticSourceExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreDiagnosticSourceExtensions.cs index f2ee7575ee..79086cf137 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreDiagnosticSourceExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreDiagnosticSourceExtensions.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class MvcCoreDiagnosticSourceExtensions { @@ -18,10 +18,10 @@ namespace Microsoft.AspNet.Mvc.Internal HttpContext httpContext, RouteData routeData) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeAction")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeAction")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeAction", + "Microsoft.AspNetCore.Mvc.BeforeAction", new { actionDescriptor, httpContext = httpContext, routeData = routeData }); } } @@ -32,10 +32,10 @@ namespace Microsoft.AspNet.Mvc.Internal HttpContext httpContext, RouteData routeData) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterAction")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterAction")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterAction", + "Microsoft.AspNetCore.Mvc.AfterAction", new { actionDescriptor, httpContext = httpContext, routeData = routeData }); } } @@ -45,10 +45,10 @@ namespace Microsoft.AspNet.Mvc.Internal AuthorizationContext authorizationContext, IAsyncAuthorizationFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnAuthorization")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnAuthorization")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnAuthorization", + "Microsoft.AspNetCore.Mvc.BeforeOnAuthorization", new { actionDescriptor = authorizationContext.ActionDescriptor, @@ -63,10 +63,10 @@ namespace Microsoft.AspNet.Mvc.Internal AuthorizationContext authorizationContext, IAsyncAuthorizationFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnAuthorization")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnAuthorization")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnAuthorization", + "Microsoft.AspNetCore.Mvc.AfterOnAuthorization", new { actionDescriptor = authorizationContext.ActionDescriptor, @@ -81,10 +81,10 @@ namespace Microsoft.AspNet.Mvc.Internal AuthorizationContext authorizationContext, IAuthorizationFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnAuthorization")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnAuthorization")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnAuthorization", + "Microsoft.AspNetCore.Mvc.BeforeOnAuthorization", new { actionDescriptor = authorizationContext.ActionDescriptor, @@ -99,10 +99,10 @@ namespace Microsoft.AspNet.Mvc.Internal AuthorizationContext authorizationContext, IAuthorizationFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnAuthorization")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnAuthorization")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnAuthorization", + "Microsoft.AspNetCore.Mvc.AfterOnAuthorization", new { actionDescriptor = authorizationContext.ActionDescriptor, @@ -117,10 +117,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutingContext resourceExecutingContext, IAsyncResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResourceExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResourceExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResourceExecution", + "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecution", new { actionDescriptor = resourceExecutingContext.ActionDescriptor, @@ -136,10 +136,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutedContext resourceExecutedContext, IAsyncResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResourceExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResourceExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResourceExecution", + "Microsoft.AspNetCore.Mvc.AfterOnResourceExecution", new { actionDescriptor = actionDescriptor, @@ -154,10 +154,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutingContext resourceExecutingContext, IResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResourceExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResourceExecuting", + "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuting", new { actionDescriptor = resourceExecutingContext.ActionDescriptor, @@ -172,10 +172,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutingContext resourceExecutingContext, IResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResourceExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResourceExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResourceExecuting", + "Microsoft.AspNetCore.Mvc.AfterOnResourceExecuting", new { actionDescriptor = resourceExecutingContext.ActionDescriptor, @@ -191,10 +191,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutedContext resourceExecutedContext, IResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResourceExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResourceExecuted", + "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuted", new { actionDescriptor = actionDescriptor, @@ -210,10 +210,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResourceExecutedContext resourceExecutedContext, IResourceFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResourceExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResourceExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResourceExecuted", + "Microsoft.AspNetCore.Mvc.AfterOnResourceExecuted", new { actionDescriptor = actionDescriptor, @@ -228,10 +228,10 @@ namespace Microsoft.AspNet.Mvc.Internal ExceptionContext exceptionContext, IAsyncExceptionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnException")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnException")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnException", + "Microsoft.AspNetCore.Mvc.BeforeOnException", new { actionDescriptor = exceptionContext.ActionDescriptor, @@ -246,10 +246,10 @@ namespace Microsoft.AspNet.Mvc.Internal ExceptionContext exceptionContext, IAsyncExceptionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnException")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnException")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnException", + "Microsoft.AspNetCore.Mvc.AfterOnException", new { actionDescriptor = exceptionContext.ActionDescriptor, @@ -264,10 +264,10 @@ namespace Microsoft.AspNet.Mvc.Internal ExceptionContext exceptionContext, IExceptionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnException")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnException")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnException", + "Microsoft.AspNetCore.Mvc.BeforeOnException", new { actionDescriptor = exceptionContext.ActionDescriptor, @@ -282,10 +282,10 @@ namespace Microsoft.AspNet.Mvc.Internal ExceptionContext exceptionContext, IExceptionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnException")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnException")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnException", + "Microsoft.AspNetCore.Mvc.AfterOnException", new { actionDescriptor = exceptionContext.ActionDescriptor, @@ -300,10 +300,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutingContext actionExecutingContext, IAsyncActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnActionExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnActionExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnActionExecution", + "Microsoft.AspNetCore.Mvc.BeforeOnActionExecution", new { actionDescriptor = actionExecutingContext.ActionDescriptor, @@ -319,10 +319,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutedContext actionExecutedContext, IAsyncActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnActionExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnActionExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnActionExecution", + "Microsoft.AspNetCore.Mvc.AfterOnActionExecution", new { actionDescriptor = actionDescriptor, @@ -337,10 +337,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutingContext actionExecutingContext, IActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnActionExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnActionExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnActionExecuting", + "Microsoft.AspNetCore.Mvc.BeforeOnActionExecuting", new { actionDescriptor = actionExecutingContext.ActionDescriptor, @@ -355,10 +355,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutingContext actionExecutingContext, IActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnActionExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnActionExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnActionExecuting", + "Microsoft.AspNetCore.Mvc.AfterOnActionExecuting", new { actionDescriptor = actionExecutingContext.ActionDescriptor, @@ -374,10 +374,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutedContext actionExecutedContext, IActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnActionExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnActionExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnActionExecuted", + "Microsoft.AspNetCore.Mvc.BeforeOnActionExecuted", new { actionDescriptor = actionDescriptor, @@ -393,10 +393,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionExecutedContext actionExecutedContext, IActionFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnActionExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnActionExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnActionExecuted", + "Microsoft.AspNetCore.Mvc.AfterOnActionExecuted", new { actionDescriptor = actionDescriptor, @@ -412,10 +412,10 @@ namespace Microsoft.AspNet.Mvc.Internal IDictionary actionArguments, object controller) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeActionMethod")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeActionMethod")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeActionMethod", + "Microsoft.AspNetCore.Mvc.BeforeActionMethod", new { actionContext = actionContext, @@ -432,10 +432,10 @@ namespace Microsoft.AspNet.Mvc.Internal object controller, IActionResult result) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterActionMethod")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterActionMethod")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterActionMethod", + "Microsoft.AspNetCore.Mvc.AfterActionMethod", new { actionContext = actionContext, @@ -451,10 +451,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutingContext resultExecutingContext, IAsyncResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResultExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResultExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResultExecution", + "Microsoft.AspNetCore.Mvc.BeforeOnResultExecution", new { actionDescriptor = resultExecutingContext.ActionDescriptor, @@ -470,10 +470,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutedContext resultExecutedContext, IAsyncResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResultExecution")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResultExecution")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResultExecution", + "Microsoft.AspNetCore.Mvc.AfterOnResultExecution", new { actionDescriptor = actionDescriptor, @@ -488,10 +488,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutingContext resultExecutingContext, IResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResultExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResultExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResultExecuting", + "Microsoft.AspNetCore.Mvc.BeforeOnResultExecuting", new { actionDescriptor = resultExecutingContext.ActionDescriptor, @@ -506,10 +506,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutingContext resultExecutingContext, IResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResultExecuting")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResultExecuting")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResultExecuting", + "Microsoft.AspNetCore.Mvc.AfterOnResultExecuting", new { actionDescriptor = resultExecutingContext.ActionDescriptor, @@ -525,10 +525,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutedContext resultExecutedContext, IResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeOnResultExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeOnResultExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeOnResultExecuted", + "Microsoft.AspNetCore.Mvc.BeforeOnResultExecuted", new { actionDescriptor = actionDescriptor, @@ -544,10 +544,10 @@ namespace Microsoft.AspNet.Mvc.Internal ResultExecutedContext resultExecutedContext, IResultFilter filter) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterOnResultExecuted")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterOnResultExecuted")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterOnResultExecuted", + "Microsoft.AspNetCore.Mvc.AfterOnResultExecuted", new { actionDescriptor = actionDescriptor, @@ -562,10 +562,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionContext actionContext, IActionResult result) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeActionResult")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeActionResult")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeActionResult", + "Microsoft.AspNetCore.Mvc.BeforeActionResult", new { actionContext = actionContext, result = result }); } } @@ -575,10 +575,10 @@ namespace Microsoft.AspNet.Mvc.Internal ActionContext actionContext, IActionResult result) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterActionResult")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterActionResult")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterActionResult", + "Microsoft.AspNetCore.Mvc.AfterActionResult", new { actionContext = actionContext, result = result }); } } diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs index 504638a330..98970281cf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { internal static class MvcCoreLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs index 4354ac41b7..898e8dd3c9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreMvcOptionsSetup.cs @@ -3,16 +3,16 @@ using System; using System.Threading; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreRouteOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreRouteOptionsSetup.cs index 2500809103..e31ac88abc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreRouteOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreRouteOptionsSetup.cs @@ -1,11 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Sets up MVC default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcMarkerService.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcMarkerService.cs index bda9c2219a..c2eb80ada2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcMarkerService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcMarkerService.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A marker class used to determine if all the MVC services were added diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcRouteHandler.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcRouteHandler.cs index cfdc2f6d1c..7acfc7a550 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcRouteHandler.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcRouteHandler.cs @@ -4,17 +4,17 @@ using System; using System.Diagnostics; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class MvcRouteHandler : IRouter { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/NonDisposableStream.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/NonDisposableStream.cs index 7f52396fae..16604e6ced 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/NonDisposableStream.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/NonDisposableStream.cs @@ -6,7 +6,7 @@ using System.IO; using System.Threading; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Stream that delegates to an inner stream. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ObjectResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ObjectResultExecutor.cs index 64627ece18..b57b794714 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ObjectResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ObjectResultExecutor.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -6,17 +6,17 @@ using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Formatters.Internal; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Executes an to write to the response. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/PrefixContainer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/PrefixContainer.cs index 682b7b2d91..1542b96fa3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/PrefixContainer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/PrefixContainer.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Diagnostics; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// This is a container for prefix values. It normalizes all the values into dotted-form and then stores diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ReferenceEqualityComparer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ReferenceEqualityComparer.cs index 1ee659bd89..f6af6e7e76 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ReferenceEqualityComparer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ReferenceEqualityComparer.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { internal class ReferenceEqualityComparer : IEqualityComparer { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseCacheFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseCacheFilter.cs index 761a4c3566..0c08580a35 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseCacheFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseCacheFilter.cs @@ -4,12 +4,12 @@ using System; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An which sets the appropriate headers related to response caching. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseContentTypeHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseContentTypeHelper.cs index 658618dc95..936ef92973 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseContentTypeHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResponseContentTypeHelper.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class ResponseContentTypeHelper { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/RouteConstraintAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/RouteConstraintAttribute.cs index c132304631..1e91951e01 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/RouteConstraintAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/RouteConstraintAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// An attribute which specifies a required route value for an action or controller. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs index cf094b666e..3dad102c4b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// An implementation of for a dictionary bound with 'short form' style keys. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs index 005491aa59..504d65931b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class TaskCache { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCacheOfT.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCacheOfT.cs index 6a55a1b668..333c9d4a0d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCacheOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCacheOfT.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public static class TaskCache { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TypeActivatorCache.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TypeActivatorCache.cs index 8a2ca2b58d..36c0d947d3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/TypeActivatorCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/TypeActivatorCache.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Concurrent; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Caches instances produced by diff --git a/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs index 89ef506567..82002493e9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An that returns a redirect to the supplied local URL. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ControllerActionInvokerLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ControllerActionInvokerLoggerExtensions.cs index cbbb4b5a6d..cddfc071f0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ControllerActionInvokerLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ControllerActionInvokerLoggerExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class ControllerActionInvokerLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/DefaultActionSelectorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/DefaultActionSelectorLoggerExtensions.cs index fe30863d1d..625640f4a1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/DefaultActionSelectorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/DefaultActionSelectorLoggerExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class DefaultActionSelectorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/FileResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/FileResultLoggerExtensions.cs index 8bacf7745b..07b5c735bd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/FileResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/FileResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class FileResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/FilterActionInvokerLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/FilterActionInvokerLoggerExtensions.cs index 3f3a9e6ae8..41fd5cb30a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/FilterActionInvokerLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/FilterActionInvokerLoggerExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class FilterActionInvokerLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ForbidResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ForbidResultLoggerExtensions.cs index c5aa05ce15..9d442f9341 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ForbidResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ForbidResultLoggerExtensions.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class ForbidResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/HttpStatusCodeResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/HttpStatusCodeResultLoggerExtensions.cs index 514168d5f4..12f2a4de92 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/HttpStatusCodeResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/HttpStatusCodeResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class HttpStatusCodeLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/LocalRedirectResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/LocalRedirectResultLoggerExtensions.cs index 47065347d2..ddb87a7b48 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/LocalRedirectResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/LocalRedirectResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class LocalRedirectResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ObjectResultExecutorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ObjectResultExecutorLoggerExtensions.cs index ca5829d7ad..aa93f3ff74 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ObjectResultExecutorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ObjectResultExecutorLoggerExtensions.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class ObjectResultExecutorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectResultLoggerExtensions.cs index 50c7d1951c..97b20441a6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class RedirectResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToActionResultLoggerExtension.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToActionResultLoggerExtension.cs index 0ee6444d78..81682b0f13 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToActionResultLoggerExtension.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToActionResultLoggerExtension.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class RedirectToActionResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToRouteResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToRouteResultLoggerExtensions.cs index 2f8b18d273..150d346aa3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToRouteResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/RedirectToRouteResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class RedirectToRouteResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ViewResultExecutorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ViewResultExecutorLoggerExtensions.cs index 543c2590a8..66b7d80b0e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Logging/ViewResultExecutorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Logging/ViewResultExecutorLoggerExtensions.cs @@ -1,8 +1,8 @@ -using System; +using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class ViewResultExecutorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs index d42cf6e0f0..461cf0e5ef 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinderAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An attribute that can specify a model name or type of to use for binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ArrayModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ArrayModelBinder.cs index 06debcf8d3..1c2a55ea28 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ArrayModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ArrayModelBinder.cs @@ -7,7 +7,7 @@ using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation for binding array values. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindNeverAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindNeverAttribute.cs index 8ca2c5f046..e054af4295 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindNeverAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindNeverAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public sealed class BindNeverAttribute : BindingBehaviorAttribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindRequiredAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindRequiredAttribute.cs index 9a36426b18..3bb5255ae1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindRequiredAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindRequiredAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public sealed class BindRequiredAttribute : BindingBehaviorAttribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BinderTypeBasedModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BinderTypeBasedModelBinder.cs index 333d7e9be4..a62f86b59a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BinderTypeBasedModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BinderTypeBasedModelBinder.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Concurrent; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An which can bind a model based on the value of diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehavior.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehavior.cs index cbe0844e75..f97632bed4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehavior.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehavior.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public enum BindingBehavior { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehaviorAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehaviorAttribute.cs index 705c849cc8..3bfeef6884 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehaviorAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingBehaviorAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class BindingBehaviorAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingSourceValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingSourceValueProvider.cs index ce50c9bef1..2cb4198ae5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingSourceValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BindingSourceValueProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A value provider which provides data from a specific . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BodyModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BodyModelBinder.cs index 05e4caca8a..532368e395 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BodyModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/BodyModelBinder.cs @@ -6,11 +6,11 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An which binds models from the request body using an diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ByteArrayModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ByteArrayModelBinder.cs index eada01b85c..399e6fc3a7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ByteArrayModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ByteArrayModelBinder.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// ModelBinder to bind Byte Arrays. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CancellationTokenModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CancellationTokenModelBinder.cs index 0ded18aa48..8df6e9b69c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CancellationTokenModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CancellationTokenModelBinder.cs @@ -4,7 +4,7 @@ using System.Threading; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation to bind models of type . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CollectionModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CollectionModelBinder.cs index 073f3b8829..ead04b7c9f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CollectionModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CollectionModelBinder.cs @@ -11,10 +11,10 @@ using System.Linq; using System.Reflection; #endif using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation for binding collection values. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeModelBinder.cs index 26d4f227d8..94e2893c39 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeModelBinder.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents an that delegates to one of a collection of diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeValueProvider.cs index 493665e0d7..be03408732 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/CompositeValueProvider.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents a whose values come from a collection of s. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DefaultPropertyBindingPredicateProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DefaultPropertyBindingPredicateProvider.cs index 1a1c97f19e..111d45f353 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DefaultPropertyBindingPredicateProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DefaultPropertyBindingPredicateProvider.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Default implementation for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DictionaryModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DictionaryModelBinder.cs index f4f5121ee7..21dcb61578 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DictionaryModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/DictionaryModelBinder.cs @@ -9,10 +9,10 @@ using System.Linq; using System.Reflection; #endif using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation for binding dictionary values. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/EmptyModelMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/EmptyModelMetadataProvider.cs index 8b5906c36b..9a9405fc87 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/EmptyModelMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/EmptyModelMetadataProvider.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class EmptyModelMetadataProvider : DefaultModelMetadataProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormCollectionModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormCollectionModelBinder.cs index 8d30f3268d..0813fde64d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormCollectionModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormCollectionModelBinder.cs @@ -6,11 +6,11 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation to bind form values to . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormFileModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormFileModelBinder.cs index c98d189be2..5a16880412 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormFileModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormFileModelBinder.cs @@ -9,11 +9,11 @@ using System.Linq; using System.Reflection; #endif using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation to bind posted files to . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProvider.cs index 9fe9f9b4e3..97e6837b4c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProvider.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An adapter for data stored in an . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProviderFactory.cs index 9abc60e999..f050cbace3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/FormValueProviderFactory.cs @@ -4,10 +4,10 @@ using System; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class FormValueProviderFactory : IValueProviderFactory { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/GenericModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/GenericModelBinder.cs index 7df1ea63b4..d6776c31b3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/GenericModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/GenericModelBinder.cs @@ -10,7 +10,7 @@ using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class GenericModelBinder : IModelBinder { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/HeaderModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/HeaderModelBinder.cs index a3348c3f42..e3b3ba3353 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/HeaderModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/HeaderModelBinder.cs @@ -6,9 +6,9 @@ using System.Collections.Generic; using System.Reflection; #endif using System.Threading.Tasks; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An which binds models from the request headers when a model diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IBindingSourceValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IBindingSourceValueProvider.cs index 49d3f715ac..dcd948fd29 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IBindingSourceValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IBindingSourceValueProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A value provider which can filter its contents based on . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICollectionModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICollectionModelBinder.cs index 13c4be6091..b3c5781e3e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICollectionModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICollectionModelBinder.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Interface for model binding collections. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeModelBinder.cs index bb1bf8bdf5..ce6102e9bd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeModelBinder.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents an aggregate of that delegates to one of the instances for model binding. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeValueProviderFactory.cs index d911345874..979d2c5422 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ICompositeValueProviderFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Represents an aggregate of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IEnumerableValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IEnumerableValueProvider.cs index 003f9cca4d..2e1a1cb82c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IEnumerableValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/IEnumerableValueProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public interface IEnumerableValueProvider : IValueProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProvider.cs index 9f1f2fbb58..b9eb3862d0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProvider.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An for jQuery formatted form data. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProviderFactory.cs index 7cf1303f4c..86799d632b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/JQueryFormValueProviderFactory.cs @@ -6,12 +6,12 @@ using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/KeyValuePairModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/KeyValuePairModelBinder.cs index f64bc17fcc..4d272121f5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/KeyValuePairModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/KeyValuePairModelBinder.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public sealed class KeyValuePairModelBinder : IModelBinder { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadata.cs index 9ef873b6e2..19994e1505 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadata.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Binding metadata details for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadataProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadataProviderContext.cs index 8eff371daf..24fdc2475f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadataProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/BindingMetadataProviderContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A context for an . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultMetadataDetails.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultMetadataDetails.cs index 36fad1c9c7..626d253196 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultMetadataDetails.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultMetadataDetails.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Holds associated metadata objects for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadata.cs index 5029f68c98..5e16176c41 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadata.cs @@ -7,13 +7,13 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; #if DOTNET5_4 using System.Reflection; #endif using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A default implementation. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadataProvider.cs index 356ba46676..f8bc8524d5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DefaultModelMetadataProvider.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Reflection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A default implementation of based on reflection. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs index e72ff6113e..503ace4b5d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Display metadata details for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadataProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadataProviderContext.cs index 680a239e3d..650583557e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadataProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadataProviderContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A context for and . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IBindingMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IBindingMetadataProvider.cs index da2574adb9..f628369272 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IBindingMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IBindingMetadataProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Provides for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs index a0bb4422df..58813af161 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A composite . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IDisplayMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IDisplayMetadataProvider.cs index 5b57f63109..b498e8c19b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IDisplayMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IDisplayMetadataProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Provides for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IMetadataDetailsProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IMetadataDetailsProvider.cs index f4ec825b7b..143ceb4faf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IMetadataDetailsProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IMetadataDetailsProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Marker interface for a provider of metadata details about model objects. Implementations should diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IValidationMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IValidationMetadataProvider.cs index da2af3af54..2728baa219 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IValidationMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/IValidationMetadataProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Provides for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelAttributes.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelAttributes.cs index 047ea84549..f1e30efd87 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelAttributes.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelAttributes.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Provides access to the combined list of attributes associated a or property. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelBindingMessageProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelBindingMessageProvider.cs index 957827dde8..9803048088 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelBindingMessageProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ModelBindingMessageProvider.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Read / write implementation. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadata.cs index 89058ed55b..57c38cef5f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadata.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// Validation metadata details for a . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadataProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadataProviderContext.cs index a5ef6c4efb..84cfdd76bf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadataProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ValidationMetadataProviderContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// A context for an . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBindingHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBindingHelper.cs index 38fd4ee879..6b2f64f1e5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBindingHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBindingHelper.cs @@ -11,12 +11,12 @@ using System.Linq.Expressions; using System.Reflection; using System.Runtime.ExceptionServices; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public static class ModelBindingHelper { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelMetadataProviderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelMetadataProviderExtensions.cs index 8509574c65..ab2c2ab3d4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelMetadataProviderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelMetadataProviderExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Core; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Extensions methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelNames.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelNames.cs index 24e97a3c8d..248cb50612 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelNames.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelNames.cs @@ -3,7 +3,7 @@ using System.Globalization; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public static class ModelNames { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinder.cs index 44d37fa32e..b773a4aa6b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinder.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Reflection; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// implementation for binding complex values. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinderContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinderContext.cs index 6d960fc237..4ae1422b51 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/MutableObjectModelBinderContext.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class MutableObjectBinderContext { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProvider.cs index 07f1646bf5..3fc397bbc7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProvider.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An adapter for data stored in an . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProviderFactory.cs index 4a18b0f29c..17d869dc47 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/QueryStringValueProviderFactory.cs @@ -5,7 +5,7 @@ using System; using System.Globalization; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A that creates instances that diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProvider.cs index cd15df6d7d..eeb229e9fd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProvider.cs @@ -3,10 +3,10 @@ using System; using System.Globalization; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An adapter for data stored in an . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProviderFactory.cs index 803b2d5426..b16cf4eae1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/RouteValueProviderFactory.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// A for creating instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ServicesModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ServicesModelBinder.cs index 131dbb8cb7..0a38fa2b33 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ServicesModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ServicesModelBinder.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An which binds models from the request services when a model diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/SimpleTypeModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/SimpleTypeModelBinder.cs index 7747433b2e..09b4a8c4b1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/SimpleTypeModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/SimpleTypeModelBinder.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class SimpleTypeModelBinder : IModelBinder { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs index 45336f6055..9913d4d4f5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Aggregate of s that delegates to its underlying providers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeModelValidatorProvider.cs index 8e65c8e38c..60162ca610 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/CompositeModelValidatorProvider.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Aggregate of s that delegates to its underlying providers. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/IObjectModelValidator.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/IObjectModelValidator.cs index 9f4702950a..2ed2d9f8f8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/IObjectModelValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/IObjectModelValidator.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// Provides methods to validate an object graph. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationExcludeFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationExcludeFilter.cs index 3bcdd3912f..312f452851 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationExcludeFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationExcludeFilter.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// An which configures to diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationVisitor.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationVisitor.cs index a38f4d9eeb..d618ee8132 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationVisitor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationVisitor.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { /// /// A visitor implementation that interprets to traverse diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ValueProviderResultExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ValueProviderResultExtensions.cs index aa2173ca8f..4332be9195 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ValueProviderResultExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ValueProviderResultExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Extensions methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelMetadataTypeAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelMetadataTypeAttribute.cs index deab607307..a794257147 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelMetadataTypeAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelMetadataTypeAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// This attribute specifies the metadata class to associate with a data model class. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/MvcOptions.cs b/src/Microsoft.AspNetCore.Mvc.Core/MvcOptions.cs index 7f07a10a13..6e00e85149 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/MvcOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/MvcOptions.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Provides programmatic configuration for the MVC framework. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/NoContentResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/NoContentResult.cs index 2d80819441..862165fb4f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/NoContentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/NoContentResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class NoContentResult : HttpStatusCodeResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/NonActionAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/NonActionAttribute.cs index f135b9cbbd..8df8a93844 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/NonActionAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/NonActionAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class NonActionAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.Core/NonControllerAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/NonControllerAttribute.cs index df0b8b6893..518b7c6c50 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/NonControllerAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/NonControllerAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Indicates that the type and any derived types that this attribute is applied to diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ObjectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ObjectResult.cs index 2957b7a5ce..afa9e77006 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ObjectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ObjectResult.cs @@ -3,11 +3,11 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ObjectResult : ActionResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/PhysicalFileResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/PhysicalFileResult.cs index 70d2465f55..b756b19c16 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/PhysicalFileResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/PhysicalFileResult.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A on execution will write a file from disk to the response diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ProducesAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ProducesAttribute.cs index 6865dc39e9..efc2100597 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ProducesAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ProducesAttribute.cs @@ -4,15 +4,15 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies the allowed content types and the type of the value returned by the action diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs index a9b392f303..bd04685e2d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs @@ -5,9 +5,9 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Core.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Core.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs index bfab63354e..a5c4c6821a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Core +namespace Microsoft.AspNetCore.Mvc.Core { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Core internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Core.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Core.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The argument '{0}' is invalid. Media types which match all types or match all subtypes are not supported. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs index d28fe88918..ec57c33df9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectResult : ActionResult, IKeepTempDataResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs index 6cc364639f..15a645f77f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectToActionResult : ActionResult, IKeepTempDataResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs index 45584fdc71..f1a9af4259 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectToRouteResult : ActionResult, IKeepTempDataResult { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RequireHttpsAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/RequireHttpsAttribute.cs index 84d06d200c..a272fc5ce1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RequireHttpsAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RequireHttpsAttribute.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)] public class RequireHttpsAttribute : Attribute, IAuthorizationFilter, IOrderedFilter diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheAttribute.cs index e8aa125ddc..06d47de57e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheAttribute.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies the parameters necessary for setting appropriate headers in response caching. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheLocation.cs b/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheLocation.cs index 31708b3995..8f9e852de0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheLocation.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ResponseCacheLocation.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Determines the value for the "Cache-control" header in the response. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RouteAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/RouteAttribute.cs index 45fd7ba87d..5a7875d9d3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RouteAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RouteAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies an attribute route on a controller. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/HttpMethodAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/HttpMethodAttribute.cs index fff9d1c2b6..7a7d1c203a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/HttpMethodAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/HttpMethodAttribute.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Identifies an action that only supports a given set of HTTP methods. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionHttpMethodProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionHttpMethodProvider.cs index ee2362e9a3..2c5d640ee8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionHttpMethodProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionHttpMethodProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public interface IActionHttpMethodProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionSelectionDecisionTree.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionSelectionDecisionTree.cs index 09ebfa997e..96569db131 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionSelectionDecisionTree.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IActionSelectionDecisionTree.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// A data structure that retrieves a list of matches based on the values - /// supplied for the current request by . + /// supplied for the current request by . /// public interface IActionSelectionDecisionTree { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteConstraintProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteConstraintProvider.cs index 4659a7eedb..4d7fb4a800 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteConstraintProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteConstraintProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// An interface for metadata which provides values diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteTemplateProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteTemplateProvider.cs index 6df1cfcdfa..9d644cba37 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteTemplateProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IRouteTemplateProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Interface for attributes which can supply a route template for attribute routing. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IUrlHelperFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IUrlHelperFactory.cs index 1a718182ed..9eecb96115 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/IUrlHelperFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/IUrlHelperFactory.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// A factory for creating instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/KnownRouteValueConstraint.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/KnownRouteValueConstraint.cs index c52ca3b894..bb629f52d6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/KnownRouteValueConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/KnownRouteValueConstraint.cs @@ -3,13 +3,13 @@ using System; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public class KnownRouteValueConstraint : IRouteConstraint { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlActionContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlActionContext.cs index 238205ef40..e09ecf1197 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlActionContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlActionContext.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Context object to be used for the URLs that generates. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs index 697487bd32..21d37a36ce 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs @@ -4,10 +4,10 @@ using System; using System.Diagnostics; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// An implementation of that contains methods to diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelperFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelperFactory.cs index 06ac87ce95..e90f140ee4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelperFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelperFactory.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlRouteContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlRouteContext.cs index 8695aa93e2..f2844c8ebb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlRouteContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlRouteContext.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { /// /// Context object to be used for the URLs that generates. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/SerializableError.cs b/src/Microsoft.AspNetCore.Mvc.Core/SerializableError.cs index 7b5275944f..25e0f28c1a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/SerializableError.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/SerializableError.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Defines a serializable container for storing ModelState information. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ServiceFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/ServiceFilterAttribute.cs index 8531c9ebfd..0d78bf4628 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ServiceFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ServiceFilterAttribute.cs @@ -3,11 +3,11 @@ using System; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] [DebuggerDisplay("ServiceFilter: Type={ServiceType} Order={Order}")] diff --git a/src/Microsoft.AspNetCore.Mvc.Core/TypeFilterAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/TypeFilterAttribute.cs index 5d553e8339..41e34593a0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/TypeFilterAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/TypeFilterAttribute.cs @@ -4,10 +4,10 @@ using System; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] [DebuggerDisplay("TypeFilter: Type={ImplementationType} Order={Order}")] diff --git a/src/Microsoft.AspNetCore.Mvc.Core/UnsupportedMediaTypeResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/UnsupportedMediaTypeResult.cs index 599ea1b432..cb6a6b287f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/UnsupportedMediaTypeResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/UnsupportedMediaTypeResult.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A that when diff --git a/src/Microsoft.AspNetCore.Mvc.Core/UrlHelperExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/UrlHelperExtensions.cs index 410a98c050..5171f7ec4f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/UrlHelperExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/UrlHelperExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public static class UrlHelperExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ViewFeatures/IKeepTempDataResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/ViewFeatures/IKeepTempDataResult.cs index 99616ef3ed..5d86fc171e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ViewFeatures/IKeepTempDataResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ViewFeatures/IKeepTempDataResult.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A marker interface for types which need to have temp data saved. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/VirtualFileResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/VirtualFileResult.cs index 2f179040c7..64f7d6ff1d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/VirtualFileResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/VirtualFileResult.cs @@ -5,15 +5,15 @@ using System; using System.IO; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Mvc.Core; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Mvc.Core; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A that on execution writes the file specified using a virtual path to the response diff --git a/src/Microsoft.AspNetCore.Mvc.Core/project.json b/src/Microsoft.AspNetCore.Mvc.Core/project.json index d67956f6a3..1f68d1e2f6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Core/project.json @@ -10,12 +10,12 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Authorization": "1.0.0-*", - "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-*", - "Microsoft.AspNet.Mvc.Abstractions": "6.0.0-*", - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Routing": "1.0.0-*", - "Microsoft.AspNet.Routing.DecisionTree.Sources": { + "Microsoft.AspNetCore.Authorization": "1.0.0-*", + "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.Abstractions": "6.0.0-*", + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Routing": "1.0.0-*", + "Microsoft.AspNetCore.Routing.DecisionTree.Sources": { "type": "build", "version": "1.0.0-*" }, diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Cors/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs index 8b545a8ec7..404248ad93 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Cors.Internal; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Cors.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsApplicationModelProvider.cs index 19c11f7ae6..5899dc21f7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsApplicationModelProvider.cs @@ -3,10 +3,10 @@ using System; using System.Linq; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Mvc.ApplicationModels; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { public class CorsApplicationModelProvider : IApplicationModelProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilter.cs index 35e7310110..a2483043f1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilter.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { /// /// A filter which applies the given and adds appropriate response headers. diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilterFactory.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilterFactory.cs index 168f1748e3..0a7061f60d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilterFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilterFactory.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { /// /// A filter factory which creates a new instance of . diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/DisableCorsAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/DisableCorsAuthorizationFilter.cs index 195a134a94..0ff5718f99 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/DisableCorsAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/DisableCorsAuthorizationFilter.cs @@ -3,12 +3,12 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { /// /// An which ensures that an action does not run for a pre-flight request. diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/ICorsAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/ICorsAuthorizationFilter.cs index 6e98733646..a35d974d7e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Internal/ICorsAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Internal/ICorsAuthorizationFilter.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { /// /// A filter which can be used to enable/disable cors support for a resource. diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Cors/Properties/AssemblyInfo.cs index 1eb5737b2b..cf6460944c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Properties/AssemblyInfo.cs @@ -6,5 +6,5 @@ using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("Serviceable", "True")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Cors.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Cors.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/project.json b/src/Microsoft.AspNetCore.Mvc.Cors/project.json index 62d073b774..56f90a7b0f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Cors/project.json @@ -10,8 +10,8 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Cors": "6.0.0-*", - "Microsoft.AspNet.Mvc.Core": "6.0.0-*" + "Microsoft.AspNetCore.Cors": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*" }, "frameworks": { "net451": {}, diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs index 2e9986d766..ddbd623b3e 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs index c09ae2ff27..081c96a663 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/HiddenInputAttribute.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/HiddenInputAttribute.cs index ac75606f55..ea5525f470 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/HiddenInputAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/HiddenInputAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Indicates associated property or all properties of associated type should be edited using an <input> diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs index 0e2ec9d6d8..a1b3213892 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations +namespace Microsoft.AspNetCore.Mvc.DataAnnotations { /// /// Interface so that adapters provide their relevent values to error messages. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IValidationAttributeAdapterProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IValidationAttributeAdapterProvider.cs index 38114dd0ad..14b92f76a2 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IValidationAttributeAdapterProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IValidationAttributeAdapterProvider.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations +namespace Microsoft.AspNetCore.Mvc.DataAnnotations { /// /// Provider for supplying 's. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/AttributeAdapterBase.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/AttributeAdapterBase.cs index 12379d7f14..0382a0aa99 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/AttributeAdapterBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/AttributeAdapterBase.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An abstract subclass of which wraps up all the required diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/CompareAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/CompareAttributeAdapter.cs index 371ca0d083..08d9f0cceb 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/CompareAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/CompareAttributeAdapter.cs @@ -5,11 +5,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class CompareAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsClientModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsClientModelValidatorProvider.cs index eabc82f5d5..229c0ecc78 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsClientModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsClientModelValidatorProvider.cs @@ -4,11 +4,11 @@ using System; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of which provides client validators diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsLocalizationServices.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsLocalizationServices.cs index 0401bead7c..f54cd9dd5d 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsLocalizationServices.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsLocalizationServices.cs @@ -6,7 +6,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public static class DataAnnotationsLocalizationServices { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs index 5ed1a5e581..20258331bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs @@ -6,10 +6,10 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of and for diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidator.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidator.cs index 2bfeeca853..31d9f6f904 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidator.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// Validates based on the given . diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidatorProvider.cs index c6dd65ea01..d705a900a2 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsModelValidatorProvider.cs @@ -6,11 +6,11 @@ using System.ComponentModel.DataAnnotations; #if DOTNET5_4 using System.Reflection; #endif -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of which provides validators diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataTypeAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataTypeAttributeAdapter.cs index 43fd38a8c0..80003d780b 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataTypeAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataTypeAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// A validation adapter that is used to map 's to a single client side validation diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DefaultClientModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DefaultClientModelValidatorProvider.cs index fab9751570..4981a3f433 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DefaultClientModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DefaultClientModelValidatorProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MaxLengthAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MaxLengthAttributeAdapter.cs index 31871144f3..0c358c9be7 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MaxLengthAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MaxLengthAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class MaxLengthAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MinLengthAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MinLengthAttributeAdapter.cs index 68ff04fc32..dfdeafe758 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MinLengthAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MinLengthAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class MinLengthAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationEqualToRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationEqualToRule.cs index 8f795d6989..f98f82de8d 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationEqualToRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationEqualToRule.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// Represents client side validation rule that determines if two values are equal. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMaxLengthRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMaxLengthRule.cs index 7bbcfdf9c4..c52c9a598c 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMaxLengthRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMaxLengthRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationMaxLengthRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMinLengthRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMinLengthRule.cs index a472ab2473..973f83a2dd 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMinLengthRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationMinLengthRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationMinLengthRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationNumericRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationNumericRule.cs index ea39a7c32d..31f5436c54 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationNumericRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationNumericRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// This is a for numeric values. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRangeRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRangeRule.cs index 5fe0a452da..38481c1fbe 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRangeRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRangeRule.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationRangeRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRegexRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRegexRule.cs index c19ae70e35..edf7074041 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRegexRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRegexRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationRegexRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRequiredRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRequiredRule.cs index acc7bc5d89..555da68e5e 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRequiredRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationRequiredRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationRequiredRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationStringLengthRule.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationStringLengthRule.cs index e083c21f41..3c719f12b2 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationStringLengthRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ModelClientValidationStringLengthRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ModelClientValidationStringLengthRule : ModelClientValidationRule { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsLocalizationOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsLocalizationOptionsSetup.cs index 285e49ce35..8cd70d5aeb 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsLocalizationOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsLocalizationOptionsSetup.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsMvcOptionsSetup.cs index 8ed7dcd7ad..0d80f92f6e 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/MvcDataAnnotationsMvcOptionsSetup.cs @@ -6,7 +6,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidator.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidator.cs index 43925fe8fe..2b321cc6f7 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidator.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidator.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of that provides the rule for validating diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidatorProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidatorProvider.cs index 0f647ba3df..1528a35bd6 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidatorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/NumericClientModelValidatorProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of which provides client validators diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RangeAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RangeAttributeAdapter.cs index ed885ce9bc..c8ba720808 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RangeAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RangeAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class RangeAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RegularExpressionAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RegularExpressionAttributeAdapter.cs index 0d4f0f4795..e391655952 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RegularExpressionAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RegularExpressionAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class RegularExpressionAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RequiredAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RequiredAttributeAdapter.cs index b081b98b36..42d98d1b77 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RequiredAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/RequiredAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class RequiredAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/StringLengthAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/StringLengthAttributeAdapter.cs index 682220f593..b3d8668108 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/StringLengthAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/StringLengthAttributeAdapter.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class StringLengthAttributeAdapter : AttributeAdapterBase { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidatableObjectAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidatableObjectAdapter.cs index cc367d9b7a..c11a873294 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidatableObjectAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidatableObjectAdapter.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ValidatableObjectAdapter : IModelValidator { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterOfTAttribute.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterOfTAttribute.cs index 3046a477be..7a3dc4e67c 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterOfTAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterOfTAttribute.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// An implementation of which understands data annotation attributes. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterProvider.cs index 9c5d9cc959..38023dd8f0 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/ValidationAttributeAdapterProvider.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { /// /// Creates an for the given attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/MvcDataAnnotationsLocalizationOptions.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/MvcDataAnnotationsLocalizationOptions.cs index a5da2e0e3a..99d8742296 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/MvcDataAnnotationsLocalizationOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/MvcDataAnnotationsLocalizationOptions.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.DataAnnotations +namespace Microsoft.AspNetCore.Mvc.DataAnnotations { /// /// Provides programmatic configuration for DataAnnotations localization in the MVC framework. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/AssemblyInfo.cs index 8cc303af20..2955573f64 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/AssemblyInfo.cs @@ -6,5 +6,5 @@ using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("Serviceable", "True")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.DataAnnotations.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.DataAnnotations.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/Resources.Designer.cs index 4ca764d255..5458bf8898 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.DataAnnotations +namespace Microsoft.AspNetCore.Mvc.DataAnnotations { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.DataAnnotations internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.DataAnnotations.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.DataAnnotations.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The model object inside the metadata claimed to be compatible with '{0}', but was actually '{1}'. diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/project.json b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/project.json index e7f802ddef..d4ff68754b 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/project.json +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", "Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcBuilderExtensions.cs index 60288cb0ff..93e7bc7e40 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcBuilderExtensions.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcCoreBuilderExtensions.cs index 092db42920..35786b103e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/DependencyInjection/MvcJsonMvcCoreBuilderExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters.Json.Internal; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Internal; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonResultExecutor.cs index e3bbf4ea8d..fd26034751 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonResultExecutor.cs @@ -1,17 +1,17 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// /// Executes a to write to the response. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonSerializerObjectPolicy.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonSerializerObjectPolicy.cs index 3a0535631f..e2ff43ddf6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonSerializerObjectPolicy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Infrastructure/JsonSerializerObjectPolicy.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.ObjectPool; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { /// /// for . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/JsonArrayPool.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/JsonArrayPool.cs index b3501caeda..437f9bcf98 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/JsonArrayPool.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/JsonArrayPool.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Buffers; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Formatters.Json.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Json.Internal { public class JsonArrayPool : IArrayPool { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MediaTypeHeaderValues.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MediaTypeHeaderValues.cs index bf96481b61..c8109b042e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MediaTypeHeaderValues.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MediaTypeHeaderValues.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { internal class MediaTypeHeaderValues { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MvcJsonMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MvcJsonMvcOptionsSetup.cs index 5a8c50b31f..7cbbf7f05e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MvcJsonMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/MvcJsonMvcOptionsSetup.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Buffers; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.Options; @@ -10,7 +10,7 @@ using Microsoft.Net.Http.Headers; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.AspNet.Mvc.Formatters.Json.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Json.Internal { /// /// Sets up JSON formatter options for . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/SerializerSettingsProvider.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/SerializerSettingsProvider.cs index 297b0eb483..68f73f1e90 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/SerializerSettingsProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Internal/SerializerSettingsProvider.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Helper class which provides . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonInputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonInputFormatter.cs index 3eceef3bfc..6813387970 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonInputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonInputFormatter.cs @@ -4,16 +4,16 @@ using System; using System.Buffers; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Internal; -using Microsoft.AspNet.Mvc.Formatters.Json.Internal; -using Microsoft.AspNet.Mvc.Formatters.Json.Logging; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Logging; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// An for JSON content. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs index 1bafa87b6a..82a9cce63d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs @@ -6,11 +6,11 @@ using System.Buffers; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Json.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// An output formatter that specializes in writing JSON content. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchExtensions.cs index 98974d9a1c..e94b221f69 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchExtensions.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.JsonPatch; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.JsonPatch; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Extensions for diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchInputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchInputFormatter.cs index d2de9e88c2..e7915ea1bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchInputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonPatchInputFormatter.cs @@ -5,13 +5,13 @@ using System; using System.Buffers; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.JsonPatch; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.JsonPatch; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class JsonPatchInputFormatter : JsonInputFormatter { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonResult.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonResult.cs index 8770a4de1e..9cb0ceae61 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonResult.cs @@ -3,12 +3,12 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An action result which formats the given object as JSON. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonInputFormatterLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonInputFormatterLoggerExtensions.cs index bd72d65a8e..d7e23f940b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonInputFormatterLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonInputFormatterLoggerExtensions.cs @@ -1,7 +1,7 @@ -using System; +using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Formatters.Json.Logging +namespace Microsoft.AspNetCore.Mvc.Formatters.Json.Logging { internal static class JsonInputFormatterLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonResultExecutorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonResultExecutorLoggerExtensions.cs index 964a3661c6..b12a073c49 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonResultExecutorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Logging/JsonResultExecutorLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { internal static class JsonResultExecutorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/MvcJsonOptions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/MvcJsonOptions.cs index e515944ac0..9188702937 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/MvcJsonOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/MvcJsonOptions.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Provides programmatic configuration for JSON in the MVC framework. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/project.json b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/project.json index db719d7532..ef77036231 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/project.json @@ -10,8 +10,8 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.JsonPatch": "1.0.0-*", - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.JsonPatch": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", "Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerable.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerable.cs index 8b91545310..e548794e9e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerable.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerable.cs @@ -6,7 +6,7 @@ using System.Collections; using System.Collections.Generic; using System.Linq; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Serializes types by delegating them through a concrete implementation. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerator.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerator.cs index a831ad9172..c5dd1860e5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DelegatingEnumerator.cs @@ -5,7 +5,7 @@ using System; using System.Collections; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Delegates enumeration of elements to the original enumerator and wraps the items diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcBuilderExtensions.cs index 6070f83476..4210fbe0bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs index 808ddf3b81..5e14f41647 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProvider.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProvider.cs index 2a22d93098..bccc5bb94e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProvider.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Reflection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Provides a for interface types which implement diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProviderFactory.cs index 18d485c305..9438e87986 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/EnumerableWrapperProviderFactory.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Reflection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Creates an for interface types implementing the diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IUnwrappable.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IUnwrappable.cs index e937421454..31f9cf4917 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IUnwrappable.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IUnwrappable.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Defines an interface for objects to be un-wrappable after deserialization. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProvider.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProvider.cs index 9f25fa5bcb..3c2c33c376 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProvider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Defines an interface for wrapping objects for serialization or deserialization into xml. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProviderFactory.cs index 3aa982edbd..9594d09d75 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/IWrapperProviderFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Create a given a . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/FormattingUtilities.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/FormattingUtilities.cs index e83bde2dd9..75fae4e024 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/FormattingUtilities.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/FormattingUtilities.cs @@ -6,7 +6,7 @@ using System.Runtime.Serialization; #endif using System.Xml; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { /// /// Contains methods which are used by Xml input formatters. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MediaTypeHeaderValues.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MediaTypeHeaderValues.cs index 9f40a5afc6..a71c4e5fd6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MediaTypeHeaderValues.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MediaTypeHeaderValues.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { internal static class MediaTypeHeaderValues { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlDataContractSerializerMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlDataContractSerializerMvcOptionsSetup.cs index eca4379a69..5520950317 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlDataContractSerializerMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlDataContractSerializerMvcOptionsSetup.cs @@ -1,11 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { /// /// A implementation which will add the diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlSerializerMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlSerializerMvcOptionsSetup.cs index b1ec0174e3..89f7ff0cc9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlSerializerMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Internal/MvcXmlSerializerMvcOptionsSetup.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { /// /// A implementation which will add the diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs index 4cddf6d4ca..75dcd8c185 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Reflection; using System.Runtime.Serialization; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { /// /// An for . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Properties/Resources.Designer.cs index c7d552c922..fa865bbe0f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Formatters.Xml internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Formatters.Xml.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Formatters.Xml.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The type must be an interface and must be or derive from '{0}'. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapper.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapper.cs index 8c9b738c27..d247b2fab9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapper.cs @@ -6,7 +6,7 @@ using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Wrapper class for to enable it to be serialized by the xml formatters. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProvider.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProvider.cs index 11a7a7b935..ad5666dea5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProvider.cs @@ -3,10 +3,10 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// - /// Wraps the object of type . + /// Wraps the object of type . /// public class SerializableErrorWrapperProvider : IWrapperProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProviderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProviderFactory.cs index 32ccb27688..5dfdb652f0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProviderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/SerializableErrorWrapperProviderFactory.cs @@ -3,23 +3,23 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// - /// Creates an for the type . + /// Creates an for the type . /// public class SerializableErrorWrapperProviderFactory : IWrapperProviderFactory { /// /// Creates an instance of if the provided /// 's is - /// . + /// . /// /// The . /// /// An instance of if the provided 's /// is - /// ; otherwise null. + /// ; otherwise null. /// public IWrapperProvider GetProvider(WrapperProviderContext context) { diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs index 91867e9010..ccef032233 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// The context used by an to wrap or un-wrap types. diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderFactoriesExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderFactoriesExtensions.cs index f9bcd05646..1ccea1645d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderFactoriesExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderFactoriesExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerInputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerInputFormatter.cs index d423229d9e..50a8cb7f45 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerInputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerInputFormatter.cs @@ -9,12 +9,12 @@ using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// This class handles deserialization of input XML data diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerOutputFormatter.cs index f58f5a2c60..ecd4db4c86 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlDataContractSerializerOutputFormatter.cs @@ -9,12 +9,12 @@ using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// This class handles serialization of objects diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerInputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerInputFormatter.cs index 2303cef16e..a8c65c16b0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerInputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerInputFormatter.cs @@ -9,12 +9,12 @@ using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// This class handles deserialization of input XML data diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerOutputFormatter.cs index 7ead7c4c1f..d90a62fd5a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/XmlSerializerOutputFormatter.cs @@ -9,12 +9,12 @@ using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { /// /// This class handles serialization of objects diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/project.json b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/project.json index 261bd2a2e1..dab3baed3f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", "Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs index 8b49c4704a..04088e5c92 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Localization.Internal; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Localization.Internal; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.Localization; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs index 76eff19185..fc1474bb16 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Localization.Internal; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Localization.Internal; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.Localization; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizer.cs index 1d0c70d4a3..9ef531438f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizer.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An that uses the provided to do HTML-aware diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerExtensions.cs index 21e96a6777..4cb57175cc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerFactory.cs index 0471fe5145..02684f1e4f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerFactory.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An that creates instances of using the diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerOfT.cs b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerOfT.cs index ccc6f0eb98..cea9a40a1c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/HtmlLocalizerOfT.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An implementation that provides localized HTML content for the specified type diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs index 45d9a7a0ca..54716ed8a2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// Represents a type that that does HTML-aware localization of strings, by HTML encoding arguments that are diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerFactory.cs b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerFactory.cs index 80557c6cfc..3e26add97d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerFactory.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// A factory that creates instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerOfT.cs b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerOfT.cs index 62323d8142..923de5ab89 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizerOfT.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An that provides localized HTML content. diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/IViewLocalizer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/IViewLocalizer.cs index 9f586d7f52..63f1db6856 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/IViewLocalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/IViewLocalizer.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// Represents a type that provides HTML-aware localization for views. diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/Internal/MvcLocalizationServices.cs b/src/Microsoft.AspNetCore.Mvc.Localization/Internal/MvcLocalizationServices.cs index ec6b15687b..e40d71783c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/Internal/MvcLocalizationServices.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/Internal/MvcLocalizationServices.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization.Internal +namespace Microsoft.AspNetCore.Mvc.Localization.Internal { public static class MvcLocalizationServices { diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/LocalizedHtmlString.cs b/src/Microsoft.AspNetCore.Mvc.Localization/LocalizedHtmlString.cs index 5a9899170e..aac0739a5a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/LocalizedHtmlString.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/LocalizedHtmlString.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Text; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An with localized content. diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/Properties/Resources.Designer.cs index 875f4c8249..caa20abd18 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Localization internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Localization.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Localization.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Must call CreateStringLocalizer method before using this property. diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/ViewLocalizer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/ViewLocalizer.cs index b51ba3fda9..d5cec94b0f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/ViewLocalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/ViewLocalizer.cs @@ -7,12 +7,12 @@ using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.Localization; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.Localization +namespace Microsoft.AspNetCore.Mvc.Localization { /// /// An implementation that derives the resource location from the executing view's diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/project.json b/src/Microsoft.AspNetCore.Mvc.Localization/project.json index 56dfd1da05..d6f84e5399 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Localization/project.json @@ -6,8 +6,8 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Localization": "1.0.0-*", - "Microsoft.AspNet.Mvc.Razor": "6.0.0-*", + "Microsoft.AspNetCore.Localization": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor": "6.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.PropertyHelper.Sources": { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkHelper.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkHelper.cs index 46550466e8..0d5be57be1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkHelper.cs @@ -3,9 +3,9 @@ using System; using System.Linq; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// Contains helper methods for dealing with Chunks diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkInheritanceUtility.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkInheritanceUtility.cs index 53208cfec6..7a3fc2bf43 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkInheritanceUtility.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkInheritanceUtility.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.Parser; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Parser; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// A utility type for supporting inheritance of directives into a page from applicable _ViewImports pages. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs index 1f96a130c5..37adacb14b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/ChunkTreeResult.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// Contains information. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/DefaultChunkTreeCache.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/DefaultChunkTreeCache.cs index 05a387ece4..4f8eaa54c0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/DefaultChunkTreeCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/DefaultChunkTreeCache.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkMerger.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkMerger.cs index fbef21fcf6..eb4a7c98d1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkMerger.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkMerger.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// Defines the contract for merging instances from _ViewStart files. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkTreeCache.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkTreeCache.cs index 7f98e85c39..f47e7efaba 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkTreeCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/IChunkTreeCache.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// A cache for parsed s. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/InjectChunkMerger.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/InjectChunkMerger.cs index 434624a9f9..07a18f9741 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/InjectChunkMerger.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/InjectChunkMerger.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// A that merges instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/SetBaseTypeChunkMerger.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/SetBaseTypeChunkMerger.cs index ba8003389e..28d69a80db 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/SetBaseTypeChunkMerger.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/SetBaseTypeChunkMerger.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// A that merges instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/UsingChunkMerger.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/UsingChunkMerger.cs index 27ac03a29e..8c60952462 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/UsingChunkMerger.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Directives/UsingChunkMerger.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// A that merges instances. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs index a0cfa398b8..9977e28708 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/GeneratedTagHelperAttributeContext.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Contains information for the attribute code diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/IMvcRazorHost.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/IMvcRazorHost.cs index f3be68042c..63ad03ace3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/IMvcRazorHost.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/IMvcRazorHost.cs @@ -3,9 +3,9 @@ using System; using System.IO; -using Microsoft.AspNet.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Specifies the contracts for a Razor host that parses Razor files and generates C# code. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunk.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunk.cs index fccb761bff..f9c8fb36e9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunk.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunk.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class InjectChunk : Chunk { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunkVisitor.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunkVisitor.cs index bbd37b5672..47ba9c61c0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunkVisitor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectChunkVisitor.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.CodeGenerators.Visitors; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class InjectChunkVisitor : MvcCSharpCodeVisitor { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectParameterGenerator.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectParameterGenerator.cs index a2ed9c0686..913404c16f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectParameterGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/InjectParameterGenerator.cs @@ -3,10 +3,10 @@ using System; using System.Globalization; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class InjectParameterGenerator : SpanChunkGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/DesignTimeRazorPathNormalizer.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/DesignTimeRazorPathNormalizer.cs index 8841859d59..62452b3c2e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/DesignTimeRazorPathNormalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/DesignTimeRazorPathNormalizer.cs @@ -4,7 +4,7 @@ using System; using System.IO; -namespace Microsoft.AspNet.Mvc.Razor.Internal +namespace Microsoft.AspNetCore.Mvc.Razor.Internal { public class DesignTimeRazorPathNormalizer : RazorPathNormalizer { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/RazorPathNormalizer.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/RazorPathNormalizer.cs index 21cfc2b3cf..5c44f6e521 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/RazorPathNormalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Internal/RazorPathNormalizer.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Razor.Internal +namespace Microsoft.AspNetCore.Mvc.Razor.Internal { public class RazorPathNormalizer { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunk.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunk.cs index 1c86d091f9..e7ff54e42c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunk.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunk.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// for an @model directive. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunkGenerator.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunkGenerator.cs index 55e55920f1..701dde1e4a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunkGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ModelChunkGenerator.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; -namespace Microsoft.AspNet.Razor.Generator +namespace Microsoft.AspNetCore.Razor.Generator { public class ModelChunkGenerator : SpanChunkGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpChunkVisitor.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpChunkVisitor.cs index e90bbc70bb..a2bb52bd28 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpChunkVisitor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpChunkVisitor.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.CodeGenerators.Visitors; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public abstract class MvcCSharpChunkVisitor : CodeVisitor { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeGenerator.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeGenerator.cs index 43b9d99168..22b02ff682 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeGenerator.cs @@ -3,11 +3,11 @@ using System; using System.IO; -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.CodeGenerators.Visitors; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcCSharpCodeGenerator : CSharpCodeGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeVistor.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeVistor.cs index 77169dc992..ba652d81bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeVistor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpCodeVistor.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public abstract class MvcCSharpCodeVisitor : MvcCSharpChunkVisitor { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpDesignTimeCodeVisitor.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpDesignTimeCodeVisitor.cs index e2db2dfc54..87ae079445 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpDesignTimeCodeVisitor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcCSharpDesignTimeCodeVisitor.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.CodeGenerators.Visitors; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcCSharpDesignTimeCodeVisitor : CSharpDesignTimeCodeVisitor { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorCodeParser.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorCodeParser.cs index 252ea60ad7..0c6272979a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorCodeParser.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorCodeParser.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; -using Microsoft.AspNet.Mvc.Razor.Host; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Generator; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Mvc.Razor.Host; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Generator; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcRazorCodeParser : CSharpCodeParser { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs index 96c86fff0e..2f35958796 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorHost.cs @@ -5,24 +5,24 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Runtime.TagHelpers; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Runtime.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; #if NET451 using Microsoft.Extensions.FileProviders; #endif -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcRazorHost : RazorEngineHost, IMvcRazorHost { - private const string BaseType = "Microsoft.AspNet.Mvc.Razor.RazorPage"; + private const string BaseType = "Microsoft.AspNetCore.Mvc.Razor.RazorPage"; private const string HtmlHelperPropertyName = "Html"; private static readonly string[] _defaultNamespaces = new[] @@ -30,18 +30,18 @@ namespace Microsoft.AspNet.Mvc.Razor "System", "System.Linq", "System.Collections.Generic", - "Microsoft.AspNet.Mvc", - "Microsoft.AspNet.Mvc.Rendering", + "Microsoft.AspNetCore.Mvc", + "Microsoft.AspNetCore.Mvc.Rendering", }; private static readonly Chunk[] _defaultInheritedChunks = new Chunk[] { - new InjectChunk("Microsoft.AspNet.Mvc.Rendering.IHtmlHelper", HtmlHelperPropertyName), - new InjectChunk("Microsoft.AspNet.Mvc.Rendering.IJsonHelper", "Json"), - new InjectChunk("Microsoft.AspNet.Mvc.IViewComponentHelper", "Component"), - new InjectChunk("Microsoft.AspNet.Mvc.IUrlHelper", "Url"), + new InjectChunk("Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", HtmlHelperPropertyName), + new InjectChunk("Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper", "Json"), + new InjectChunk("Microsoft.AspNetCore.Mvc.IViewComponentHelper", "Component"), + new InjectChunk("Microsoft.AspNetCore.Mvc.IUrlHelper", "Url"), new AddTagHelperChunk { - LookupText = "Microsoft.AspNet.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNet.Mvc.Razor" + LookupText = "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor" }, new SetBaseTypeChunk { @@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Mvc.Razor writeLiteralMethodName: "WriteLiteral", writeToMethodName: "WriteTo", writeLiteralToMethodName: "WriteLiteralTo", - templateTypeName: "Microsoft.AspNet.Mvc.Razor.HelperResult", + templateTypeName: "Microsoft.AspNetCore.Mvc.Razor.HelperResult", defineSectionMethodName: "DefineSection", generatedTagHelperContext: new GeneratedTagHelperContext { @@ -202,7 +202,7 @@ namespace Microsoft.AspNet.Mvc.Razor /// public virtual string InjectAttribute { - get { return "Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute"; } + get { return "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute"; } } /// @@ -210,7 +210,7 @@ namespace Microsoft.AspNet.Mvc.Razor /// public virtual string ModelExpressionType { - get { return "Microsoft.AspNet.Mvc.Rendering.ModelExpression"; } + get { return "Microsoft.AspNetCore.Mvc.Rendering.ModelExpression"; } } /// diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorParser.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorParser.cs index 8886f6775f..3f418bde4e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorParser.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcRazorParser.cs @@ -4,15 +4,15 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Razor.Host; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Parser.TagHelpers; +using Microsoft.AspNetCore.Mvc.Razor.Host; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Parser.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// A subtype of that uses to support inheritance of tag diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcTagHelperAttributeValueCodeRenderer.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcTagHelperAttributeValueCodeRenderer.cs index aa467213ef..09d1cd30cc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcTagHelperAttributeValueCodeRenderer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/MvcTagHelperAttributeValueCodeRenderer.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// public class MvcTagHelperAttributeValueCodeRenderer : TagHelperAttributeValueCodeRenderer diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/AssemblyInfo.cs index 77f1b8f47b..b063588789 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/AssemblyInfo.cs @@ -5,6 +5,6 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Razor.Host.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor.Host.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/Resources.Designer.cs index 9546523379..c8f03d2aa7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Razor.Host +namespace Microsoft.AspNetCore.Mvc.Razor.Host { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Host internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Razor.Host.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Razor.Host.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Value cannot be null or empty. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ViewHierarchyUtility.cs b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ViewHierarchyUtility.cs index 2497f75aca..cebd4b4d02 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/ViewHierarchyUtility.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/ViewHierarchyUtility.cs @@ -7,7 +7,7 @@ using System.IO; using System.Linq; using System.Text; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Contains methods to locate _ViewStart.cshtml and _ViewImports.cshtml diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Host/project.json b/src/Microsoft.AspNetCore.Mvc.Razor.Host/project.json index dfba03f4f1..c2b7479126 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Host/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Host/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Razor.Runtime": "4.0.0-*", + "Microsoft.AspNetCore.Razor.Runtime": "4.0.0-*", "Microsoft.Extensions.Caching.Memory": "1.0.0-*", "Microsoft.Extensions.FileProviders.Physical": "1.0.0-*", "Microsoft.Extensions.PropertyHelper.Sources": { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationFailedException.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationFailedException.cs index 23a597d0d9..5e3899c0bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationFailedException.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationFailedException.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Diagnostics; +using Microsoft.AspNetCore.Diagnostics; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// An thrown when accessing the result of a failed compilation. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs index 039047cfa9..e4f53c3ead 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs @@ -6,7 +6,7 @@ using Microsoft.Dnx.Compilation.CSharp; using Microsoft.Extensions.CompilationAbstractions; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationResult.cs index 65bf7bf5fc..2f78c3ae5a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilationResult.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Diagnostics; +using Microsoft.AspNetCore.Diagnostics; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Represents the result of compilation. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCache.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCache.cs index b76f979b42..4b45b814f7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCache.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Caches the result of runtime compilation of Razor files for the duration of the application lifetime. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCacheResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCacheResult.cs index 2425e33d73..95fd506107 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCacheResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompilerCacheResult.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Result of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultCompilerCacheProvider.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultCompilerCacheProvider.cs index bf5edb574f..6970a8595a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultCompilerCacheProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultCompilerCacheProvider.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Default implementation for . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultRoslynCompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultRoslynCompilationService.cs index 3055d220d9..f55a8d2187 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultRoslynCompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DefaultRoslynCompilationService.cs @@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// A type that uses Roslyn to compile C# content and to find out references. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DependencyContextCompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DependencyContextCompilationService.cs index e2d659603c..1cd07ca7c1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DependencyContextCompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/DependencyContextCompilationService.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// A type that uses Roslyn to compile C# content and to locate references. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ExpressionRewriter.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ExpressionRewriter.cs index 94844b7954..ccf3ce0dc2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ExpressionRewriter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ExpressionRewriter.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; @@ -8,7 +8,7 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// An expression rewriter which can hoist a simple expression lambda into a private field. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilationService.cs index db1704f1ab..c0cf33dcca 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilationService.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Provides methods for compilation of a Razor page. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCache.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCache.cs index 173f5df4c5..b090c42a35 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCache.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCache.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Caches the result of runtime compilation of Razor files for the duration of the app lifetime. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCacheProvider.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCacheProvider.cs index 85ef7710ac..51966545ba 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCacheProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/ICompilerCacheProvider.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Provides access to a cached instance. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/IRazorCompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/IRazorCompilationService.cs index ab0a3acf6d..3826db45c2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/IRazorCompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/IRazorCompilationService.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Specifies the contracts for a service that compiles Razor files. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RazorCompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RazorCompilationService.cs index d969d51944..5206ef8a31 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RazorCompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RazorCompilationService.cs @@ -6,15 +6,15 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; -using Microsoft.AspNet.Diagnostics; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.CodeGenerators; +using Microsoft.AspNetCore.Diagnostics; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.CodeGenerators; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RelativeFileInfo.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RelativeFileInfo.cs index aaa3c34eb2..ed3739bf94 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RelativeFileInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RelativeFileInfo.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// A container type that represents along with the application base relative path diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationContext.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationContext.cs index 31fe25899e..5536969721 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationContext.cs @@ -4,7 +4,7 @@ using System; using Microsoft.CodeAnalysis.CSharp; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// Context object used to pass information about the current Razor page compilation. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationService.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationService.cs index c633bfa613..c86466c78f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationService.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/RoslynCompilationService.cs @@ -13,9 +13,9 @@ using System.Reflection.PortableExecutable; using System.Runtime.Loader; #endif using System.Runtime.Versioning; -using Microsoft.AspNet.Diagnostics; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Diagnostics; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; @@ -25,7 +25,7 @@ using Microsoft.Extensions.PlatformAbstractions; using Microsoft.Extensions.Options; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { /// /// A type that uses Roslyn to compile C# content. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/SyntaxTreeGenerator.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/SyntaxTreeGenerator.cs index 9e3d5987ec..c46746d501 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/SyntaxTreeGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/SyntaxTreeGenerator.cs @@ -8,7 +8,7 @@ using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Text; using Microsoft.Dnx.Compilation.CSharp; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public static class SyntaxTreeGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorPageFactoryProvider.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorPageFactoryProvider.cs index 5d92b0074c..194291d724 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorPageFactoryProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorPageFactoryProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Represents a that creates instances diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorViewEngineFileProviderAccessor.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorViewEngineFileProviderAccessor.cs index e70be4a47d..fb70355ec7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorViewEngineFileProviderAccessor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultRazorViewEngineFileProviderAccessor.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultTagHelperActivator.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultTagHelperActivator.cs index 89368ef6e9..c499e4c7c3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DefaultTagHelperActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DefaultTagHelperActivator.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// public class DefaultTagHelperActivator : ITagHelperActivator diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyContextRazorViewEngineOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyContextRazorViewEngineOptionsSetup.cs index d87b34d817..1a29476769 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyContextRazorViewEngineOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyContextRazorViewEngineOptionsSetup.cs @@ -3,12 +3,12 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.CodeAnalysis; using Microsoft.Extensions.Options; using Microsoft.Extensions.DependencyModel; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Sets up compilation and parse option default options for using diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs index c00d30db0e..d1cadf0dc5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs @@ -4,10 +4,10 @@ using System; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Razor.Compilation; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs index 5a2098486f..0c814f52bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs @@ -4,13 +4,13 @@ using System; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Razor.Compilation; -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.CompilationAbstractions; using Microsoft.Extensions.DependencyInjection.Extensions; diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/HelperResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/HelperResult.cs index ea45b5bfb6..22e55bcc7f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/HelperResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/HelperResult.cs @@ -5,9 +5,9 @@ using System; using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Represents a deferred write operation in a . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs index 1bdf9de05a..60663c83c9 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Represents properties and methods that are used by for execution. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageActivator.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageActivator.cs index 11c30bfbf3..4a26dafcd7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageActivator.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Provides methods to activate properties on a instance. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageFactoryProvider.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageFactoryProvider.cs index 7f183c853d..a3989e07be 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageFactoryProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPageFactoryProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Defines methods that are used for creating instances at a given path. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngine.cs index 505fd0cd3c..76e146d3a4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngine.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewEngines; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// An used to render pages that use the Razor syntax. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngineFileProviderAccessor.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngineFileProviderAccessor.cs index c0b25b286b..253f1061e0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngineFileProviderAccessor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorViewEngineFileProviderAccessor.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Accessor to the used by . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperActivator.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperActivator.cs index 488fe7a078..d4007b1e8a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperActivator.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Provides methods to activate properties on a instance. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperInitializerOfT.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperInitializerOfT.cs index 1db40bd118..a3379fc2a0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperInitializerOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ITagHelperInitializerOfT.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Initializes an before it's executed. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IViewLocationExpander.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IViewLocationExpander.cs index 5e46f0d712..d5ed2f7c7d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IViewLocationExpander.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IViewLocationExpander.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Specifies the contracts for a view location expander that is used by instances to diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/MvcRazorMvcViewOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/MvcRazorMvcViewOptionsSetup.cs index afe9e04a9b..65fbd586ec 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/MvcRazorMvcViewOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/MvcRazorMvcViewOptionsSetup.cs @@ -5,7 +5,7 @@ using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.Razor.Internal +namespace Microsoft.AspNetCore.Mvc.Razor.Internal { /// /// Configures to use . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/RazorInjectAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/RazorInjectAttribute.cs index ee735d8543..72b1c31f49 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/RazorInjectAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/RazorInjectAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.Razor.Internal +namespace Microsoft.AspNetCore.Mvc.Razor.Internal { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class RazorInjectAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/SymbolsUtility.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/SymbolsUtility.cs index 12980fb1da..2edb56e75e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/SymbolsUtility.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/SymbolsUtility.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.InteropServices; -namespace Microsoft.AspNet.Mvc.Razor.Internal +namespace Microsoft.AspNetCore.Mvc.Razor.Internal { /// /// Utility type for determining if a platform supports symbol file generation. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpander.cs b/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpander.cs index 2957d0f48a..c59af50b79 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpander.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpander.cs @@ -6,11 +6,11 @@ using System.Collections.Generic; using System.Globalization; using System.Threading; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// A that adds the language as an extension prefix to view names. Language - /// that is getting added as extension prefix comes from . + /// that is getting added as extension prefix comes from . /// /// /// For the default case with no areas, views are generated with the following patterns (assuming controller is diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpanderFormat.cs b/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpanderFormat.cs index 57c13145f7..ad4b177bb0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpanderFormat.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/LanguageViewLocationExpanderFormat.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Specifies the localized view format for . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorCompilationServiceLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorCompilationServiceLoggerExtensions.cs index fec905060d..b6aee41289 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorCompilationServiceLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorCompilationServiceLoggerExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class RazorCompilationServiceLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorViewEngineLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorViewEngineLoggerExtensions.cs index d5b79c640d..7ad0919a2b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorViewEngineLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RazorViewEngineLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class RazorViewEngineLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RoslynCompilationServiceLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RoslynCompilationServiceLoggerExtensions.cs index 2d932e65d1..c1ef6ab2fe 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RoslynCompilationServiceLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Logging/RoslynCompilationServiceLoggerExtensions.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class RoslynCompilationServiceLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Properties/AssemblyInfo.cs index ad24c22f7f..2381970652 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Properties/AssemblyInfo.cs @@ -5,6 +5,6 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Properties/Resources.Designer.cs index 4f5ec448d7..174f0ecf00 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.Razor internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.Razor.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.Razor.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Value cannot be null or empty. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPage.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPage.cs index 56245d32d8..a71eac6b7c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPage.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPage.cs @@ -9,21 +9,21 @@ using System.Linq; using System.Security.Claims; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Razor.Runtime.TagHelpers; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Razor.Runtime.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Represents properties and methods that are needed in order to render a view that uses Razor syntax. @@ -871,7 +871,7 @@ namespace Microsoft.AspNet.Mvc.Razor public void BeginContext(int position, int length, bool isLiteral) { - const string BeginContextEvent = "Microsoft.AspNet.Mvc.Razor.BeginInstrumentationContext"; + const string BeginContextEvent = "Microsoft.AspNetCore.Mvc.Razor.BeginInstrumentationContext"; if (DiagnosticSource?.IsEnabled(BeginContextEvent) == true) { @@ -890,7 +890,7 @@ namespace Microsoft.AspNet.Mvc.Razor public void EndContext() { - const string EndContextEvent = "Microsoft.AspNet.Mvc.Razor.EndInstrumentationContext"; + const string EndContextEvent = "Microsoft.AspNetCore.Mvc.Razor.EndInstrumentationContext"; if (DiagnosticSource?.IsEnabled(EndContextEvent) == true) { diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageActivator.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageActivator.cs index 2cf153d970..fbc72d27e4 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageActivator.cs @@ -4,16 +4,16 @@ using System; using System.Collections.Concurrent; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// public class RazorPageActivator : IRazorPageActivator diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageFactoryResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageFactoryResult.cs index eed74e32b1..3e7ab71f53 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageFactoryResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageFactoryResult.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Result of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageOfT.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageOfT.cs index 0a115007d8..86168ac141 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageOfT.cs @@ -3,13 +3,13 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Represents the properties and methods that are needed in order to render a view that uses Razor syntax. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageResult.cs index 4d98254674..c299e350fe 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorPageResult.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Result of locating a . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorTextWriter.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorTextWriter.cs index d9be07dbbf..f0c2cd23cd 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorTextWriter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorTextWriter.cs @@ -6,11 +6,11 @@ using System.IO; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// An that is backed by a unbuffered writer (over the Response stream) and a buffered diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorView.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorView.cs index 81c6e82ecf..f69e8a6dd5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorView.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorView.cs @@ -7,12 +7,12 @@ using System.Diagnostics; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Default implementation for that executes one or more diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs index 426c05bc6f..f2d73213e6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs @@ -7,15 +7,15 @@ using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptions.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptions.cs index e3b745bcf4..f2ab1f0c43 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptions.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; using Microsoft.CodeAnalysis.CSharp; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Provides programmatic configuration for the . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptionsSetup.cs index ef194b1c18..fd05e27377 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngineOptionsSetup.cs @@ -1,15 +1,15 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RenderAsyncDelegate.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RenderAsyncDelegate.cs index 3d52a8dd61..783ada00cc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RenderAsyncDelegate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RenderAsyncDelegate.cs @@ -4,7 +4,7 @@ using System.IO; using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public delegate Task RenderAsyncDelegate(TextWriter writer); } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/TagHelperInitializerOfT.cs b/src/Microsoft.AspNetCore.Mvc.Razor/TagHelperInitializerOfT.cs index a23b70c0da..94d37f2dd8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/TagHelperInitializerOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/TagHelperInitializerOfT.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// public class TagHelperInitializer : ITagHelperInitializer diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/TagHelpers/UrlResolutionTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.Razor/TagHelpers/UrlResolutionTagHelper.cs index c946d94a4c..e9999ece69 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/TagHelpers/UrlResolutionTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/TagHelpers/UrlResolutionTagHelper.cs @@ -7,13 +7,13 @@ using System.ComponentModel; using System.IO; using System.Reflection; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor.TagHelpers +namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers { /// /// implementation targeting elements containing attributes with URL expected values. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheItem.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheItem.cs index a87488c423..0b11e00b30 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheItem.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheItem.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// An item in . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheKey.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheKey.cs index dc4c31754c..435960f430 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheKey.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheKey.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Key for entries in . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheResult.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheResult.cs index 80ff746c5e..3a2fd69d6d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationCacheResult.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// Result of view location cache lookup. diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationExpanderContext.cs b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationExpanderContext.cs index 60bc7b6a64..23813cc666 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationExpanderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/ViewLocationExpanderContext.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { /// /// A context for containing information for . diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/project.json b/src/Microsoft.AspNetCore.Mvc.Razor/project.json index e40bb78d2c..eaaaeaee61 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/project.json +++ b/src/Microsoft.AspNetCore.Mvc.Razor/project.json @@ -10,8 +10,8 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Razor.Host": "6.0.0-*", - "Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor.Host": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.ViewFeatures": "6.0.0-*", "Microsoft.Extensions.FileProviders.Composite": "1.0.0-*", "Microsoft.Extensions.HashCodeCombiner.Sources": { "version": "1.0.0-*", diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/AnchorTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/AnchorTagHelper.cs index 623773775b..612e76e1b6 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/AnchorTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/AnchorTagHelper.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <a> elements. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/CacheTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/CacheTagHelper.cs index f13a082afc..ddc607c964 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/CacheTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/CacheTagHelper.cs @@ -8,14 +8,14 @@ using System.Security.Cryptography; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <cache> elements. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/EnvironmentTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/EnvironmentTagHelper.cs index 5b0ac65399..efb29558c6 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/EnvironmentTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/EnvironmentTagHelper.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <environment> elements that conditionally renders diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/FormTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/FormTagHelper.cs index 431020ae0c..922f5ebaa8 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/FormTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/FormTagHelper.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.ComponentModel; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <form> elements. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ImageTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ImageTagHelper.cs index 963f042ec4..eafde361b9 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ImageTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ImageTagHelper.cs @@ -3,16 +3,16 @@ using System; using System.Text.Encodings.Web; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor.TagHelpers; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Caching.Memory; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <img> elements that supports file versioning. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs index 9801b63e82..e20e8557ed 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs @@ -3,14 +3,14 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <input> elements with an asp-for attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/AttributeMatcher.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/AttributeMatcher.cs index 03174ad580..cfe3496c3c 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/AttributeMatcher.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/AttributeMatcher.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// /// Methods for determining how an should run based on the attributes that were specified. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/CurrentValues.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/CurrentValues.cs index cf0389f423..6126d91507 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/CurrentValues.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/CurrentValues.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class CurrentValues { diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingDirectory.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingDirectory.cs index 8198df148a..c4d77dbeb8 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingDirectory.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingDirectory.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.FileSystemGlobbing.Abstractions; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class FileProviderGlobbingDirectory : DirectoryInfoBase { diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingFile.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingFile.cs index c89a9ca0f5..2696781c8c 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingFile.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileProviderGlobbingFile.cs @@ -5,7 +5,7 @@ using System; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.FileSystemGlobbing.Abstractions; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class FileProviderGlobbingFile : FileInfoBase { diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileVersionProvider.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileVersionProvider.cs index f1158f7598..c20d81145b 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileVersionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/FileVersionProvider.cs @@ -3,12 +3,12 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.WebUtilities; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.WebUtilities; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// /// Provides version hash for a specified file. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs index a8012aa1f7..5bc5a54fd2 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/GlobbingUrlBuilder.cs @@ -3,14 +3,14 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.FileSystemGlobbing; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// /// Utility methods for 's that support diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/JavaScriptResources.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/JavaScriptResources.cs index 070fe6acd5..ad0bdf93a4 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/JavaScriptResources.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/JavaScriptResources.cs @@ -7,7 +7,7 @@ using System.Diagnostics; using System.IO; using System.Reflection; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// /// Methods for loading JavaScript from assembly embedded resources. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs index 2d06d04380..e33b965675 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Internal/ModeAttributesOfT.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { /// /// A mapping of a mode to its required attributes. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/LabelTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/LabelTagHelper.cs index 63939b5391..6efc36af1e 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/LabelTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/LabelTagHelper.cs @@ -3,11 +3,11 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <label> elements with an asp-for attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/LinkTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/LinkTagHelper.cs index 7ee10eb99d..202d7c3571 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/LinkTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/LinkTagHelper.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Text.Encodings.Web; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor.TagHelpers; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Caching.Memory; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <link> elements that supports fallback href paths. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/OptionTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/OptionTagHelper.cs index 1603bad918..56c001d1e9 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/OptionTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/OptionTagHelper.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <option> elements. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/AssemblyInfo.cs index 1c2e5968c5..89e4ad1f94 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/AssemblyInfo.cs @@ -5,7 +5,7 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/Resources.Designer.cs index bab88bbcb2..8811b52047 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.TagHelpers.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.TagHelpers.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Cannot determine an '{4}' attribute for {0}. An {0} with a specified '{1}' must not have an '{2}' or '{3}' attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/RenderAtEndOfFormTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/RenderAtEndOfFormTagHelper.cs index 624a94fd78..3d2f31e245 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/RenderAtEndOfFormTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/RenderAtEndOfFormTagHelper.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting all form elements diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Rendering/ValidationSummary.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Rendering/ValidationSummary.cs index 69470bdd3b..936e5c3627 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Rendering/ValidationSummary.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Rendering/ValidationSummary.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Acceptable validation summary rendering modes. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ScriptTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ScriptTagHelper.cs index 39edb15082..7a2d564e71 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ScriptTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ScriptTagHelper.cs @@ -4,15 +4,15 @@ using System; using System.Diagnostics; using System.Text.Encodings.Web; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor.TagHelpers; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Caching.Memory; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <script> elements that supports fallback src paths. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/SelectTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/SelectTagHelper.cs index 9cd4023a15..92cab6b0e3 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/SelectTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/SelectTagHelper.cs @@ -6,13 +6,13 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <select> elements with an asp-for attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperContentExtensions.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperContentExtensions.cs index 3b5a59e4f9..1e12731c17 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperContentExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperContentExtensions.cs @@ -4,12 +4,12 @@ using System; using System.IO; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperOutputExtensions.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperOutputExtensions.cs index daac21c342..c938ba3778 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperOutputExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TagHelperOutputExtensions.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// Utility related extensions for . diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TextAreaTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TextAreaTagHelper.cs index cfaa279c24..224f984497 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/TextAreaTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/TextAreaTagHelper.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting <textarea> elements with an asp-for attribute. diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationMessageTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationMessageTagHelper.cs index 89fdf1ec37..1ab46ea20d 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationMessageTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationMessageTagHelper.cs @@ -3,11 +3,11 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting any HTML element with an asp-validation-for diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationSummaryTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationSummaryTagHelper.cs index 70b75bc826..19adf4d495 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationSummaryTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/ValidationSummaryTagHelper.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { /// /// implementation targeting any HTML element with an asp-validation-summary diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/package.json b/src/Microsoft.AspNetCore.Mvc.TagHelpers/package.json index f4adf22afc..ea557bf64e 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/package.json +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/package.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "name": "Microsoft.AspNet.Mvc.TagHelpers", + "name": "Microsoft.AspNetCore.Mvc.TagHelpers", "private": true, "devDependencies": { "grunt": "~0.4.5", diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/project.json b/src/Microsoft.AspNetCore.Mvc.TagHelpers/project.json index cba6f97444..e5544f4459 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/project.json +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/project.json @@ -10,7 +10,7 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Razor": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor": "6.0.0-*", "Microsoft.Extensions.Caching.Memory": "1.0.0-*", "Microsoft.Extensions.FileSystemGlobbing": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/AutoValidateAntiforgeryTokenAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/AutoValidateAntiforgeryTokenAttribute.cs index a6827c0f44..e40fea31ad 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/AutoValidateAntiforgeryTokenAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/AutoValidateAntiforgeryTokenAttribute.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An attribute that causes validation of antiforgery tokens for all unsafe HTTP methods. An antiforgery diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/IViewBufferScope.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/IViewBufferScope.cs index d8ad81044d..9f032c6c2d 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/IViewBufferScope.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/IViewBufferScope.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewFeatures.Buffer +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer { /// /// Creates and manages the lifetime of instances. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/MemoryPoolViewBufferScope.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/MemoryPoolViewBufferScope.cs index 084a2bc1cf..f639c1cd3e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/MemoryPoolViewBufferScope.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/MemoryPoolViewBufferScope.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Buffers; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Buffer +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer { /// /// A that uses pooled memory. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBuffer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBuffer.cs index 7bc6f68656..5abc172c50 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBuffer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBuffer.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -7,10 +7,10 @@ using System.Diagnostics; using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Buffer +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer { /// /// An that is backed by a buffer provided by . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBufferValue.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBufferValue.cs index e36b7ee0f6..7d04446c44 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBufferValue.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Buffer/ViewBufferValue.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; using System.IO; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Buffer +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer { /// /// Encapsulates a string or value. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Controller.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Controller.cs index 8b37f02859..5b4baa44d0 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Controller.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Controller.cs @@ -3,13 +3,13 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A base class for an MVC controller with view support. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs index 31de61894b..237ff3cf29 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs index 531f2ce6a4..19b9780139 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs @@ -3,15 +3,15 @@ using System; using System.Buffers; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewComponentDiagnosticSourceExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewComponentDiagnosticSourceExtensions.cs index 80682b7a7e..cca16d7da2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewComponentDiagnosticSourceExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewComponentDiagnosticSourceExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; -namespace Microsoft.AspNet.Mvc.Diagnostics +namespace Microsoft.AspNetCore.Mvc.Diagnostics { public static class ViewComponentDiagnosticSourceExtensions { @@ -15,10 +15,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics ViewComponentContext context, object viewComponent) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeViewComponent")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeViewComponent")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeViewComponent", + "Microsoft.AspNetCore.Mvc.BeforeViewComponent", new { actionDescriptor = context.ViewContext.ActionDescriptor, @@ -34,10 +34,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics IViewComponentResult result, object viewComponent) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterViewComponent")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterViewComponent")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterViewComponent", + "Microsoft.AspNetCore.Mvc.AfterViewComponent", new { actionDescriptor = context.ViewContext.ActionDescriptor, @@ -53,10 +53,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics ViewComponentContext context, IView view) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewComponentBeforeViewExecute")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewComponentBeforeViewExecute")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewComponentBeforeViewExecute", + "Microsoft.AspNetCore.Mvc.ViewComponentBeforeViewExecute", new { actionDescriptor = context.ViewContext.ActionDescriptor, @@ -71,10 +71,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics ViewComponentContext context, IView view) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewComponentAfterViewExecute")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewComponentAfterViewExecute")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewComponentAfterViewExecute", + "Microsoft.AspNetCore.Mvc.ViewComponentAfterViewExecute", new { actionDescriptor = context.ViewContext.ActionDescriptor, diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewExecutorDiagnosticSourceExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewExecutorDiagnosticSourceExtensions.cs index 28a4ee470d..7a0a0d6f4a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewExecutorDiagnosticSourceExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/DiagnosticSource/ViewExecutorDiagnosticSourceExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; -namespace Microsoft.AspNet.Mvc.Diagnostics +namespace Microsoft.AspNetCore.Mvc.Diagnostics { public static class ViewExecutorDiagnosticSourceExtensions { @@ -15,10 +15,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics IView view, ViewContext viewContext) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.BeforeView")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.BeforeView")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.BeforeView", + "Microsoft.AspNetCore.Mvc.BeforeView", new { view = view, viewContext = viewContext, }); } } @@ -28,10 +28,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics IView view, ViewContext viewContext) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.AfterView")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.AfterView")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.AfterView", + "Microsoft.AspNetCore.Mvc.AfterView", new { view = view, viewContext = viewContext, }); } } @@ -44,10 +44,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics string viewName, IView view) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewFound")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewFound")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewFound", + "Microsoft.AspNetCore.Mvc.ViewFound", new { actionContext = actionContext, @@ -67,10 +67,10 @@ namespace Microsoft.AspNet.Mvc.Diagnostics string viewName, IEnumerable searchedLocations) { - if (diagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewNotFound")) + if (diagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewNotFound")) { diagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewNotFound", + "Microsoft.AspNetCore.Mvc.ViewNotFound", new { actionContext = actionContext, diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs index 6a0bc31010..8ed273fac2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs @@ -3,9 +3,9 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Supports the rendering of view components in a view. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentResult.cs index d0e7b63326..3ecce8ca7a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentResult.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewComponents; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Result type of a . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IgnoreAntiforgeryTokenAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IgnoreAntiforgeryTokenAttribute.cs index 2ca61c83a7..96cec9eb5b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IgnoreAntiforgeryTokenAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IgnoreAntiforgeryTokenAttribute.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An attribute which skips antiforgery token validation. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/AutoValidateAntiforgeryTokenAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/AutoValidateAntiforgeryTokenAuthorizationFilter.cs index 368082970a..8adca431fa 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/AutoValidateAntiforgeryTokenAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/AutoValidateAntiforgeryTokenAuthorizationFilter.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class AutoValidateAntiforgeryTokenAuthorizationFilter : ValidateAntiforgeryTokenAuthorizationFilter { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/HtmlAttributePropertyHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/HtmlAttributePropertyHelper.cs index 406f7e3093..98a425b3ae 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/HtmlAttributePropertyHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/HtmlAttributePropertyHelper.cs @@ -6,7 +6,7 @@ using System.Collections.Concurrent; using System.Reflection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { internal class HtmlAttributePropertyHelper : PropertyHelper { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ICanHasViewContext.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ICanHasViewContext.cs index 4efec666fa..35a9bd9bef 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ICanHasViewContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ICanHasViewContext.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public interface ICanHasViewContext { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ModelClientValidationRemoteRule.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ModelClientValidationRemoteRule.cs index 14053fe0df..6243b6e960 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ModelClientValidationRemoteRule.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ModelClientValidationRemoteRule.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { /// /// containing information for HTML attribute generation in fields a diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/MvcViewOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/MvcViewOptionsSetup.cs index db2997d62d..157c0039c2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/MvcViewOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/MvcViewOptionsSetup.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/NullView.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/NullView.cs index 5cf7dcfba1..277b0c1cd7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/NullView.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/NullView.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class NullView : IView { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/TempDataMvcOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/TempDataMvcOptionsSetup.cs index 5059658af5..6ef797c37c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/TempDataMvcOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/TempDataMvcOptionsSetup.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { /// /// Sets up default options for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidateAntiforgeryTokenAuthorizationFilter.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidateAntiforgeryTokenAuthorizationFilter.cs index 835d39825f..955d11f537 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidateAntiforgeryTokenAuthorizationFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidateAntiforgeryTokenAuthorizationFilter.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class ValidateAntiforgeryTokenAuthorizationFilter : IAsyncAuthorizationFilter, IAntiforgeryPolicy { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidationHelpers.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidationHelpers.cs index 8dfae9cf1c..5aaf64205d 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidationHelpers.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/ValidationHelpers.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public static class ValidationHelpers { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/DefaultViewComponentInvokerLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/DefaultViewComponentInvokerLoggerExtensions.cs index a3e7d87b67..d623e5ea67 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/DefaultViewComponentInvokerLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/DefaultViewComponentInvokerLoggerExtensions.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; -using Microsoft.AspNet.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewComponents; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Logging +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Logging { public static class DefaultViewComponentInvokerLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/PartialViewResultExecutorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/PartialViewResultExecutorLoggerExtensions.cs index 8989d9ed56..cfb7d28b55 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/PartialViewResultExecutorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/PartialViewResultExecutorLoggerExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Logging +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Logging { internal static class PartialViewResultExecutorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ValidateAntiforgeryTokenAuthorizationFilterLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ValidateAntiforgeryTokenAuthorizationFilterLoggerExtensions.cs index 84c514fec3..2757e495b3 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ValidateAntiforgeryTokenAuthorizationFilterLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ValidateAntiforgeryTokenAuthorizationFilterLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class ValidateAntiforgeryTokenAuthorizationFilterLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewComponentResultLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewComponentResultLoggerExtensions.cs index 52a829a154..3b3b9d56b5 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewComponentResultLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewComponentResultLoggerExtensions.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class ViewComponentResultLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewResultExecutorLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewResultExecutorLoggerExtensions.cs index 2abe623439..ffc69b299d 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewResultExecutorLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Logging/ViewResultExecutorLoggerExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.Logging +namespace Microsoft.AspNetCore.Mvc.Logging { public static class ViewResultExecutorLoggerExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ModelStateDictionaryExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ModelStateDictionaryExtensions.cs index 58c2f71501..3cafb812c3 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ModelStateDictionaryExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ModelStateDictionaryExtensions.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// Extensions methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/MvcViewOptions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/MvcViewOptions.cs index 5373bfa60a..89d594493e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/MvcViewOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/MvcViewOptions.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Provides programmatic configuration for views in the MVC framework. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/PartialViewResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/PartialViewResult.cs index b512bcd5c4..9b16a6f3df 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/PartialViewResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/PartialViewResult.cs @@ -3,12 +3,12 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that renders a partial view to the response. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/AssemblyInfo.cs index 1734768135..46fb40dd35 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/AssemblyInfo.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.ViewFeatures.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Formatters.Xml.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.ViewFeatures.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Razor.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.TagHelpers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Formatters.Xml.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/Resources.Designer.cs index 5ce77f462a..6c84e49f5a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.ViewFeatures.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.ViewFeatures.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The view component name '{0}' matched multiple types:{1}{2} diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/RemoteAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/RemoteAttribute.cs index 14b4af2bc3..ec2fa259db 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/RemoteAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/RemoteAttribute.cs @@ -6,14 +6,14 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A which configures Unobtrusive validation to send an Ajax request to the diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/FormMethod.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/FormMethod.cs index a9089eaf59..b765d4877b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/FormMethod.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/FormMethod.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public enum FormMethod { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs index dc43e8727e..677550ccc9 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Controls the value-rendering method For HTML5 input elements of types such as date, time, datetime and diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayExtensions.cs index c2613c6670..58552939d4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Display-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayNameExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayNameExtensions.cs index 5f08cddffc..536f071f7c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayNameExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperDisplayNameExtensions.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Linq.Expressions; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// DisplayName-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperEditorExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperEditorExtensions.cs index a071ef5378..bc21542e6c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperEditorExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperEditorExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Editor-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperFormExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperFormExtensions.cs index a0cdd2ae82..17e97801c7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperFormExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperFormExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Form-related extensions for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperInputExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperInputExtensions.cs index ade5013a1d..09ce8c314e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperInputExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperInputExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Input-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLabelExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLabelExtensions.cs index d3d425f2f4..cffda91e8e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLabelExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLabelExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Label-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLinkExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLinkExtensions.cs index 78b3e11448..506745dd07 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLinkExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperLinkExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Link-related extensions for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperNameExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperNameExtensions.cs index 66de67c598..1ebca75e9d 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperNameExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperNameExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Name-related extensions for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperPartialExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperPartialExtensions.cs index 7fedb6e218..1cd317bc60 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperPartialExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperPartialExtensions.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// PartialView-related extensions for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperSelectExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperSelectExtensions.cs index 42402f6b6e..4233634883 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperSelectExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperSelectExtensions.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Select-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValidationExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValidationExtensions.cs index 22f3006d8b..8cfafff1a7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValidationExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValidationExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Linq.Expressions; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Validation-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValueExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValueExtensions.cs index 4f35197df7..43dceadde5 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValueExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlHelperValueExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Linq.Expressions; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Value-related extensions for and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlString.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlString.cs index d396d43a1f..45be758cc9 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlString.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/HtmlString.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// public class HtmlString : HtmlEncodedString diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs index bdcde2e7a9..2f6d3ec451 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Base HTML helpers. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelperOfT.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelperOfT.cs index 3b4ff3c387..2dd22dade4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelperOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelperOfT.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq.Expressions; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// An for Linq expressions. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IJsonHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IJsonHelper.cs index 92040e697e..c958590e0c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IJsonHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IJsonHelper.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Base JSON helpers. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MultiSelectList.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MultiSelectList.cs index 434072cfbe..bbeb03b392 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MultiSelectList.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MultiSelectList.cs @@ -6,9 +6,9 @@ using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Represents a list that lets users select multiple items. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MvcForm.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MvcForm.cs index ea099652cf..f70ca6b0eb 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MvcForm.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/MvcForm.cs @@ -3,10 +3,10 @@ using System; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// An HTML form element in an MVC view. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectList.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectList.cs index 0cb5767e13..98e9f1178e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectList.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectList.cs @@ -4,7 +4,7 @@ using System; using System.Collections; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Represents a list that lets users select a single item. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListGroup.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListGroup.cs index 05937393ff..1d0db39154 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListGroup.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListGroup.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Represents the optgroup HTML element and its attributes. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListItem.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListItem.cs index 2e4d03be41..a56f3068b2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListItem.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/SelectListItem.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Represents an item in a or . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagBuilder.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagBuilder.cs index 29a7efda08..dd7585721f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagBuilder.cs @@ -8,10 +8,10 @@ using System.Globalization; using System.IO; using System.Text; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Contains methods and properties that are used to create HTML elements. This class is often used to write HTML diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagRenderMode.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagRenderMode.cs index da436637ad..c9d89b2c72 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagRenderMode.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/TagRenderMode.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public enum TagRenderMode { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewComponentHelperExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewComponentHelperExtensions.cs index f5513cae9e..635d7c6a9c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewComponentHelperExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewComponentHelperExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs index a1f16306d8..f1d02efb37 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs @@ -3,11 +3,11 @@ using System; using System.IO; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Context for view execution. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/SkipStatusCodePagesAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/SkipStatusCodePagesAttribute.cs index 3997665c9f..5c10404666 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/SkipStatusCodePagesAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/SkipStatusCodePagesAttribute.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Diagnostics; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Diagnostics; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Filter to prevent StatusCodePages middleware to handle responses. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ValidateAntiForgeryTokenAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ValidateAntiForgeryTokenAttribute.cs index 9479620d5f..65d722eeff 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ValidateAntiForgeryTokenAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ValidateAntiForgeryTokenAttribute.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Specifies that the class or method that this attribute is applied validates the anti-forgery token. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponent.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponent.cs index c32341ef62..1d86ed31d5 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponent.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponent.cs @@ -3,18 +3,18 @@ using System; using System.Security.Principal; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// A base class for view components. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentAttribute.cs index 18df840aea..6d4369f3f1 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class ViewComponentAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs index 5a2a358cf8..284adbf65e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponentResult.cs @@ -5,19 +5,19 @@ using System; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// An which renders a view component to the response. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ContentViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ContentViewComponentResult.cs index 2d7dca989e..7fc77d85c7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ContentViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ContentViewComponentResult.cs @@ -3,9 +3,9 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// An which writes text when executed. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentActivator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentActivator.cs index 07c6dd597b..a3a0a0fca2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentActivator.cs @@ -6,7 +6,7 @@ using System.Collections.Concurrent; using System.Reflection; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs index 16e9f63d6a..64ab00cda9 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs @@ -3,7 +3,7 @@ using System.Linq; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A default implementation of diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorProvider.cs index 739d43f01b..9dbfcfc84b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentDescriptorProvider.cs @@ -6,10 +6,10 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentHelper.cs index 9a1e1efcef..cc6fefbf92 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentHelper.cs @@ -4,14 +4,14 @@ using System; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Default implementation for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvoker.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvoker.cs index e2e3bf4531..dd83e32eb8 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvoker.cs @@ -6,16 +6,16 @@ using System.Diagnostics; using System.Reflection; using System.Runtime.ExceptionServices; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Diagnostics; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Logging; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Diagnostics; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Logging; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Default implementation for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvokerFactory.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvokerFactory.cs index cdbb5a5f81..8eccf8172f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvokerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentInvokerFactory.cs @@ -3,10 +3,10 @@ using System; using System.Diagnostics; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public class DefaultViewComponentInvokerFactory : IViewComponentInvokerFactory { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentSelector.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentSelector.cs index ec3978cd2a..a7ea572322 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentSelector.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/DefaultViewComponentSelector.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/HtmlContentViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/HtmlContentViewComponentResult.cs index 4aecf52d70..73bfa39fb4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/HtmlContentViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/HtmlContentViewComponentResult.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// An which writes an when executed. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentActivator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentActivator.cs index bff7a808a9..d113a357ad 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentActivator.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Provides methods to activate an instantiated ViewComponent diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorCollectionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorCollectionProvider.cs index 37d49ac2d7..b34927b814 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorCollectionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorCollectionProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Provides the currently cached collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorProvider.cs index e8d41025d4..19555e0d30 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentDescriptorProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Discovers the view components in the application. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvoker.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvoker.cs index 02c0e9a4bb..02ef85421e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvoker.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Specifies the contract for execution of a view component. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvokerFactory.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvokerFactory.cs index 82e629f7d1..5269162086 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvokerFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentInvokerFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public interface IViewComponentInvokerFactory { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentSelector.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentSelector.cs index 6ff2ba0de2..a2cdc8338f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentSelector.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/IViewComponentSelector.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Selects a view component based on a view component name. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/JsonViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/JsonViewComponentResult.cs index f9312c624c..8a5e37c8b5 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/JsonViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/JsonViewComponentResult.cs @@ -7,7 +7,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// An which renders JSON text when executed. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContext.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContext.cs index edb9eab8cd..2c79723c20 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContext.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.IO; using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A context for view components. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContextAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContextAttribute.cs index e81f955cc2..aa70e13569 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContextAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentContextAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// Specifies that a controller property should be set with the current diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentConventions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentConventions.cs index 8227c39d39..7d07ee71bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentConventions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentConventions.cs @@ -4,7 +4,7 @@ using System; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public static class ViewComponentConventions { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs index c554e0974f..935482dcb3 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs @@ -5,7 +5,7 @@ using System; using System.Diagnostics; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A descriptor for a view component. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptorCollection.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptorCollection.cs index 2c1a317e07..0f8d6e14d7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptorCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptorCollection.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A cached collection of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewViewComponentResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewViewComponentResult.cs index 6c7a83c6d6..0b1dc73691 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewViewComponentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewViewComponentResult.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Diagnostics; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Diagnostics; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { /// /// A that renders a partial view when executed. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/CompositeViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/CompositeViewEngine.cs index 2fcde45685..c492c88cea 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/CompositeViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/CompositeViewEngine.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { /// public class CompositeViewEngine : ICompositeViewEngine diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ICompositeViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ICompositeViewEngine.cs index a5eceaed8c..053edca3dd 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ICompositeViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ICompositeViewEngine.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { /// /// Represents an that delegates to one of a collection of view engines. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IView.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IView.cs index f86ef5772a..165b577170 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IView.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IView.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { /// /// Specifies the contract for a view. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IViewEngine.cs index d1a5c9b599..f08850bc21 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/IViewEngine.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { /// /// Defines the contract for a view engine. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ViewEngineResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ViewEngineResult.cs index ab59770a2d..02d2ee4693 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ViewEngineResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewEngines/ViewEngineResult.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { public class ViewEngineResult { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/AttributeDictionary.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/AttributeDictionary.cs index bafb54181b..a3a3b38b6f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/AttributeDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/AttributeDictionary.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -6,7 +6,7 @@ using System.Collections; using System.Collections.Generic; using System.Diagnostics; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A dictionary for HTML attributes. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/CachedExpressionCompiler.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/CachedExpressionCompiler.cs index d6ec492422..535524cb36 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/CachedExpressionCompiler.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/CachedExpressionCompiler.cs @@ -6,7 +6,7 @@ using System.Collections.Concurrent; using System.Linq.Expressions; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class CachedExpressionCompiler { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultDisplayTemplates.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultDisplayTemplates.cs index 450654adb0..3d99ae9d6e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultDisplayTemplates.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultDisplayTemplates.cs @@ -6,15 +6,15 @@ using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class DefaultDisplayTemplates { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultEditorTemplates.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultEditorTemplates.cs index bf3e182b7f..509d5950e4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultEditorTemplates.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultEditorTemplates.cs @@ -6,15 +6,15 @@ using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class DefaultEditorTemplates { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultHtmlGenerator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultHtmlGenerator.cs index 96024abdba..419a5a3e15 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultHtmlGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DefaultHtmlGenerator.cs @@ -9,16 +9,16 @@ using System.Globalization; using System.Linq; using System.Reflection; using System.Text.Encodings.Web; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class DefaultHtmlGenerator : IHtmlGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DynamicViewData.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DynamicViewData.cs index b0b00b53ac..9b1ca0ba07 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DynamicViewData.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/DynamicViewData.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Dynamic; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class DynamicViewData : DynamicObject { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionHelper.cs index 104867f6fe..226889d37b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionHelper.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class ExpressionHelper { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionMetadataProvider.cs index d1064deab5..c438e69c76 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ExpressionMetadataProvider.cs @@ -5,9 +5,9 @@ using System; using System.Globalization; using System.Linq.Expressions; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class ExpressionMetadataProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/FormContext.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/FormContext.cs index b54fcd156d..63e444c896 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/FormContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/FormContext.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class FormContext { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlContentWrapperTextWriter.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlContentWrapperTextWriter.cs index 1f92f2dacc..59b9b04ec5 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlContentWrapperTextWriter.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlContentWrapperTextWriter.cs @@ -4,10 +4,10 @@ using System; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// implementation which writes to an instance. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelper.cs index 29f283453b..07a87e05d0 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelper.cs @@ -8,16 +8,16 @@ using System.Linq; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOfT.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOfT.cs index 066f7c490f..3bc8febe86 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOfT.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class HtmlHelper : HtmlHelper, IHtmlHelper { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs index fd393cd27b..f64f308276 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Provides programmatic configuration for the HTML helpers and . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IAntiforgeryPolicy.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IAntiforgeryPolicy.cs index 4e861b94d5..ef925a6383 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IAntiforgeryPolicy.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IAntiforgeryPolicy.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A marker interface for filters which define a policy for antiforgery token validation. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs index 396df55eae..74def75f12 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Rendering; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Contract for a service supporting and ITagHelper implementations. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionary.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionary.cs index bcc39d6133..3b40c43407 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionary.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Represents a set of data that persists only from one request to the next. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionaryFactory.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionaryFactory.cs index a50784ef7b..6513695e5b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionaryFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataDictionaryFactory.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A factory which provides access to an instance diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataProvider.cs index c4f4c96bd2..2ebfa3eb96 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ITempDataProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Defines the contract for temporary-data providers that store data that is viewed on the next request. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/InputType.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/InputType.cs index 894a39d1de..03ebd45b6b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/InputType.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/InputType.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public enum InputType { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs index b5ff4c6cf1..5c43cb92ef 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs @@ -4,12 +4,12 @@ using System; using System.Globalization; using System.IO; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Rendering; using Newtonsoft.Json; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorer.cs index 2934ba82db..74654dc956 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorer.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Associates a model object with it's corresponding . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorerExtensions.cs index 81bfe57f25..237329e46c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExplorerExtensions.cs @@ -4,9 +4,9 @@ using System; using System.Linq; using System.Globalization; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Extension methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExpression.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExpression.cs index a0108d24a2..1cd30d28bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExpression.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelExpression.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewFeatures; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Describes an passed to a tag helper. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelMetadataProviderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelMetadataProviderExtensions.cs index 71f206660f..e20d5855a7 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelMetadataProviderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ModelMetadataProviderExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Extensions methods for . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/PartialViewResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/PartialViewResultExecutor.cs index b018854bef..18f601d68e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/PartialViewResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/PartialViewResultExecutor.cs @@ -6,15 +6,15 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Diagnostics; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Logging; +using Microsoft.AspNetCore.Mvc.Diagnostics; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Logging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Finds and executes an for a . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs index 6786b9202b..1d5ca30dc4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Adds a filter which will save the for a request. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataFilter.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataFilter.cs index 0627bf3ec2..b0dc43f158 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataFilter.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A filter which saves temp data. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SessionStateTempDataProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SessionStateTempDataProvider.cs index fff5442953..32ad4e75b8 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SessionStateTempDataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SessionStateTempDataProvider.cs @@ -8,13 +8,13 @@ using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Internal; using Newtonsoft.Json; using Newtonsoft.Json.Bson; using Newtonsoft.Json.Linq; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Provides session-state data to the current object. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/StringHtmlContent.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/StringHtmlContent.cs index db1592850a..de3c2d3022 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/StringHtmlContent.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/StringHtmlContent.cs @@ -5,9 +5,9 @@ using System; using System.Diagnostics; using System.IO; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// String content which gets encoded when written. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionary.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionary.cs index 2e499f449d..37b201a25b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionary.cs @@ -4,9 +4,9 @@ using System; using System.Collections; using System.Collections.Generic; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// public class TempDataDictionary : ITempDataDictionary diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionaryFactory.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionaryFactory.cs index 797eaa83ac..b1138b02db 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionaryFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TempDataDictionaryFactory.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// A default implementation of . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateBuilder.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateBuilder.cs index f1bece92be..75adf3a4aa 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateBuilder.cs @@ -3,13 +3,13 @@ using System; using System.Globalization; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class TemplateBuilder { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateInfo.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateInfo.cs index e3e5bd4b79..34ab4b63b9 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateInfo.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class TemplateInfo { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs index 4d6ce9a3fb..5f4845d3db 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs @@ -6,15 +6,15 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class TemplateRenderer { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueDelegate.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueDelegate.cs index 9d04b15988..44b2e4e3dd 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueDelegate.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueDelegate.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public delegate bool TryGetValueDelegate(object dictionary, string key, out object value); } diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueProvider.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueProvider.cs index 39573660df..c4e22aff0e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TryGetValueProvider.cs @@ -8,7 +8,7 @@ using System.Reflection; using System.Threading; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class TryGetValueProvider { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/UnobtrusiveValidationAttributesGenerator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/UnobtrusiveValidationAttributesGenerator.cs index 317a9941d4..3f3cfa34a4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/UnobtrusiveValidationAttributesGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/UnobtrusiveValidationAttributesGenerator.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class UnobtrusiveValidationAttributesGenerator { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewContextAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewContextAttribute.cs index 7a5417f999..c266d07873 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewContextAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewContextAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Specifies that a tag helper property should be set with the current diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionary.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionary.cs index 05f0ac92b3..4bd321ce8c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionary.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionary.cs @@ -8,10 +8,10 @@ using System.Globalization; #if DOTNET5_4 using System.Reflection; #endif -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataDictionary : IDictionary { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryAttribute.cs index ba23382c12..578e3c04a1 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryAttribute.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Specifies that a controller property should be set with the current diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryControllerPropertyActivator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryControllerPropertyActivator.cs index 1e510ce7e7..6dfc2ffc93 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryControllerPropertyActivator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryControllerPropertyActivator.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Concurrent; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Internal; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataDictionaryControllerPropertyActivator : IControllerPropertyActivator { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryOfT.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryOfT.cs index b1c53236a4..7a4ff22f3f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryOfT.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataDictionaryOfT.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataDictionary : ViewDataDictionary { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataEvaluator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataEvaluator.cs index 1f962dc2b8..ed3ccbe49a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataEvaluator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataEvaluator.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public static class ViewDataEvaluator { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs index 7923046968..c43eaa68c4 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs @@ -4,7 +4,7 @@ using System; using System.Reflection; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataInfo { diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewExecutor.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewExecutor.cs index 5ff35adc6f..aa1486c2b1 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewExecutor.cs @@ -5,17 +5,17 @@ using System; using System.Diagnostics; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Diagnostics; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Diagnostics; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Executes an . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewResultExecutor.cs index bf4bd816ae..213771b831 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewResultExecutor.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Logging; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Logging; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Finds and executes an for a . @@ -99,10 +99,10 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures if (result.Success) { - if (DiagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewFound")) + if (DiagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewFound")) { DiagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewFound", + "Microsoft.AspNetCore.Mvc.ViewFound", new { actionContext = actionContext, @@ -117,10 +117,10 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures } else { - if (DiagnosticSource.IsEnabled("Microsoft.AspNet.Mvc.ViewNotFound")) + if (DiagnosticSource.IsEnabled("Microsoft.AspNetCore.Mvc.ViewNotFound")) { DiagnosticSource.Write( - "Microsoft.AspNet.Mvc.ViewNotFound", + "Microsoft.AspNetCore.Mvc.ViewNotFound", new { actionContext = actionContext, diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewResult.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewResult.cs index 3997081da5..ed0418a85a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewResult.cs @@ -3,12 +3,12 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that renders a view to the response. diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/project.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/project.json index 1976a8d687..1c2d32d50f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/project.json +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/project.json @@ -10,12 +10,12 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Antiforgery": "1.0.0-*", - "Microsoft.AspNet.Diagnostics.Abstractions": "1.0.0-*", - "Microsoft.AspNet.Html.Abstractions": "1.0.0-*", - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", - "Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*", + "Microsoft.AspNetCore.Antiforgery": "1.0.0-*", + "Microsoft.AspNetCore.Diagnostics.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.Html.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.DataAnnotations": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Json": "6.0.0-*", "Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ApiController.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ApiController.cs index 7d70486308..2369081ccf 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ApiController.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ApiController.cs @@ -5,12 +5,12 @@ using System.Net; using System.Net.Http; using System.Security.Principal; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; @@ -30,7 +30,7 @@ namespace System.Web.Http private IUrlHelper _urlHelper; /// - /// Gets the . + /// Gets the . /// public ActionContext ActionContext => ControllerContext; diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/BadRequestErrorMessageResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/BadRequestErrorMessageResult.cs index ffe85db138..f9f313f899 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/BadRequestErrorMessageResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/BadRequestErrorMessageResult.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ConflictResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ConflictResult.cs index 479eb93ef9..a476a1dc15 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ConflictResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ConflictResult.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/FormDataCollection.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/FormDataCollection.cs index 4fb97fa587..9f9cdc3fa9 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/FormDataCollection.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/FormDataCollection.cs @@ -3,7 +3,7 @@ #if DOTNET5_4 -using Microsoft.AspNet.WebUtilities; +using Microsoft.AspNetCore.WebUtilities; using System.Collections; using System.Collections.Generic; diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/MediaTypeHeaderValueExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/MediaTypeHeaderValueExtensions.cs index b9fe1fe4e8..8ea738594c 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/MediaTypeHeaderValueExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ContentNegotiator/MediaTypeHeaderValueExtensions.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Net.Http.Headers; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace System.Net.Http.Formatting { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiActionConventions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiActionConventions.cs index 6ad447f78b..2ea02d9d91 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiActionConventions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiActionConventions.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public interface IUseWebApiActionConventions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiOverloading.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiOverloading.cs index c34095f2ac..d3006079cd 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiOverloading.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiOverloading.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public interface IUseWebApiOverloading { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiParameterConventions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiParameterConventions.cs index 6402f75884..8aa7be39a1 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiParameterConventions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiParameterConventions.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public interface IUseWebApiParameterConventions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiRoutes.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiRoutes.cs index 7da39d01d7..7dbd14cc41 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiRoutes.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/IUseWebApiRoutes.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public interface IUseWebApiRoutes { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiActionConventionsAttribute.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiActionConventionsAttribute.cs index 14099fc68e..2ec6ae6e9a 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiActionConventionsAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiActionConventionsAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class UseWebApiActionConventionsAttribute : Attribute, IUseWebApiActionConventions diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiOverloadingAttribute.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiOverloadingAttribute.cs index f1152cdaac..153a772940 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiOverloadingAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiOverloadingAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class UseWebApiOverloadingAttribute : Attribute, IUseWebApiOverloading diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiParameterConventionsAttribute.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiParameterConventionsAttribute.cs index 5112ecfaaa..c684a0a3b3 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiParameterConventionsAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiParameterConventionsAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class UseWebApiParameterConventionsAttribute : Attribute, IUseWebApiParameterConventions diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiRoutesAttribute.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiRoutesAttribute.cs index 23fe9181ab..684490124f 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiRoutesAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/UseWebApiRoutesAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class UseWebApiRoutesAttribute : Attribute, IUseWebApiRoutes diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiActionConventionsApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiActionConventionsApplicationModelConvention.cs index 6a1538833b..3e04f370f7 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiActionConventionsApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiActionConventionsApplicationModelConvention.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiActionConventionsApplicationModelConvention : IControllerModelConvention { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiOverloadingApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiOverloadingApplicationModelConvention.cs index e40d9f7159..127abe2033 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiOverloadingApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiOverloadingApplicationModelConvention.cs @@ -3,9 +3,9 @@ using System; using System.Linq; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiOverloadingApplicationModelConvention : IActionModelConvention { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiParameterConventionsApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiParameterConventionsApplicationModelConvention.cs index 28b1288c53..473ee95bb7 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiParameterConventionsApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiParameterConventionsApplicationModelConvention.cs @@ -7,10 +7,10 @@ using System.ComponentModel; using System.Linq; using System.Reflection; using System.Web.Http; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiParameterConventionsApplicationModelConvention : IActionModelConvention { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiRoutesApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiRoutesApplicationModelConvention.cs index 433f2e4340..6c9018312f 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiRoutesApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Conventions/WebApiRoutesApplicationModelConvention.cs @@ -3,9 +3,9 @@ using System; using System.Linq; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiRoutesApplicationModelConvention : IControllerModelConvention { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ExceptionResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ExceptionResult.cs index 5d12a4107f..ea5a7c86ea 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ExceptionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ExceptionResult.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/FormDataCollectionExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/FormDataCollectionExtensions.cs index 6a61edf92d..a9539e83a0 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/FormDataCollectionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/FormDataCollectionExtensions.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Net.Http.Formatting; using System.Text; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public static class FormDataCollectionExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Formatters/HttpResponseMessageOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Formatters/HttpResponseMessageOutputFormatter.cs index cea1ebdd7b..9d02370adb 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Formatters/HttpResponseMessageOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Formatters/HttpResponseMessageOutputFormatter.cs @@ -5,12 +5,12 @@ using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpResponseMessageOutputFormatter : IOutputFormatter { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpError.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpError.cs index f3c7d4d6c6..f86b30da3a 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpError.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpError.cs @@ -6,8 +6,8 @@ using System.Linq; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; -using Microsoft.AspNet.Mvc.ModelBinding; -using ShimResources = Microsoft.AspNet.Mvc.WebApiCompatShim.Resources; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using ShimResources = Microsoft.AspNetCore.Mvc.WebApiCompatShim.Resources; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageExtensions.cs index ef4d5841c7..f14dd06a26 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageExtensions.cs @@ -5,12 +5,12 @@ using System.Collections.Generic; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Web.Http; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -using ShimResources = Microsoft.AspNet.Mvc.WebApiCompatShim.Resources; +using ShimResources = Microsoft.AspNetCore.Mvc.WebApiCompatShim.Resources; namespace System.Net.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageFeature.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageFeature.cs index 7c51ad3385..9937d4d2c3 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageFeature.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageFeature.cs @@ -5,9 +5,9 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpRequestMessageFeature : IHttpRequestMessageFeature { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageHttpContextExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageHttpContextExtensions.cs index 23bae41498..36636bb49a 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageHttpContextExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageHttpContextExtensions.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net.Http; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public static class HttpRequestMessageHttpContextExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageModelBinder.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageModelBinder.cs index c932141e44..fea443b041 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageModelBinder.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/HttpRequestMessageModelBinder.cs @@ -3,10 +3,10 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { /// /// implementation to bind models of type . diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/IHttpRequestMessageFeature.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/IHttpRequestMessageFeature.cs index dd29493364..ecad550a9e 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/IHttpRequestMessageFeature.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpRequestMessage/IHttpRequestMessageFeature.cs @@ -3,7 +3,7 @@ using System.Net.Http; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public interface IHttpRequestMessageFeature { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseException.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseException.cs index 69c1592aea..866642f6c5 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseException.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseException.cs @@ -3,7 +3,7 @@ using System.Net; using System.Net.Http; -using ShimResources = Microsoft.AspNet.Mvc.WebApiCompatShim.Resources; +using ShimResources = Microsoft.AspNetCore.Mvc.WebApiCompatShim.Resources; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseExceptionActionFilter.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseExceptionActionFilter.cs index fd140e2d20..bf166d6e9a 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseExceptionActionFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/HttpResponseExceptionActionFilter.cs @@ -4,9 +4,9 @@ using System; using System.Net.Http; using System.Web.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { /// /// An action filter which sets to an diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InternalServerErrorResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InternalServerErrorResult.cs index e3dec407dc..c2f88a6132 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InternalServerErrorResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InternalServerErrorResult.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InvalidModelStateResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InvalidModelStateResult.cs index a8feb1d000..7bd992b650 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InvalidModelStateResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/InvalidModelStateResult.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/NegotiatedContentResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/NegotiatedContentResult.cs index d34097de37..d828be7387 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/NegotiatedContentResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/NegotiatedContentResult.cs @@ -3,7 +3,7 @@ using System.Net; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/OverloadActionConstraint.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/OverloadActionConstraint.cs index 21f75e4c65..6f894cd3da 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/OverloadActionConstraint.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/OverloadActionConstraint.cs @@ -7,12 +7,12 @@ using System.ComponentModel; using System.Linq; using System.Net.Http.Formatting; using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class OverloadActionConstraint : IActionConstraint { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/FromUriAttribute.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/FromUriAttribute.cs index cbe5c47072..eb84b10180 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/FromUriAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/FromUriAttribute.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ModelBinding; -using WebApiShimResources = Microsoft.AspNet.Mvc.WebApiCompatShim.Resources; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using WebApiShimResources = Microsoft.AspNetCore.Mvc.WebApiCompatShim.Resources; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/IOptionalBinderMetadata.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/IOptionalBinderMetadata.cs index cb9c594031..16f9abed66 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/IOptionalBinderMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ParameterBinding/IOptionalBinderMetadata.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// /// An type that designates an optional parameter for the purposes diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Properties/Resources.Designer.cs index 51d9fdff57..9d5d5cba39 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.WebApiCompatShim internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.WebApiCompatShim.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.WebApiCompatShim.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The request is invalid. diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ResponseMessageResult.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ResponseMessageResult.cs index fd3a3eb243..c771faa632 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ResponseMessageResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/ResponseMessageResult.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace System.Web.Http { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Routing/WebApiCompatShimRouteBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Routing/WebApiCompatShimRouteBuilderExtensions.cs index 00bd6283ae..f16f2f5c61 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Routing/WebApiCompatShimRouteBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Routing/WebApiCompatShimRouteBuilderExtensions.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.WebApiCompatShim; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Constraints; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Constraints; -namespace Microsoft.AspNet.Builder +namespace Microsoft.AspNetCore.Builder { public static class WebApiCompatShimRouteBuilderExtensions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimMvcBuilderExtensions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimMvcBuilderExtensions.cs index 626352601f..1fa6a5fd02 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimMvcBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimMvcBuilderExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net.Http.Formatting; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptions.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptions.cs index 2bf3f56ba5..c18b8a2be5 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptions.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Net.Http.Formatting; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiCompatShimOptions { diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptionsSetup.cs b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptionsSetup.cs index 26aa5db3a9..f5eb8c4cc4 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptionsSetup.cs +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/WebApiCompatShimOptionsSetup.cs @@ -3,11 +3,11 @@ using System.Net.Http; using System.Net.Http.Formatting; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class WebApiCompatShimOptionsSetup : IConfigureOptions, IConfigureOptions diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/project.json b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/project.json index 0dbc5f9aba..29165b9f2b 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/project.json +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/project.json @@ -10,10 +10,10 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*", - "Microsoft.AspNet.WebApi.Client": "5.2.2", - "Microsoft.AspNet.WebUtilities": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Json": "6.0.0-*", + "Microsoft.AspNetCore.WebApi.Client": "5.2.2", + "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.PropertyHelper.Sources": { "type": "build", "version": "1.0.0-*" diff --git a/src/Microsoft.AspNetCore.Mvc/MvcServiceCollectionExtensions.cs b/src/Microsoft.AspNetCore.Mvc/MvcServiceCollectionExtensions.cs index 241a6b1df3..929841b652 100644 --- a/src/Microsoft.AspNetCore.Mvc/MvcServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc/MvcServiceCollectionExtensions.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Internal; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Microsoft.AspNetCore.Mvc/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc/Properties/AssemblyInfo.cs index 41257fb0a7..5636730ca6 100644 --- a/src/Microsoft.AspNetCore.Mvc/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc/Properties/AssemblyInfo.cs @@ -6,5 +6,5 @@ using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("Serviceable", "True")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Mvc.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: NeutralResourcesLanguage("en-us")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc/project.json b/src/Microsoft.AspNetCore.Mvc/project.json index fe69a0027f..b11a65f522 100644 --- a/src/Microsoft.AspNetCore.Mvc/project.json +++ b/src/Microsoft.AspNetCore.Mvc/project.json @@ -10,13 +10,13 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc.ApiExplorer": "6.0.0-*", - "Microsoft.AspNet.Mvc.Cors": "6.0.0-*", - "Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*", - "Microsoft.AspNet.Mvc.Localization": "6.0.0-*", - "Microsoft.AspNet.Mvc.Razor": "6.0.0-*", - "Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.ApiExplorer": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Cors": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.DataAnnotations": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Json": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Localization": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.ViewFeatures": "6.0.0-*", "Microsoft.Extensions.Caching.Memory": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.PropertyHelper.Sources": { diff --git a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelMetadataTest.cs b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelMetadataTest.cs index f2d1adf19c..3ee5b90906 100644 --- a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelMetadataTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelMetadataTest.cs @@ -5,10 +5,10 @@ using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelMetadataTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelStateDictionaryTest.cs b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelStateDictionaryTest.cs index 575f50bc9f..8cdae006ec 100644 --- a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelStateDictionaryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ModelStateDictionaryTest.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelStateDictionaryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ValueProviderResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ValueProviderResultTest.cs index 48a5c1217a..dd639bc564 100644 --- a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ValueProviderResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/ModelBinding/ValueProviderResultTest.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ValueProviderResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/project.json index dfdd88998a..d13fd9a828 100644 --- a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/project.json @@ -4,8 +4,8 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "commands": { diff --git a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/DefaultApiDescriptionProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/DefaultApiDescriptionProviderTest.cs index d5833def1a..b6ad84694f 100644 --- a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/DefaultApiDescriptionProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/DefaultApiDescriptionProviderTest.cs @@ -7,24 +7,24 @@ using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Constraints; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Constraints; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Description +namespace Microsoft.AspNetCore.Mvc.Description { public class DefaultApiDescriptionProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/project.json b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/project.json index eb2ec4abaa..d9bdda0caa 100644 --- a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/project.json @@ -3,13 +3,13 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ActionModelTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ActionModelTest.cs index 0308ab0668..923db68e2b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ActionModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ActionModelTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class ActionModelTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/AttributeRouteModelTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/AttributeRouteModelTests.cs index 5cacca66b8..1131fc9b8d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/AttributeRouteModelTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/AttributeRouteModelTests.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class AttributeRouteModelTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ControllerModelTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ControllerModelTest.cs index bb1dd49325..1b640f3c33 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ControllerModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ControllerModelTest.cs @@ -4,14 +4,14 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class ControllerModelTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ParameterModelTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ParameterModelTest.cs index 0729d71815..650e1c068b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ParameterModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ParameterModelTest.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class ParameterModelTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/PropertyModelTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/PropertyModelTest.cs index b9b1e6c155..dde1ba6769 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/PropertyModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/PropertyModelTest.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ApplicationModels +namespace Microsoft.AspNetCore.Mvc.ApplicationModels { public class PropertyModelTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestObjectResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestObjectResultTests.cs index b6ebcc01ef..153cfc27d0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestObjectResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestObjectResultTests.cs @@ -1,11 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class BadRequestObjectResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestResultTests.cs index 2b2aafca23..45979cf32d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/BadRequestResultTests.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class BadRequestResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/BindAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/BindAttributeTest.cs index df9115a067..07204c1905 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/BindAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/BindAttributeTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class BindAttributeTest { @@ -15,9 +15,9 @@ namespace Microsoft.AspNet.Mvc.ModelBinding { // Arrange var expected = - "The type 'Microsoft.AspNet.Mvc.ModelBinding.BindAttributeTest+UnrelatedType' " + + "The type 'Microsoft.AspNetCore.Mvc.ModelBinding.BindAttributeTest+UnrelatedType' " + "does not implement the interface " + - "'Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider'." + + "'Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyBindingPredicateProvider'." + Environment.NewLine + "Parameter name: predicateProviderType"; diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcApplicationBuilderExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcApplicationBuilderExtensionsTest.cs index 72d851e3ae..c4016e9ef2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcApplicationBuilderExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcApplicationBuilderExtensionsTest.cs @@ -1,12 +1,12 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Builder; +using Microsoft.AspNetCore.Builder; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Core.Builder +namespace Microsoft.AspNetCore.Mvc.Core.Builder { public class MvcApplicationBuilderExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcAreaRouteBuilderExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcAreaRouteBuilderExtensionsTest.cs index 0d7f2517a5..f59295b3f6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcAreaRouteBuilderExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Builder/MvcAreaRouteBuilderExtensionsTest.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Constraints; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Constraints; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Builder +namespace Microsoft.AspNetCore.Builder { public class MvcAreaRouteBuilderExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ChallengeResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ChallengeResultTest.cs index 2be71ca859..33aad8c9bd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ChallengeResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ChallengeResultTest.cs @@ -2,17 +2,17 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ChallengeResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ConsumesAttributeTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ConsumesAttributeTests.cs index 27f32028ac..9170244e1d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ConsumesAttributeTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ConsumesAttributeTests.cs @@ -4,18 +4,18 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ConsumesAttributeTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs index 113cbd5c75..42f5dad0d8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs @@ -5,14 +5,14 @@ using System; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -20,7 +20,7 @@ using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ContentResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ControllerBaseTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ControllerBaseTest.cs index 8abd1f8ee9..3792e732f8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ControllerBaseTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ControllerBaseTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -8,22 +8,22 @@ using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Core.Test +namespace Microsoft.AspNetCore.Mvc.Core.Test { public class ControllerBaseTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerActivatorTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerActivatorTest.cs index bf993a144a..dcca781c4a 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerActivatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerActivatorTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { public class DefaultControllerActivatorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerFactoryTest.cs index 9d4cd1f1e1..27698bb17f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerFactoryTest.cs @@ -3,15 +3,15 @@ using System; using System.Reflection; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { public class DefaultControllerFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerTypeProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerTypeProviderTest.cs index 17d4303490..deeb7fdadb 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerTypeProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/DefaultControllerTypeProviderTest.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.DefaultControllerTypeProviderControllers; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.DefaultControllerTypeProviderControllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Xunit; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { public class DefaultControllerTypeProviderTest { @@ -275,7 +275,7 @@ namespace Microsoft.AspNet.Mvc.Controllers // implementation of this class to test it, they are just top level classes. Don't reuse // these outside this test - find a better way or use nested classes to keep the tests // independent. -namespace Microsoft.AspNet.Mvc.DefaultControllerTypeProviderControllers +namespace Microsoft.AspNetCore.Mvc.DefaultControllerTypeProviderControllers { public abstract class AbstractController : Controller { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/ServiceBasedControllerActivatorTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/ServiceBasedControllerActivatorTest.cs index 8dd5af3831..5735afc155 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/ServiceBasedControllerActivatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Controllers/ServiceBasedControllerActivatorTest.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Controllers +namespace Microsoft.AspNetCore.Mvc.Controllers { public class ServiceBasedControllerActivatorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtActionResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtActionResultTests.cs index 91c0e9f25f..8600bfac5c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtActionResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtActionResultTests.cs @@ -5,15 +5,15 @@ using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -21,7 +21,7 @@ using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class CreatedAtActionResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtRouteResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtRouteResultTests.cs index 7deb744f67..ed8335593f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtRouteResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedAtRouteResultTests.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -20,7 +20,7 @@ using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class CreatedAtRouteResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedResultTests.cs index 0fbf26d264..5fb081a970 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/CreatedResultTests.cs @@ -4,14 +4,14 @@ using System; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.WebUtilities; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.WebUtilities; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -19,7 +19,7 @@ using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class CreatedResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs index 9088ed15ad..3a51e8ff4c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs @@ -3,8 +3,8 @@ using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.Extensions.Internal; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcBuilderExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcBuilderExtensionsTest.cs index ff864d87d8..3c1f1f611e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcBuilderExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcBuilderExtensionsTest.cs @@ -3,13 +3,13 @@ using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.MvcServiceCollectionExtensionsTestControllers; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.MvcServiceCollectionExtensionsTestControllers; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class MvcBuilderExtensionsTest { @@ -58,9 +58,9 @@ namespace Microsoft.AspNet.Mvc // implementation of this class to test it, they are just top level classes. Don't reuse // these outside this test - find a better way or use nested classes to keep the tests // independent. -namespace Microsoft.AspNet.Mvc.MvcServiceCollectionExtensionsTestControllers +namespace Microsoft.AspNetCore.Mvc.MvcServiceCollectionExtensionsTestControllers { - public class ControllerTypeA : Microsoft.AspNet.Mvc.Controller + public class ControllerTypeA : Microsoft.AspNetCore.Mvc.Controller { } diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs index b100344889..f32d3606f7 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs @@ -4,21 +4,21 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class MvcCoreServiceCollectionExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/EmptyResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/EmptyResultTests.cs index 517b9f2db2..74d1e40bb6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/EmptyResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/EmptyResultTests.cs @@ -1,13 +1,13 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class EmptyResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs index 487b6a5a7a..7ba7c9f3bf 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs @@ -3,18 +3,18 @@ using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class FileContentResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileResultTest.cs index a9aa1be90d..20da9d82bd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileResultTest.cs @@ -4,10 +4,10 @@ using System; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -15,7 +15,7 @@ using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class FileResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs index 341a46bb82..5599595048 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs @@ -6,19 +6,19 @@ using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class FileStreamResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ActionFilterAttributeTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ActionFilterAttributeTests.cs index 42dadaa6d1..575606c785 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ActionFilterAttributeTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ActionFilterAttributeTests.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class ActionFilterAttributeTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/FilterCollectionTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/FilterCollectionTest.cs index 671c39e6c3..43afe1610b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/FilterCollectionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/FilterCollectionTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class FilterCollectionTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ResultFilterAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ResultFilterAttributeTest.cs index 36f63399e3..c6b30ae850 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ResultFilterAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Filters/ResultFilterAttributeTest.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { // These tests share code with the ActionFilterAttribute tests because the IAsyncResultFilter // implementations need to behave the same way. diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FlushReportingStream.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FlushReportingStream.cs index d7bb0231ac..65f2af8e38 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FlushReportingStream.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FlushReportingStream.cs @@ -5,7 +5,7 @@ using System.IO; using System.Threading; using Moq; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public static class FlushReportingStream { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ForbidResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ForbidResultTest.cs index 8809195827..cf0f808dcc 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ForbidResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ForbidResultTest.cs @@ -3,18 +3,18 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ForbidResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatFilterTest.cs index c0c0a19717..ab65033e62 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatFilterTest.cs @@ -1,18 +1,18 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class FormatFilterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterCollectionTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterCollectionTest.cs index 8e1f3d49a0..b702342d46 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterCollectionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterCollectionTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class FormatterCollectionTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterMappingsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterMappingsTest.cs index 47a37ef7d7..da94275264 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterMappingsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/FormatterMappingsTest.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class FormatterMappingsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/HttpNotAcceptableOutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/HttpNotAcceptableOutputFormatterTest.cs index 97fb18fef3..8adb63ba14 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/HttpNotAcceptableOutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/HttpNotAcceptableOutputFormatterTest.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class HttpNotAcceptableOutputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/InputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/InputFormatterTest.cs index 781b2e0c2c..09c210017f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/InputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/InputFormatterTest.cs @@ -1,17 +1,17 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class InputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/MediaTypeTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/MediaTypeTest.cs index 618a431bdd..f5b989efbc 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/MediaTypeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/MediaTypeTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class MediaTypeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/NoContentFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/NoContentFormatterTests.cs index e5ca0a530a..507f73820c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/NoContentFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/NoContentFormatterTests.cs @@ -4,13 +4,13 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class NoContentFormatterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/OutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/OutputFormatterTests.cs index c796024ea4..6a2f626ad3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/OutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/OutputFormatterTests.cs @@ -5,16 +5,16 @@ using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Moq.Protected; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class OutputFormatterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StreamOutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StreamOutputFormatterTest.cs index b654641c94..e752f17787 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StreamOutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StreamOutputFormatterTest.cs @@ -5,13 +5,13 @@ using System; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class StreamOutputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StringOutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StringOutputFormatterTests.cs index 3cfd6da9f2..5797d1577f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StringOutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Formatters/StringOutputFormatterTests.cs @@ -5,13 +5,13 @@ using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class TextPlainFormatterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundObjectResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundObjectResultTest.cs index 7a2690df7f..833364b14d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundObjectResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundObjectResultTest.cs @@ -4,16 +4,16 @@ using System; using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpNotFoundObjectResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundResultTests.cs index 05b7ecfdc3..25494b017f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpNotFoundResultTests.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpNotFoundResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkObjectResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkObjectResultTest.cs index a6ded3e283..d1927d6301 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkObjectResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkObjectResultTest.cs @@ -3,13 +3,13 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Logging; @@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpOkObjectResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkResultTest.cs index b224de2f93..d074ea520b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpOkResultTest.cs @@ -1,17 +1,17 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpOkResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpResponseStreamWriterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpResponseStreamWriterTest.cs index 9217739cc9..c8b349d6f3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpResponseStreamWriterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpResponseStreamWriterTest.cs @@ -7,10 +7,10 @@ using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpResponseStreamWriterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpStatusCodeResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpStatusCodeResultTests.cs index 062b6098e4..6fabcdc496 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpStatusCodeResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpStatusCodeResultTests.cs @@ -1,16 +1,16 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpStatusCodeResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpUnauthorizedResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpUnauthorizedResultTests.cs index 8a3ad20f44..5206780376 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpUnauthorizedResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/HttpUnauthorizedResultTests.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HttpUnauthorizedResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultActionSelectorTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultActionSelectorTests.cs index 71674f8638..fbbca07087 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultActionSelectorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultActionSelectorTests.cs @@ -5,22 +5,22 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class DefaultActionSelectorTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultAssemblyProviderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultAssemblyProviderTests.cs index 381a1b4528..b4760902e1 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultAssemblyProviderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/DefaultAssemblyProviderTests.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.PlatformAbstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class DefaultAssemblyProviderTests { @@ -21,9 +21,9 @@ namespace Microsoft.AspNet.Mvc.Infrastructure manager.Setup(f => f.GetReferencingLibraries(It.IsAny())) .Returns(new[] { - new Library("Microsoft.AspNet.Mvc.Core"), - new Library("Microsoft.AspNet.Mvc"), - new Library("Microsoft.AspNet.Mvc.Abstractions"), + new Library("Microsoft.AspNetCore.Mvc.Core"), + new Library("Microsoft.AspNetCore.Mvc"), + new Library("Microsoft.AspNetCore.Mvc.Abstractions"), new Library("SomeRandomAssembly"), }) .Verifiable(); @@ -45,11 +45,11 @@ namespace Microsoft.AspNet.Mvc.Infrastructure var manager = new Mock(); manager.Setup(f => f.GetReferencingLibraries(It.IsAny())) .Returns(Enumerable.Empty()); - manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNet.Mvc.Core")) + manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNetCore.Mvc.Core")) .Returns(new[] { new Library("Foo") }); - manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNet.Mvc.Abstractions")) + manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNetCore.Mvc.Abstractions")) .Returns(new[] { new Library("Bar") }); - manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNet.Mvc")) + manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNetCore.Mvc")) .Returns(new[] { new Library("Baz") }); var provider = new TestAssemblyProvider(manager.Object); @@ -100,7 +100,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure } // This test verifies DefaultAssemblyProvider.ReferenceAssemblies reflects the actual loadable assemblies - // of the libraries that Microsoft.AspNet.Mvc dependes on. + // of the libraries that Microsoft.AspNetCore.Mvc dependes on. // If we add or remove dependencies, this test should be changed together. [Fact] public void ReferenceAssemblies_ReturnsLoadableReferenceAssemblies() @@ -121,7 +121,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure var manager = new Mock(); manager.Setup(f => f.GetReferencingLibraries(It.IsAny())) .Returns(Enumerable.Empty()); - manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNet.Mvc.Core")) + manager.Setup(f => f.GetReferencingLibraries("Microsoft.AspNetCore.Mvc.Core")) .Returns(new[] { new Library("Baz") }); manager.Setup(f => f.GetReferencingLibraries("MyAssembly")) .Returns(new[] { new Library("Foo") }); @@ -179,7 +179,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure private class MvcAssembliesTestingProvider : DefaultAssemblyProvider { private static readonly ILibraryManager _libraryManager = GetLibraryManager(); - private static readonly string _mvcName = "Microsoft.AspNet.Mvc"; + private static readonly string _mvcName = "Microsoft.AspNetCore.Mvc"; public MvcAssembliesTestingProvider() : base(_libraryManager) { } @@ -223,7 +223,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure { var exceptionalAssebmlies = new string[] { - "Microsoft.AspNet.Mvc.WebApiCompatShim", + "Microsoft.AspNetCore.Mvc.WebApiCompatShim", }; var mvcAssemblies = assemblies @@ -232,9 +232,9 @@ namespace Microsoft.AspNet.Mvc.Infrastructure .Except(exceptionalAssebmlies) .ToList(); - // The following assemblies are not reachable from Microsoft.AspNet.Mvc - mvcAssemblies.Add("Microsoft.AspNet.Mvc.TagHelpers"); - mvcAssemblies.Add("Microsoft.AspNet.Mvc.Formatters.Xml"); + // The following assemblies are not reachable from Microsoft.AspNetCore.Mvc + mvcAssemblies.Add("Microsoft.AspNetCore.Mvc.TagHelpers"); + mvcAssemblies.Add("Microsoft.AspNetCore.Mvc.Formatters.Xml"); return mvcAssemblies; } diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/HttpResponseStreamReaderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/HttpResponseStreamReaderTest.cs index 91386c00c7..4a3f1b4440 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/HttpResponseStreamReaderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/HttpResponseStreamReaderTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -8,7 +8,7 @@ using System.Text; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class HttpResponseStreamReaderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/MvcRouteHandlerTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/MvcRouteHandlerTests.cs index ec6665eeb6..e42b9ff808 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/MvcRouteHandlerTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/MvcRouteHandlerTests.cs @@ -4,18 +4,18 @@ using System; using System.Diagnostics; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class MvcRouteHandlerTests { @@ -202,7 +202,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure optionsAccessor = new TestOptionsManager(); } - var diagnosticSource = new DiagnosticListener("Microsoft.AspNet"); + var diagnosticSource = new DiagnosticListener("Microsoft.AspNetCore"); if (diagnosticListener != null) { diagnosticSource.SubscribeWithAdapter(diagnosticListener); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/ObjectResultExecutorTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/ObjectResultExecutorTest.cs index 02c839cf4a..61f700fec8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/ObjectResultExecutorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/ObjectResultExecutorTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -17,7 +17,7 @@ using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ObjectResultExecutorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/RouteDataActionConstraintTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/RouteDataActionConstraintTest.cs index c75173b8f2..528289ad9e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/RouteDataActionConstraintTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Infrastructure/RouteDataActionConstraintTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class RouteDataActionConstraintTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AcceptHeaderParserTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AcceptHeaderParserTest.cs index d0131a1d2d..36a167cc55 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AcceptHeaderParserTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AcceptHeaderParserTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Internal { public class AcceptHeaderParserTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ActionConstraintCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ActionConstraintCacheTest.cs index 74d90cc047..0b49f3e02e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ActionConstraintCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ActionConstraintCacheTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ActionConstraintCacheTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRouteTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRouteTest.cs index 9c0270d569..82aa863dfd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRouteTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRouteTest.cs @@ -4,14 +4,14 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Internal; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Internal; +using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.ObjectPool; @@ -19,7 +19,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AttributeRouteTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRoutingTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRoutingTest.cs index 2d6638ce5c..750f1c1c88 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRoutingTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AttributeRoutingTest.cs @@ -8,13 +8,13 @@ using System.Text.Encodings.Web; using System.Reflection; #endif using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -23,7 +23,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AttributeRoutingTest { @@ -128,7 +128,7 @@ namespace Microsoft.AspNet.Mvc.Internal var actionMethod = controllerType.GetMethod("Index"); var action = new ControllerActionDescriptor(); - action.DisplayName = "Microsoft.AspNet.Mvc.Routing.AttributeRoutingTest+HomeController.Index"; + action.DisplayName = "Microsoft.AspNetCore.Mvc.Routing.AttributeRoutingTest+HomeController.Index"; action.MethodInfo = actionMethod; action.RouteConstraints = new List() { @@ -143,7 +143,7 @@ namespace Microsoft.AspNet.Mvc.Internal var expectedMessage = "The following errors occurred with attribute routing information:" + Environment.NewLine + Environment.NewLine + - "For action: 'Microsoft.AspNet.Mvc.Routing.AttributeRoutingTest+HomeController.Index'" + Environment.NewLine + + "For action: 'Microsoft.AspNetCore.Mvc.Routing.AttributeRoutingTest+HomeController.Index'" + Environment.NewLine + "Error: The attribute route '{controller}/{action}' cannot contain a parameter named '{controller}'. " + "Use '[controller]' in the route template to insert the value 'Home'."; diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizationApplicationModelProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizationApplicationModelProviderTest.cs index c13fbf48fc..aabcc5f0a5 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizationApplicationModelProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizationApplicationModelProviderTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using System.Reflection; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Filters; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AuthorizationApplicationModelProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizeFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizeFilterTest.cs index a803f80d6c..828f36351c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizeFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/AuthorizeFilterTest.cs @@ -5,17 +5,17 @@ using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Authentication; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Authentication; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class AuthorizeFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorBuilderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorBuilderTest.cs index 12e9e1b7f5..8638087f8e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorBuilderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorBuilderTest.cs @@ -4,12 +4,12 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionDescriptorBuilderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorProviderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorProviderTests.cs index f1f05be65b..c4f7ad4863 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorProviderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionDescriptorProviderTests.cs @@ -5,21 +5,21 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing.Tree; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing.Tree; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionDescriptorProviderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionExecutorTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionExecutorTests.cs index f817606e98..b830be2867 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionExecutorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionExecutorTests.cs @@ -7,10 +7,10 @@ using System.ComponentModel; using System.Globalization; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionExecutorTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionInvokerTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionInvokerTest.cs index 8a6a65eece..6074747ab8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionInvokerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionInvokerTest.cs @@ -8,19 +8,19 @@ using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -28,7 +28,7 @@ using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerActionInvokerTest { @@ -2060,7 +2060,7 @@ namespace Microsoft.AspNet.Mvc.Internal new IModelValidatorProvider[0], new IValueProviderFactory[0], new NullLoggerFactory().CreateLogger(), - new DiagnosticListener("Microsoft.AspNet"), + new DiagnosticListener("Microsoft.AspNetCore"), maxAllowedErrorsInModelState); return invoker; } @@ -2119,7 +2119,7 @@ namespace Microsoft.AspNet.Mvc.Internal new IModelValidatorProvider[0], new IValueProviderFactory[0], new NullLoggerFactory().CreateLogger(), - new DiagnosticListener("Microsoft.AspNet"), + new DiagnosticListener("Microsoft.AspNetCore"), 200); // Act diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerArgumentBinderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerArgumentBinderTests.cs index 9027ccbfc8..20aa2fa100 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerArgumentBinderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerArgumentBinderTests.cs @@ -5,17 +5,17 @@ using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Test; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Test; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ControllerArgumentBinderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultApplicationModelProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultApplicationModelProviderTest.cs index 6451a8b5c4..1931340373 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultApplicationModelProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultApplicationModelProviderTest.cs @@ -6,15 +6,15 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.Options; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultApplicationModelProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultBindingMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultBindingMetadataProviderTest.cs index 6dcfbded49..58b89cbf05 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultBindingMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultBindingMetadataProviderTest.cs @@ -1,12 +1,12 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Core; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.Core; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultModelMetadataBindingDetailsProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultCollectionValidationStrategyTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultCollectionValidationStrategyTest.cs index 730e4aa177..70a6fb110d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultCollectionValidationStrategyTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultCollectionValidationStrategyTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultCollectionValidationStrategyTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultComplexObjectValidationStrategyTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultComplexObjectValidationStrategyTest.cs index 64b914cdf9..2cc4168685 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultComplexObjectValidationStrategyTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultComplexObjectValidationStrategyTest.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultComplexObjectValidationStrategyTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultModelValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultModelValidatorProviderTest.cs index 4b2b3294a8..07649ba8bc 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultModelValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultModelValidatorProviderTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { // Integration tests for the default configuration of ModelMetadata and Validation providers public class DefaultModelValidatorProviderTest diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultObjectValidatorTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultObjectValidatorTests.cs index 80fb8aaa55..99cdfa034f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultObjectValidatorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultObjectValidatorTests.cs @@ -8,16 +8,16 @@ using System.Linq; #if DNXCORE50 using System.Reflection; #endif -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultObjectValidatorTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ElementalValueProviderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ElementalValueProviderTests.cs index f98f5efe9c..9b069dae76 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ElementalValueProviderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ElementalValueProviderTests.cs @@ -4,10 +4,10 @@ using System; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ElementalValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ExplicitIndexCollectionValidationStrategyTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ExplicitIndexCollectionValidationStrategyTest.cs index 3aa71c7ac7..deeb9f74ae 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ExplicitIndexCollectionValidationStrategyTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ExplicitIndexCollectionValidationStrategyTest.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ExplicitIndexCollectionValidationStrategyTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterCacheTest.cs index abd41b5429..f247d40110 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterCacheTest.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class FilterCacheTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterProviderTest.cs index 989cdc5cef..8bb905a9c2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/FilterProviderTest.cs @@ -4,14 +4,14 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class DefaultFilterProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/HttpMethodActionConstraintTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/HttpMethodActionConstraintTest.cs index 6df9b5e5c8..20d2fc26ff 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/HttpMethodActionConstraintTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/HttpMethodActionConstraintTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class HttpMethodActionConstraintTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ReferenceEqualityComparerTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ReferenceEqualityComparerTest.cs index 3fff5262a8..956e34ad4c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ReferenceEqualityComparerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ReferenceEqualityComparerTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ReferenceEqualityComparerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseCacheFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseCacheFilterTest.cs index 9eb59c426e..58b987a9d9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseCacheFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseCacheFilterTest.cs @@ -3,13 +3,13 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ResponseCacheFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs index c32ffe4f23..117fda1257 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs @@ -1,13 +1,13 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ResponseContentTypeHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ShortFormDictionaryValidationStrategyTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ShortFormDictionaryValidationStrategyTest.cs index b98a060f8e..582b2800ea 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ShortFormDictionaryValidationStrategyTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ShortFormDictionaryValidationStrategyTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class ShortFormDictionaryValidationStrategyTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs index 053b570df0..11a7e8d06e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs @@ -1,18 +1,18 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class LocalRedirectResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/MediaTypeCollectionTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/MediaTypeCollectionTest.cs index 663f909bd0..548ac39177 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/MediaTypeCollectionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/MediaTypeCollectionTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class MediaTypeCollectionTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ArrayModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ArrayModelBinderTest.cs index 84b00edd44..cd76383e40 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ArrayModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ArrayModelBinderTest.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class ArrayModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BinderTypeBasedModelBinderModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BinderTypeBasedModelBinderModelBinderTest.cs index ca07cf5c47..1a28f2aa76 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BinderTypeBasedModelBinderModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BinderTypeBasedModelBinderModelBinderTest.cs @@ -3,13 +3,13 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class BinderTypeBasedModelBinderModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BindingSourceValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BindingSourceValueProviderTest.cs index 79df3554df..b28b6bfe20 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BindingSourceValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BindingSourceValueProviderTest.cs @@ -5,7 +5,7 @@ using System; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class BindingSourceValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BodyModelBinderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BodyModelBinderTests.cs index 0a2a479343..5d57a147a7 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BodyModelBinderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/BodyModelBinderTests.cs @@ -7,15 +7,15 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Routing; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class BodyModelBinderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ByteArrayModelBinderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ByteArrayModelBinderTests.cs index b5f8d2bb28..c5f32d578f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ByteArrayModelBinderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ByteArrayModelBinderTests.cs @@ -5,7 +5,7 @@ using System; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class ByteArrayModelBinderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CancellationTokenModelBinderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CancellationTokenModelBinderTests.cs index 9e9421ca98..d2d9a4e35d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CancellationTokenModelBinderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CancellationTokenModelBinderTests.cs @@ -4,10 +4,10 @@ using System; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class CancellationTokenModelBinderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CollectionModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CollectionModelBinderTest.cs index bae6fbe5aa..36cc988616 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CollectionModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CollectionModelBinderTest.cs @@ -6,14 +6,14 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Test; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Test; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class CollectionModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeModelBinderTest.cs index 13cb6e197c..1d036c61ed 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeModelBinderTest.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class CompositeModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeValueProviderTest.cs index 34ae4bf727..6944ee9bdd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/CompositeValueProviderTest.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class CompositeValueProviderTest : EnumerableValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/DictionaryModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/DictionaryModelBinderTest.cs index 8078936dda..100d95f2bf 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/DictionaryModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/DictionaryModelBinderTest.cs @@ -6,14 +6,14 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class DictionaryModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/EnumerableValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/EnumerableValueProviderTest.cs index 01b0f43664..1d1747ddf0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/EnumerableValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/EnumerableValueProviderTest.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public abstract class EnumerableValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormCollectionModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormCollectionModelBinderTest.cs index 6f6bb197b6..5146606797 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormCollectionModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormCollectionModelBinderTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class FormCollectionModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormFileModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormFileModelBinderTest.cs index 972c24af9b..109c761b91 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormFileModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormFileModelBinderTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class FormFileModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderFactoryTest.cs index e4655592be..fac74737e2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderFactoryTest.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class FormValueProviderFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderTest.cs index bbbf144f67..a131f0cb6e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/FormValueProviderTest.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class FormValueProviderTest : EnumerableValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/HeaderModelBinderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/HeaderModelBinderTests.cs index 008c3cb859..2aa4b0ee7d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/HeaderModelBinderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/HeaderModelBinderTests.cs @@ -3,10 +3,10 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class HeaderModelBinderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderFactoryTest.cs index ad8ecb2960..4963a3949b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderFactoryTest.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class JQueryFormValueProviderFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderTest.cs index 162cdbdc05..3dc15a4570 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/JQueryFormValueProviderTest.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class JQueryFormValueProviderTest : EnumerableValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/KeyValuePairModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/KeyValuePairModelBinderTest.cs index baf26df1c3..bc204a1ea3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/KeyValuePairModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/KeyValuePairModelBinderTest.cs @@ -4,14 +4,14 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class KeyValuePairModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/BindingSourceTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/BindingSourceTest.cs index 1929076682..680844a652 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/BindingSourceTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/BindingSourceTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class BindingSourceTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/CompositeBindingSourceTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/CompositeBindingSourceTest.cs index 561697d7ba..96470e7ab9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/CompositeBindingSourceTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/CompositeBindingSourceTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class CompositeBindingSourceTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs index b29a09102c..b05b213782 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Reflection; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { public class DefaultModelMetadataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataTest.cs index bb08a57101..69ae9a55e0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultModelMetadataTest.cs @@ -7,11 +7,11 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Xml; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { public class DefaultModelMetadataTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs index 74bd956f50..a7852ed83c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { public class DefaultValidationMetadataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs index d205f6e06f..394a55c6fa 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { public class EmptyCompositeMetadataDetailsProvider : DefaultCompositeMetadataDetailsProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelAttributesTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelAttributesTest.cs index 63b70321f0..786ff0fec6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelAttributesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelAttributesTest.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Reflection; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelAttributesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelBinderAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelBinderAttributeTest.cs index bd3ecf2fcf..906b717837 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelBinderAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelBinderAttributeTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelBinderAttributeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs index 9fa2e72737..101a2433dd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelMetadataProviderExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingContextTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingContextTest.cs index db85fd1b0b..ea45587f7e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingContextTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingContextTest.cs @@ -5,7 +5,7 @@ using System; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class ModelBindingContextTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingHelperTest.cs index a1109feb61..0f1e637e45 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingHelperTest.cs @@ -7,18 +7,18 @@ using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq.Expressions; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelBindingHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingResultTest.cs index 004f75fac9..49da898c23 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBindingResultTest.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class ModelBindingResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/MutableObjectModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/MutableObjectModelBinderTest.cs index dda33b0440..8b2beae942 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/MutableObjectModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/MutableObjectModelBinderTest.cs @@ -8,13 +8,13 @@ using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class MutableObjectModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderFactoryTest.cs index 721a4ca869..7f13e20698 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderFactoryTest.cs @@ -4,13 +4,13 @@ using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class QueryStringValueProviderFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderTest.cs index deeb2e9aa9..bab0e56679 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/QueryStringValueProviderTest.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class QueryStringValueProviderTest : EnumerableValueProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/RouteValueProviderTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/RouteValueProviderTests.cs index f1397c661b..8b061a8879 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/RouteValueProviderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/RouteValueProviderTests.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class RouteValueProviderTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ServicesModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ServicesModelBinderTest.cs index 83f0680a3c..bed2f50cc3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ServicesModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ServicesModelBinderTest.cs @@ -3,12 +3,12 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ServicesModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleTypeModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleTypeModelBinderTest.cs index 06d196903c..209a8107ae 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleTypeModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleTypeModelBinderTest.cs @@ -4,10 +4,10 @@ using System; using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class SimpleTypeModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleValueProvider.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleValueProvider.cs index 23dfe6b770..c8e2712749 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleValueProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/SimpleValueProvider.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Test +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public sealed class SimpleValueProvider : Dictionary, IValueProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/TestValueProvider.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/TestValueProvider.cs index b4d02cbf23..98091a6d47 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/TestValueProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/TestValueProvider.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class TestValueProvider : RouteValueProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs index 0a35f16c56..5ba1b3cda6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs @@ -5,7 +5,7 @@ using System.Linq; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { public class CompositeModelValidatorProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/MvcOptionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/MvcOptionsTest.cs index e1f3da4d72..88504b2129 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/MvcOptionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/MvcOptionsTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class MvcOptionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/NonDisposableStreamTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/NonDisposableStreamTest.cs index 4602ce65df..4ab4e65efe 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/NonDisposableStreamTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/NonDisposableStreamTest.cs @@ -5,7 +5,7 @@ using System.IO; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.Internal +namespace Microsoft.AspNetCore.Mvc.Internal { public class NonDisposableStreamTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ObjectResultTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ObjectResultTests.cs index 82d225380a..2c55c8f833 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ObjectResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ObjectResultTests.cs @@ -4,17 +4,17 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ObjectResultTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs index b18039feb4..d5eec593fa 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs @@ -6,19 +6,19 @@ using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class PhysicalFileResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ProducesAttributeTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ProducesAttributeTests.cs index c32f560b19..973292f454 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ProducesAttributeTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ProducesAttributeTests.cs @@ -4,19 +4,19 @@ using System; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Formatters.Internal; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Formatters.Internal; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Test +namespace Microsoft.AspNetCore.Mvc.Test { public class ProducesAttributeTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectResultTest.cs index a8b83ed88f..11c743eff2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectResultTest.cs @@ -2,17 +2,17 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToActionResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToActionResultTest.cs index 140d2d2282..5408cc4d45 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToActionResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToActionResultTest.cs @@ -3,18 +3,18 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectToActionResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToRouteResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToRouteResultTest.cs index 3c9b97bf5b..87dcbe4ac5 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToRouteResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/RedirectToRouteResultTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Logging; @@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RedirectToRouteResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/RequireHttpsAttributeTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/RequireHttpsAttributeTests.cs index b83a299b14..7d1e2c9cfa 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/RequireHttpsAttributeTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/RequireHttpsAttributeTests.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RequireHttpsAttributeTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ResponseCacheAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ResponseCacheAttributeTest.cs index 61da4bc7b9..54cb3a4392 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ResponseCacheAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ResponseCacheAttributeTest.cs @@ -4,17 +4,17 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ResponseCacheAttributeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/HttpMethodProviderAttributesTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/HttpMethodProviderAttributesTests.cs index 77823ce220..ef0f022067 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/HttpMethodProviderAttributesTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/HttpMethodProviderAttributesTests.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Xunit; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public class HttpMethodProviderAttributesTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/KnownRouteValueConstraintTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/KnownRouteValueConstraintTests.cs index 069a6a0cdb..62be3ef852 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/KnownRouteValueConstraintTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/KnownRouteValueConstraintTests.cs @@ -3,15 +3,15 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public class KnownRouteValueConstraintTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/RouteTemplateProviderAttributesTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/RouteTemplateProviderAttributesTest.cs index c11949ffed..12598f5922 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/RouteTemplateProviderAttributesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/RouteTemplateProviderAttributesTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public class RouteTemplateProviderAttributesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs index b8e8ce9c2c..c54f06780b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Routing +namespace Microsoft.AspNetCore.Mvc.Routing { public class UrlHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/SerializableErrorTests.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/SerializableErrorTests.cs index 180923db5d..e19c66f3cc 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/SerializableErrorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/SerializableErrorTests.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class SerializableErrorTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/TestBufferingFeature.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/TestBufferingFeature.cs index 2cc756ba8b..2118983a65 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/TestBufferingFeature.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/TestBufferingFeature.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http.Features; +using Microsoft.AspNetCore.Http.Features; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { internal class TestBufferingFeature : IHttpBufferingFeature { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs index 4462cbcd3d..e6633f3dd2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs @@ -5,13 +5,13 @@ using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; @@ -19,7 +19,7 @@ using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class VirtualFileResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Core.Test/project.json index 288913cae2..a8236e5dec 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/project.json @@ -4,18 +4,18 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources": { + "Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.DiagnosticAdapter": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", diff --git a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsApplicationModelProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsApplicationModelProviderTest.cs index ce44738978..0f39ec9bd5 100644 --- a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsApplicationModelProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsApplicationModelProviderTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using System.Reflection; -using Microsoft.AspNet.Cors; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Cors; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { public class CorsApplicationModelProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsAuthorizationFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsAuthorizationFilterTest.cs index 03c5d545e4..2a90106883 100644 --- a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsAuthorizationFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Internal/CorsAuthorizationFilterTest.cs @@ -5,19 +5,19 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Cors.Internal +namespace Microsoft.AspNetCore.Mvc.Cors.Internal { public class CorsAuthorizationFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Cors.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Cors.Test/project.json index 98bc72dec5..b67d534442 100644 --- a/test/Microsoft.AspNetCore.Mvc.Cors.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Cors.Test/project.json @@ -3,14 +3,14 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/CompareAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/CompareAttributeAdapterTest.cs index 7f94b79830..b6355e53ae 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/CompareAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/CompareAttributeAdapterTest.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class CompareAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsClientModelValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsClientModelValidatorProviderTest.cs index 7b5d5c293d..9d6de1da9d 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsClientModelValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsClientModelValidatorProviderTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataAnnotationsClientModelValidatorProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsMetadataProviderTest.cs index d3141ca6d5..18b214e466 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsMetadataProviderTest.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataAnnotationsMetadataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorProviderTest.cs index 6987b107dd..7c71e6284e 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorProviderTest.cs @@ -3,12 +3,12 @@ using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataAnnotationsModelValidatorProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorTest.cs index 134113f847..c3385ac4e1 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataAnnotationsModelValidatorTest.cs @@ -4,16 +4,16 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataAnnotationsModelValidatorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataMemberRequiredBindingMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataMemberRequiredBindingMetadataProviderTest.cs index 8b59b92b8f..5706d671c7 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataMemberRequiredBindingMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataMemberRequiredBindingMetadataProviderTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Runtime.Serialization; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataMemberRequiredBindingMetadataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataTypeClientModelValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataTypeClientModelValidatorProviderTest.cs index a1e1d9d021..863b08b90d 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataTypeClientModelValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataTypeClientModelValidatorProviderTest.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class DataTypeClientModelValidatorProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DefaultModelClientValidatorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DefaultModelClientValidatorProviderTest.cs index 7a3cc9eb21..c5b23eb911 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DefaultModelClientValidatorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DefaultModelClientValidatorProviderTest.cs @@ -5,11 +5,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { // Integration tests for the default configuration of ModelMetadata and Validation providers public class DefaultModelClientValidatorProviderTest diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MaxLengthAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MaxLengthAttributeAdapterTest.cs index f7a4ea1742..668925f171 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MaxLengthAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MaxLengthAttributeAdapterTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class MaxLengthAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MinLengthAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MinLengthAttributeAdapterTest.cs index 2166805679..e943c62d6e 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MinLengthAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/MinLengthAttributeAdapterTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class MinLengthAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ModelMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ModelMetadataProviderTest.cs index f29b4be1f5..a15db6556a 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ModelMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ModelMetadataProviderTest.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { // Integration tests for the default provider configuration. public class ModelMetadataProviderTest diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/NumericClientModelValidatorTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/NumericClientModelValidatorTest.cs index a159d3ef97..fe8852e23d 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/NumericClientModelValidatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/NumericClientModelValidatorTest.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class NumericClientModelValidatorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RangeAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RangeAttributeAdapterTest.cs index 17421324c7..8c2000712b 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RangeAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RangeAttributeAdapterTest.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { public class RangeAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RequiredAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RequiredAttributeAdapterTest.cs index 72d4944675..7b4cdfa91e 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RequiredAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/RequiredAttributeAdapterTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class RequiredAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/StringLengthAttributeAdapterTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/StringLengthAttributeAdapterTest.cs index e3e39d9a0f..d20148fdd5 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/StringLengthAttributeAdapterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/StringLengthAttributeAdapterTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class StringLengthAttributeAdapterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestModelNameProvider.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestModelNameProvider.cs index 6fb5342298..3e93fbb7b4 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestModelNameProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestModelNameProvider.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class TestModelNameProvider : IModelNameProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestResources.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestResources.cs index 436be803e0..c5bc776640 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestResources.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/TestResources.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; -using Microsoft.AspNet.Mvc.DataAnnotations.Test; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Test; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { // Wrap resources to make them available as public properties for [Display]. That attribute does not support // internal properties. diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterOfTAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterOfTAttributeTest.cs index 4403268b34..9ed0cc9793 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterOfTAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterOfTAttributeTest.cs @@ -1,16 +1,16 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.Localization; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ValidationAttributeAdapterOfTAttributeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterProviderTest.cs index 6340d813dd..64b0ab78d6 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/ValidationAttributeAdapterProviderTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using Xunit; -namespace Microsoft.AspNet.Mvc.DataAnnotations.Internal +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal { public class ValidationAttributeAdapterProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Properties/Resources.Designer.cs b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Properties/Resources.Designer.cs index f57ee867cb..5863e76c9b 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Properties/Resources.Designer.cs +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.DataAnnotations.Test +namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Test { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.DataAnnotations.Test internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.DataAnnotations.Test.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.DataAnnotations.Test.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Comparing {0} to {1}. diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/project.json b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/project.json index d472ab179b..7d3ea71e98 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/project.json @@ -4,13 +4,13 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Infrastructure/JsonResultExecutorTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Infrastructure/JsonResultExecutorTest.cs index 92cb8c551d..34cbaf7b44 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Infrastructure/JsonResultExecutorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Infrastructure/JsonResultExecutorTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -6,10 +6,10 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -17,7 +17,7 @@ using Microsoft.Net.Http.Headers; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.Infrastructure +namespace Microsoft.AspNetCore.Mvc.Infrastructure { public class JsonResultExecutorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonInputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonInputFormatterTest.cs index 9e7bdfe3cd..dcbcfe2650 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonInputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonInputFormatterTest.cs @@ -7,9 +7,9 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; @@ -17,7 +17,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class JsonInputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonOutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonOutputFormatterTests.cs index f5f96cf73c..36345d7fda 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonOutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonOutputFormatterTests.cs @@ -6,12 +6,12 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Primitives; @@ -22,7 +22,7 @@ using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class JsonOutputFormatterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonPatchInputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonPatchInputFormatterTest.cs index 727e214a76..2ea16a48fb 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonPatchInputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonPatchInputFormatterTest.cs @@ -5,16 +5,16 @@ using System; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.JsonPatch; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.JsonPatch; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters +namespace Microsoft.AspNetCore.Mvc.Formatters { public class JsonPatchInputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonResultTest.cs index 6fd9a47846..4805ddc61c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/JsonResultTest.cs @@ -4,17 +4,17 @@ using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class JsonResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/project.json index 98bc72dec5..b67d534442 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/project.json @@ -3,14 +3,14 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/FlushReportingStream.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/FlushReportingStream.cs index d7bb0231ac..65f2af8e38 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/FlushReportingStream.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/FlushReportingStream.cs @@ -5,7 +5,7 @@ using System.IO; using System.Threading; using Moq; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public static class FlushReportingStream { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumerableTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumerableTest.cs index 07fe36cf61..b6945735eb 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumerableTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumerableTest.cs @@ -4,7 +4,7 @@ using System.Linq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class DelegatingEnumerableTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumeratorTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumeratorTest.cs index b0513587eb..4fc0e455f0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumeratorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/DelegatingEnumeratorTest.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class DelegatingEnumeratorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderFactoryTest.cs index 41562a8a08..ccfcc526ae 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderFactoryTest.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Collections.Generic; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class EnumerableWrapperProviderFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderTest.cs index 8e0870cd0e..8a40b19bf9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/EnumerableWrapperProviderTest.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Collections.Generic; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class EnumerableWrapperProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapper.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapper.cs index 251cb64e34..00488f741b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapper.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapper.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class PersonWrapper : IUnwrappable { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProvider.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProvider.cs index 8111cc4519..572fc28ce7 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProvider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class PersonWrapperProvider : IWrapperProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProviderFactory.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProviderFactory.cs index 08e98935b7..4870541b48 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProviderFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/PersonWrapperProviderFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class PersonWrapperProviderFactory : IWrapperProviderFactory { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperProviderTest.cs index 83dc779e12..9311be16fd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperProviderTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class SerializableErrorWrapperProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperTests.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperTests.cs index 39c377f68a..faaa011c58 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableErrorWrapperTests.cs @@ -5,11 +5,11 @@ using System.IO; using System.Runtime.Serialization; using System.Text; using System.Xml; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class SerializableErrorWrapperTests { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableWrapperProviderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableWrapperProviderFactoryTest.cs index 665961ddfc..e300f1d434 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableWrapperProviderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Internal/SerializableWrapperProviderFactoryTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal { public class SerializableWrapperProviderFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/Person.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/Person.cs index 6afbd47e3f..14ea5bcf53 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/Person.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/Person.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class Person { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/PersonList.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/PersonList.cs index 3a8e080ffd..43c19511a5 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/PersonList.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Models/PersonList.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class PersonList : List { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssert.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssert.cs index a3307140bc..c411ce44ee 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssert.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssert.cs @@ -10,7 +10,7 @@ using System.Xml.Linq; using Xunit; using Xunit.Sdk; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { /// /// Xunit assertions related to Xml content. diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssertTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssertTest.cs index a361c2656b..c63dececd6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssertTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssertTest.cs @@ -1,12 +1,12 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; using Xunit.Sdk; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class XmlAssertTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerInputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerInputFormatterTest.cs index f2517e65a6..4673dc3ec9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerInputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerInputFormatterTest.cs @@ -8,15 +8,15 @@ using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class XmlDataContractSerializerInputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerOutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerOutputFormatterTest.cs index 294ae93152..ba9de64a2a 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerOutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlDataContractSerializerOutputFormatterTest.cs @@ -8,16 +8,16 @@ using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class XmlDataContractSerializerOutputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerInputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerInputFormatterTest.cs index 8449c5e819..1b7375a135 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerInputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerInputFormatterTest.cs @@ -10,15 +10,15 @@ using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class XmlSerializerInputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerOutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerOutputFormatterTest.cs index b876b565d8..78f124a456 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerOutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlSerializerOutputFormatterTest.cs @@ -8,15 +8,15 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters.Xml.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Formatters.Xml +namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { public class XmlSerializerOutputFormatterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/project.json index 7d168a0ca7..2f20a533e4 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/project.json @@ -4,14 +4,14 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "type": "build", "version": "6.0.0-*" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "commands": { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ActionConstraintSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ActionConstraintSampleTest.cs index e2d72b329e..51cdab2482 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ActionConstraintSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ActionConstraintSampleTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ActionConstraintSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTestHelper.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTestHelper.cs index b2935d7366..899ec8bf31 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTestHelper.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTestHelper.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Net.Http; using System.Xml.Linq; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public static class AntiforgeryTestHelper { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTests.cs index 7bf14aac8e..540bcb26a1 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/AntiforgeryTests.cs @@ -6,10 +6,10 @@ using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; +using Microsoft.AspNetCore.Antiforgery; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class AntiforgeryTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApiExplorerTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApiExplorerTest.cs index 8f7ae2a2ed..e121481499 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApiExplorerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApiExplorerTest.cs @@ -4,13 +4,13 @@ using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ApiExplorerTest : IClassFixture> { @@ -555,8 +555,8 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests [ConditionalTheory] // Mono issue - https://github.com/aspnet/External/issues/18 [FrameworkSkipCondition(RuntimeFrameworks.Mono)] - [InlineData("Controller", "text/xml", "Microsoft.AspNet.Mvc.Formatters.XmlDataContractSerializerOutputFormatter")] - [InlineData("Action", "application/json", "Microsoft.AspNet.Mvc.Formatters.JsonOutputFormatter")] + [InlineData("Controller", "text/xml", "Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter")] + [InlineData("Action", "application/json", "Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter")] public async Task ApiExplorer_ResponseContentType_OverrideOnAction( string action, string contentType, diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApplicationModelTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApplicationModelTest.cs index 7831666a2f..bd9155b780 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApplicationModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApplicationModelTest.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ApplicationModelTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs index f9b2a21629..82db451418 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs @@ -13,7 +13,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class BasicTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CompilationOptionsTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CompilationOptionsTests.cs index 0c33d46132..511a1f8d48 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CompilationOptionsTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CompilationOptionsTests.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { // Test to verify compilation options from the application are used to compile // precompiled and dynamically compiled views. diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ConsumesAttributeTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ConsumesAttributeTests.cs index 888d50e17b..a091631bd7 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ConsumesAttributeTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ConsumesAttributeTests.cs @@ -6,12 +6,12 @@ using System.Net.Http; using System.Text; using System.Threading.Tasks; using BasicWebSite.Models; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ConsumesAttributeTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs index 8280fc9ec5..f03bd99478 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs @@ -7,11 +7,11 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ContentNegotiationTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ControllerFromServicesTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ControllerFromServicesTests.cs index ed72ae1b50..c2c4e57389 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ControllerFromServicesTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ControllerFromServicesTests.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ControllerFromServicesTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CorsTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CorsTests.cs index db74c7d151..6c07fc059a 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CorsTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CorsTests.cs @@ -5,10 +5,10 @@ using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Cors.Infrastructure; +using Microsoft.AspNetCore.Cors.Infrastructure; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class CorsTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomRouteSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomRouteSampleTest.cs index e62c70c579..7c7ec4944f 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomRouteSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomRouteSampleTest.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class CustomRouteSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomUrlHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomUrlHelperTest.cs index 66fefe891c..3afc21327e 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomUrlHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/CustomUrlHelperTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { /// /// The tests here verify the extensibility of . diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultOrderTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultOrderTest.cs index 706ef9c372..ba389c6036 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultOrderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultOrderTest.cs @@ -5,15 +5,15 @@ using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { // Tests that various MVC services have the correct order. public class DefaultOrderTest : IClassFixture> diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultValuesTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultValuesTest.cs index a5edd894a5..1a4fb90a3d 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultValuesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DefaultValuesTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class DefaultValuesTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DirectivesTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DirectivesTest.cs index bac07d5e06..f4a00ec334 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DirectivesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/DirectivesTest.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class DirectivesTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/EmbeddedViewSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/EmbeddedViewSampleTest.cs index 1a54b6456f..410dfbd010 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/EmbeddedViewSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/EmbeddedViewSampleTest.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class EmbeddedViewSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs index 3f3245952f..df88157b84 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs @@ -6,11 +6,11 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { /// /// Functional test to verify the error reporting of Razor compilation by diagnostic middleware. diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs index 64716ffd67..03b2fdd1e2 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs @@ -4,10 +4,10 @@ using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class FileResultTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FiltersTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FiltersTest.cs index 4d1a7d78fd..499f5e0cbb 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FiltersTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FiltersTest.cs @@ -8,10 +8,10 @@ using System.Net.Http; using System.Text; using System.Threading.Tasks; using FiltersWebSite; -using Microsoft.AspNet.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class FiltersTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FlushPointTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FlushPointTest.cs index da7dd89d0a..1e94b3ea7e 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FlushPointTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FlushPointTest.cs @@ -3,10 +3,10 @@ using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class FlushPointTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FormatFilterSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FormatFilterSampleTest.cs index 6472cc4ca9..4f8097716f 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FormatFilterSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FormatFilterSampleTest.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class FormatFilterSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs index ea1fe99f3c..8db665a2f3 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs @@ -9,10 +9,10 @@ using System.Net.Http.Headers; using System.Reflection; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class HtmlGenerationTest : IClassFixture>, diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs index d7f71e2839..ba2a59e1fb 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class HtmlHelperOptionsTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InlineConstraintSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InlineConstraintSampleTest.cs index 54bab8d6e5..4dd2d2eeb6 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InlineConstraintSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InlineConstraintSampleTest.cs @@ -9,7 +9,7 @@ using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class InlineConstraintSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputFormatterTests.cs index 60f47fe84e..88d2a11151 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputFormatterTests.cs @@ -6,11 +6,11 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class InputFormatterTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs index 206d80cd96..42e99ec106 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs @@ -6,13 +6,13 @@ using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class InputObjectValidationTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonOutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonOutputFormatterTests.cs index d20aef496d..2d17bd5365 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonOutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonOutputFormatterTests.cs @@ -7,11 +7,11 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class JsonOutputFormatterTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonPatchSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonPatchSampleTest.cs index ef4774f6f3..265b8a1e56 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonPatchSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonPatchSampleTest.cs @@ -11,7 +11,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class JsonPatchSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonResultTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonResultTest.cs index 15cfe20fe5..cf56bb1e45 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/JsonResultTest.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class JsonResultTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LinkGenerationTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LinkGenerationTests.cs index b3bed76613..ab29918aee 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LinkGenerationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LinkGenerationTests.cs @@ -7,10 +7,10 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class LinkGenerationTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LocalizationSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LocalizationSampleTest.cs index 35e1397342..c2a2a24559 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LocalizationSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/LocalizationSampleTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class LocalizationSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcEncodedTestFixtureOfT.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcEncodedTestFixtureOfT.cs index a7babf743e..16d6c494d6 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcEncodedTestFixtureOfT.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcEncodedTestFixtureOfT.cs @@ -5,7 +5,7 @@ using System.Text.Encodings.Web; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class MvcEncodedTestFixture : MvcTestFixture { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcSandboxTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcSandboxTest.cs index abe3e32471..17ca7fd0d4 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcSandboxTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcSandboxTest.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class MvcSandboxTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcTestFixture.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcTestFixture.cs index 4b41d98aa6..d744f35e81 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcTestFixture.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/MvcTestFixture.cs @@ -5,16 +5,16 @@ using System; using System.IO; using System.Net.Http; using System.Reflection; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.TestHost; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.TestHost; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class MvcTestFixture : IDisposable { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/OutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/OutputFormatterTest.cs index 31e5605c04..6f782f4838 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/OutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/OutputFormatterTest.cs @@ -7,7 +7,7 @@ using System.Net.Http.Headers; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class OutputFormatterTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs index 75cd5d8829..f943484df2 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using RazorPageExecutionInstrumentationWebSite; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RazorPageExecutionInstrumentationTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs index a656033917..450ae78d85 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RazorViewLocationSpecificationTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RemoteAttributeValidationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RemoteAttributeValidationTest.cs index a03ece9960..f62bb9fc5c 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RemoteAttributeValidationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RemoteAttributeValidationTest.cs @@ -8,7 +8,7 @@ using System.Reflection; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RemoteAttributeValidationTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RequestServicesTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RequestServicesTest.cs index 471a420602..56f0699d4f 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RequestServicesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RequestServicesTest.cs @@ -7,7 +7,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { // Each of these tests makes two requests, because we want each test to verify that the data is // PER-REQUEST and does not linger around to impact the next request. diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs index 3b2f121421..147b131524 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs @@ -5,11 +5,11 @@ using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RespectBrowserAcceptHeaderTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RouteDataTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RouteDataTest.cs index e5e6010fd0..90d8b6db30 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RouteDataTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RouteDataTest.cs @@ -5,15 +5,15 @@ using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Routing.Template; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Routing.Template; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RouteDataTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RoutingTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RoutingTests.cs index ce491970c6..055824a4b5 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RoutingTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RoutingTests.cs @@ -7,11 +7,11 @@ using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Routing; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class RoutingTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SerializableErrorTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SerializableErrorTests.cs index aec97e3514..6c86fd75dd 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SerializableErrorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SerializableErrorTests.cs @@ -6,12 +6,12 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class SerializableErrorTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SimpleTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SimpleTests.cs index 8ad17d8c46..94cebf8e4b 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SimpleTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SimpleTests.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -7,7 +7,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class SimpleTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/StreamOutputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/StreamOutputFormatterTest.cs index ce50b3a922..a8c517ad6a 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/StreamOutputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/StreamOutputFormatterTest.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class StreamOutputFormatterTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SubAreaTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SubAreaTests.cs index 74597cabeb..f6a12d0098 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SubAreaTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/SubAreaTests.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Net; @@ -6,7 +6,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class SubAreaTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelperSampleTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelperSampleTest.cs index 1bffd02db8..09eb48052c 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelperSampleTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelperSampleTest.cs @@ -9,11 +9,11 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class TagHelperSampleTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelpersTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelpersTest.cs index a6b9c5446c..4fab802e9a 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelpersTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelpersTest.cs @@ -9,7 +9,7 @@ using System.Reflection; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class TagHelpersTest : IClassFixture>, diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TempDataTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TempDataTest.cs index 69d854f752..95202807e5 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TempDataTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TempDataTest.cs @@ -7,12 +7,12 @@ using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class TempDataTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TestApplicationEnvironment.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TestApplicationEnvironment.cs index 95e2c16252..ef551d491e 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TestApplicationEnvironment.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/TestApplicationEnvironment.cs @@ -4,7 +4,7 @@ using System.Runtime.Versioning; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { // An application environment that overrides the base path of the original // application environment in order to make it point to the folder of the original web diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/UrlResolutionTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/UrlResolutionTest.cs index 8640655d0a..b8a7a42253 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/UrlResolutionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/UrlResolutionTest.cs @@ -6,7 +6,7 @@ using System.Reflection; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class UrlResolutionTest : IClassFixture>, diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/VersioningTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/VersioningTests.cs index 4103c0dd54..d9c45a381b 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/VersioningTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/VersioningTests.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class VersioningTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ViewEngineTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ViewEngineTests.cs index 8587db74d9..fbd06344d5 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ViewEngineTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ViewEngineTests.cs @@ -5,11 +5,11 @@ using System.Collections.Generic; using System.Net.Http; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class ViewEngineTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionResultTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionResultTest.cs index 1673bec787..d0f6f46a15 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionResultTest.cs @@ -7,7 +7,7 @@ using System.Net.Http; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class WebApiCompatShimActionResultTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionSelectionTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionSelectionTest.cs index 7d627fcd45..464736ac50 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionSelectionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimActionSelectionTest.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class WebApiCompatShimActionSelectionTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimBasicTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimBasicTest.cs index d3df00c508..0afa8c0822 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimBasicTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimBasicTest.cs @@ -10,12 +10,12 @@ using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web.Http; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class WebApiCompatShimBasicTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimParameterBindingTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimParameterBindingTest.cs index 08c169d9b0..0b9f1e0004 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimParameterBindingTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/WebApiCompatShimParameterBindingTest.cs @@ -9,7 +9,7 @@ using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class WebApiCompatShimParameterBindingTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs index b114d8b7d0..5bd38a326c 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs @@ -5,11 +5,11 @@ using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class XmlDataContractSerializerFormattersWrappingTest : IClassFixture> { @@ -202,7 +202,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests var result = await response.Content.ReadAsStringAsync(); XmlAssert.Equal( "" + + " xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.AspNetCore.Mvc.Formatters.Xml\">" + "key1-errorkey2-error" + "key1-errorkey2-error" + "", diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs index 8b1d8082ac..eec000aabf 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs @@ -10,11 +10,11 @@ using System.Net.Http.Headers; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using XmlFormattersWebSite; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class XmlDataContractSerializerInputFormatterTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlOutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlOutputFormatterTests.cs index ec100e7761..cc9e8eb5be 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlOutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlOutputFormatterTests.cs @@ -5,11 +5,11 @@ using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class XmlOutputFormatterTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs index 77b8d547f3..51e7e501e1 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs @@ -5,10 +5,10 @@ using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class XmlSerializerFormattersWrappingTest : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs index 122284ad49..ff11635f23 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs @@ -5,10 +5,10 @@ using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.FunctionalTests +namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class XmlSerializerInputFormatterTests : IClassFixture> { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json index 3facf8bc83..e7c0409219 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json @@ -1,6 +1,6 @@ { "compile": [ - "../Microsoft.AspNet.Mvc.Formatters.Xml.Test/XmlAssert.cs" + "../Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/XmlAssert.cs" ], "compilationOptions": { "define": [ "__RemoveThisBitTo__GENERATE_BASELINES", "FUNCTIONAL_TESTS" ], @@ -24,15 +24,15 @@ "InlineConstraintSample.Web": "1.0.0", "JsonPatchSample.Web": "1.0.0", "LocalizationSample.Web": "1.0.0", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.TestHost": "1.0.0-*", - "Microsoft.AspNet.WebUtilities": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.TestHost": "1.0.0-*", + "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "MvcSandbox": "1.0.0", diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs index 86e3886589..2a6fafdd20 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs @@ -1,19 +1,19 @@ -// 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. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ActionParameterIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs index eb8cae2e03..d359b46d6f 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the ArrayModelBinder with other model binders. public class ArrayModelBinderIntegrationTest diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs index 6dddaba2aa..1b0f94549c 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs @@ -3,12 +3,12 @@ using System.Globalization; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class BinderTypeBasedModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs index 084a88082d..5c8e262da9 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs @@ -6,11 +6,11 @@ using System.ComponentModel.DataAnnotations; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class BodyValidationIntegrationTests { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs index 4546003b78..c914841ecc 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs @@ -3,15 +3,15 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ByteArrayModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs index 444136025f..b125bb6b0c 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs @@ -6,12 +6,12 @@ using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class CancellationTokenModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs index c64a3c8f60..cf40d06d87 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs @@ -7,14 +7,14 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the CollectionModelBinder with other model binders. // diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CompanyNameAttribute.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CompanyNameAttribute.cs index b57af65f77..09cb8002e5 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CompanyNameAttribute.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/CompanyNameAttribute.cs @@ -1,9 +1,9 @@ -// 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. using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class CompanyNameAttribute : ValidationAttribute { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs index 52033086ec..09354e5613 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs @@ -6,12 +6,12 @@ using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the DictionaryModelBinder with other model binders. public class DictionaryModelBinderIntegrationTest diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs index 16b46aa2a8..20dc43ef2b 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs @@ -5,15 +5,15 @@ using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features.Internal; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features.Internal; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class FormCollectionModelBindingIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs index 407d00a7e1..52a4f39442 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs @@ -5,15 +5,15 @@ using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features.Internal; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features.Internal; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class FormFileModelBindingIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs index 044adfeb7d..1216a7d4ca 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the GenericModelBinder and related classes // with other model binders. diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs index 02ce26bf80..c50d2f13b3 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs @@ -5,12 +5,12 @@ using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class HeaderModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs index 5e587ba58a..1012378f5b 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs @@ -3,13 +3,13 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the KeyValuePairModelBinder with other model binders. public class KeyValuePairModelBinderIntegrationTest diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelBindingTestHelper.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelBindingTestHelper.cs index 10c5d29b09..dd02517cc6 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelBindingTestHelper.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelBindingTestHelper.cs @@ -3,18 +3,18 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public static class ModelBindingTestHelper { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs index 705308bcfc..e96ca74cd9 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs @@ -3,14 +3,14 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests for the decision logic about how a model-name/prefix is selected at the top-level // of ModelBinding. diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Product.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Product.cs index 33ea78cf03..b7c9656464 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Product.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Product.cs @@ -1,9 +1,9 @@ -// 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. using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { [ProductValidator] public class Product diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductDetails.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductDetails.cs index e5bc70619d..70afdb0ea6 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductDetails.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductDetails.cs @@ -1,9 +1,9 @@ -// 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. using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ProductDetails { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductViewModel.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductViewModel.cs index 536e12ef4b..0113f7fcf2 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductViewModel.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/ProductViewModel.cs @@ -1,9 +1,9 @@ -// 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. using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { [ModelMetadataType(typeof(Product))] public class ProductViewModel diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Software.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Software.cs index 6898b9f6de..7f98162d48 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Software.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/Software.cs @@ -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. using System; using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class Software : Product { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/SoftwareViewModel.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/SoftwareViewModel.cs index 0f1a08d281..0cb821a8c4 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/SoftwareViewModel.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Models/SoftwareViewModel.cs @@ -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. using System; using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { [ModelMetadataType(typeof(Software))] public class SoftwareViewModel diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/MutableObjectModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/MutableObjectModelBinderIntegrationTest.cs index 288baf0800..068b0aaacb 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/MutableObjectModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/MutableObjectModelBinderIntegrationTest.cs @@ -6,17 +6,17 @@ using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features.Internal; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features.Internal; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { // Integration tests targeting the behavior of the MutableObjectModelBinder and related classes // with other model binders. diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ProductValidatorAttribute.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ProductValidatorAttribute.cs index bc9c1a069e..6c6b658853 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ProductValidatorAttribute.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ProductValidatorAttribute.cs @@ -1,9 +1,9 @@ -// 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. using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ProductValidatorAttribute : ValidationAttribute { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs index 4d1e1f3b64..998add04b3 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ServicesModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs index 81a077ac8f..ef47529b4d 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs @@ -6,17 +6,17 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Microsoft.Extensions.Primitives; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class SimpleTypeModelBinderIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TestMvcOptions.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TestMvcOptions.cs index d1c19bf337..52a97647b5 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TestMvcOptions.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TestMvcOptions.cs @@ -2,18 +2,18 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Buffers; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Formatters.Json.Internal; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Internal; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class TestMvcOptions : IOptions { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs index 36a13f73a1..d92ca0098e 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs @@ -1,17 +1,17 @@ -// 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. using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class TryUpdateModelIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs index 7ce540eb43..4edceea2df 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class TryValidateModelIntegrationTest { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ValidationIntegrationTests.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ValidationIntegrationTests.cs index 08f161cf7c..42da4b821b 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ValidationIntegrationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ValidationIntegrationTests.cs @@ -1,4 +1,4 @@ -// 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. using System.Collections.Generic; @@ -6,14 +6,14 @@ using System.ComponentModel.DataAnnotations; using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.AspNet.Mvc.IntegrationTests +namespace Microsoft.AspNetCore.Mvc.IntegrationTests { public class ValidationIntegrationTests { diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/project.json b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/project.json index 31780f76f0..42a34d0d54 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/project.json +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/project.json @@ -3,14 +3,14 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "commands": { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerOfTTest.cs b/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerOfTTest.cs index 357d85e7ed..f00c6998b9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerOfTTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerOfTTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.Localization; using Microsoft.Extensions.PlatformAbstractions; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Localization.Test +namespace Microsoft.AspNetCore.Mvc.Localization.Test { public class HtmlLocalizerOfTTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerTest.cs b/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerTest.cs index be2a8c53fe..ff368777fb 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/HtmlLocalizerTest.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Localization; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Localization.Test +namespace Microsoft.AspNetCore.Mvc.Localization.Test { public class HtmlLocalizerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/Internal/MvcLocalizationServiceCollectionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Localization.Test/Internal/MvcLocalizationServiceCollectionExtensionsTest.cs index 7af79369c2..752e68105a 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/Internal/MvcLocalizationServiceCollectionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/Internal/MvcLocalizationServiceCollectionExtensionsTest.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Localization; @@ -13,7 +13,7 @@ using Microsoft.Extensions.Options; using Microsoft.Extensions.WebEncoders.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Localization.Internal +namespace Microsoft.AspNetCore.Mvc.Localization.Internal { public class MvcLocalizationServicesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/TestStringLocalizer.cs b/test/Microsoft.AspNetCore.Mvc.Localization.Test/TestStringLocalizer.cs index d0809ba932..a2268d47c9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/TestStringLocalizer.cs +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/TestStringLocalizer.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Globalization; using Microsoft.Extensions.Localization; -namespace Microsoft.AspNet.Mvc.Localization.Test +namespace Microsoft.AspNetCore.Mvc.Localization.Test { public class TestStringLocalizer : IStringLocalizer { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/ViewLocalizerTest.cs b/test/Microsoft.AspNetCore.Mvc.Localization.Test/ViewLocalizerTest.cs index 8e60cb3111..81844644cc 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/ViewLocalizerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/ViewLocalizerTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Localization; using Microsoft.Extensions.PlatformAbstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Localization.Test +namespace Microsoft.AspNetCore.Mvc.Localization.Test { public class ViewLocalizerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Localization.Test/project.json index 082dc335a9..985fb828b7 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/project.json @@ -3,14 +3,14 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.Localization": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Localization": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "commands": { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/ChunkInheritanceUtilityTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/ChunkInheritanceUtilityTest.cs index e339ab768b..68c315bacd 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/ChunkInheritanceUtilityTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/ChunkInheritanceUtilityTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { public class ChunkInheritanceUtilityTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/DefaultCodeTreeCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/DefaultCodeTreeCacheTest.cs index 154a2f3be3..9b48fcb6ef 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/DefaultCodeTreeCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/DefaultCodeTreeCacheTest.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Razor.Chunks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Host.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Host.Directives { public class ChunkTreeCacheTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/InjectChunkMergerTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/InjectChunkMergerTest.cs index 58da4f9fc8..ce81a8e774 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/InjectChunkMergerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/InjectChunkMergerTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { public class InjectChunkMergerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/SetBaseTypeChunkMergerTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/SetBaseTypeChunkMergerTest.cs index 04c04df560..d8b18cf1ae 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/SetBaseTypeChunkMergerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/SetBaseTypeChunkMergerTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { public class SetBaseTypeChunkMergerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/UsingChunkMergerTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/UsingChunkMergerTest.cs index ca6f3afa20..da21ed1e42 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/UsingChunkMergerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Directives/UsingChunkMergerTest.cs @@ -1,11 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Directives +namespace Microsoft.AspNetCore.Mvc.Razor.Directives { public class UsingChunkMergerTest { @@ -22,7 +22,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives }; // Act - merger.VisitChunk(new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }); + merger.VisitChunk(new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }); merger.MergeInheritedChunks(chunkTree, inheritedChunks); // Assert @@ -39,12 +39,12 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives var chunkTree = new ChunkTree(); var inheritedChunks = new Chunk[] { - new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }, + new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }, new InjectChunk("Foo", "Bar") }; // Act - merger.VisitChunk(new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }); + merger.VisitChunk(new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }); merger.MergeInheritedChunks(chunkTree, inheritedChunks); // Assert @@ -60,9 +60,9 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives var inheritedChunks = new Chunk[] { new LiteralChunk(), - new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }, - new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }, - new UsingChunk { Namespace = "Microsoft.AspNet.Mvc.Razor" } + new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }, + new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }, + new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc.Razor" } }; // Act @@ -71,9 +71,9 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives // Assert Assert.Equal(2, chunkTree.Children.Count); var chunk = Assert.IsType(chunkTree.Children[0]); - Assert.Equal("Microsoft.AspNet.Mvc", chunk.Namespace); + Assert.Equal("Microsoft.AspNetCore.Mvc", chunk.Namespace); chunk = Assert.IsType(chunkTree.Children[1]); - Assert.Equal("Microsoft.AspNet.Mvc.Razor", chunk.Namespace); + Assert.Equal("Microsoft.AspNetCore.Mvc.Razor", chunk.Namespace); } [Fact] @@ -84,8 +84,8 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives var chunkTree = new ChunkTree(); var inheritedChunks = new[] { - new UsingChunk { Namespace = "Microsoft.AspNet.Mvc" }, - new UsingChunk { Namespace = "Microsoft.AspNet.mvc" } + new UsingChunk { Namespace = "Microsoft.AspNetCore.Mvc" }, + new UsingChunk { Namespace = "Microsoft.AspNetCore.mvc" } }; // Act @@ -94,9 +94,9 @@ namespace Microsoft.AspNet.Mvc.Razor.Directives // Assert Assert.Equal(2, chunkTree.Children.Count); var chunk = Assert.IsType(chunkTree.Children[0]); - Assert.Equal("Microsoft.AspNet.Mvc", chunk.Namespace); + Assert.Equal("Microsoft.AspNetCore.Mvc", chunk.Namespace); chunk = Assert.IsType(chunkTree.Children[1]); - Assert.Equal("Microsoft.AspNet.mvc", chunk.Namespace); + Assert.Equal("Microsoft.AspNetCore.mvc", chunk.Namespace); } } } \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs index 56477a4a07..c966a05f0c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class InjectChunkVisitorTest { @@ -71,7 +71,7 @@ public MyType2 @MyPropertyName2 { get; private set; } { // Arrange var expected = string.Join(Environment.NewLine, -@"[Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute]", +@"[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]", @"public", @"#line 1 """"", @"MyType1 MyPropertyName1", @@ -79,7 +79,7 @@ public MyType2 @MyPropertyName2 { get; private set; } @"#line default", @"#line hidden", @"{ get; private set; }", -@"[Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute]", +@"[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]", @"public", @"#line 1 """"", @"MyType2 @MyPropertyName2", @@ -92,7 +92,7 @@ public MyType2 @MyPropertyName2 { get; private set; } var context = CreateContext(); context.Host.DesignTimeMode = true; - var visitor = new InjectChunkVisitor(writer, context, "Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute"); + var visitor = new InjectChunkVisitor(writer, context, "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute"); var factory = SpanFactory.CreateCsHtml(); var node = (Span)factory.Code("Some code") .As(new InjectParameterGenerator("MyType", "MyPropertyName")); @@ -114,7 +114,7 @@ public MyType2 @MyPropertyName2 { get; private set; } public void Visit_WithDesignTimeHost_GeneratesPropertiesAndLinePragmas_ForPartialInjectChunks() { // Arrange - var expected = @"[Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + var expected = @"[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 1 """" MyType1 @@ -127,7 +127,7 @@ MyType1 var context = CreateContext(); context.Host.DesignTimeMode = true; - var visitor = new InjectChunkVisitor(writer, context, "Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute"); + var visitor = new InjectChunkVisitor(writer, context, "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute"); var factory = SpanFactory.CreateCsHtml(); var node = (Span)factory.Code("Some code") .As(new InjectParameterGenerator("MyType", "MyPropertyName")); diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InputTestTagHelper.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InputTestTagHelper.cs index a99ef6b821..67a9d72fd9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InputTestTagHelper.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/InputTestTagHelper.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class InputTestTagHelper : TagHelper { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcCSharpRazorCodeParserTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcCSharpRazorCodeParserTest.cs index 6d0ecd0359..55f3b15a17 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcCSharpRazorCodeParserTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcCSharpRazorCodeParserTest.cs @@ -4,16 +4,16 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Generator; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Generator; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcCSharpRazorCodeParserTest { @@ -268,8 +268,8 @@ namespace Microsoft.AspNet.Mvc.Razor [Theory] [InlineData("IMyService Service", "IMyService", "Service")] - [InlineData(" Microsoft.AspNet.Mvc.IHtmlHelper MyHelper ", - "Microsoft.AspNet.Mvc.IHtmlHelper", "MyHelper")] + [InlineData(" Microsoft.AspNetCore.Mvc.IHtmlHelper MyHelper ", + "Microsoft.AspNetCore.Mvc.IHtmlHelper", "MyHelper")] [InlineData(" TestService @class ", "TestService", "@class")] public void ParseInjectKeyword_InfersTypeAndPropertyName( string injectStatement, @@ -304,17 +304,17 @@ namespace Microsoft.AspNet.Mvc.Razor [Theory] [InlineData("IMyService Service;", "IMyService", "Service")] [InlineData("IMyService Service;;", "IMyService", "Service")] - [InlineData(" Microsoft.AspNet.Mvc.IHtmlHelper MyHelper; ", - "Microsoft.AspNet.Mvc.IHtmlHelper", "MyHelper")] - [InlineData(" Microsoft.AspNet.Mvc.IHtmlHelper MyHelper; ; ", - "Microsoft.AspNet.Mvc.IHtmlHelper", "MyHelper")] + [InlineData(" Microsoft.AspNetCore.Mvc.IHtmlHelper MyHelper; ", + "Microsoft.AspNetCore.Mvc.IHtmlHelper", "MyHelper")] + [InlineData(" Microsoft.AspNetCore.Mvc.IHtmlHelper MyHelper; ; ", + "Microsoft.AspNetCore.Mvc.IHtmlHelper", "MyHelper")] [InlineData(" TestService @class; ; ", "TestService", "@class")] [InlineData("IMyService Service ;", "IMyService", "Service")] [InlineData("IMyService Service ; ;", "IMyService", "Service")] - [InlineData(" Microsoft.AspNet.Mvc.IHtmlHelper MyHelper ; ", - "Microsoft.AspNet.Mvc.IHtmlHelper", "MyHelper")] - [InlineData(" Microsoft.AspNet.Mvc.IHtmlHelper MyHelper ; ; ", - "Microsoft.AspNet.Mvc.IHtmlHelper", "MyHelper")] + [InlineData(" Microsoft.AspNetCore.Mvc.IHtmlHelper MyHelper ; ", + "Microsoft.AspNetCore.Mvc.IHtmlHelper", "MyHelper")] + [InlineData(" Microsoft.AspNetCore.Mvc.IHtmlHelper MyHelper ; ; ", + "Microsoft.AspNetCore.Mvc.IHtmlHelper", "MyHelper")] [InlineData(" TestService @class ; ", "TestService", "@class")] [InlineData(" TestService @class ; ; ", "TestService", "@class")] public void ParseInjectKeyword_AllowsOptionalTrailingSemicolon( diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorHostTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorHostTest.cs index 592c04cd17..e6359b0093 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorHostTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorHostTest.cs @@ -11,18 +11,18 @@ using System.Reflection; #if GENERATE_BASELINES using System.Text; #endif -using Microsoft.AspNet.Mvc.Razor.Directives; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.CodeGenerators.Visitors; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.Razor.Directives; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcRazorHostTest { @@ -604,7 +604,7 @@ namespace Microsoft.AspNet.Mvc.Razor return new TestCSharpCodeGenerator( context, DefaultModel, - "Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute", + "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute", new GeneratedTagHelperAttributeContext { ModelExpressionTypeName = ModelExpressionType, @@ -657,7 +657,7 @@ namespace Microsoft.AspNet.Mvc.Razor return new TestCSharpCodeGenerator( context, DefaultModel, - "Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute", + "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute", new GeneratedTagHelperAttributeContext { ModelExpressionTypeName = ModelExpressionType, diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorParserTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorParserTest.cs index f57ce4e09b..6ae741445b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorParserTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcRazorParserTest.cs @@ -4,16 +4,16 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcRazorCodeParserTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcTagHelperAttributeValueCodeRendererTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcTagHelperAttributeValueCodeRendererTest.cs index 42b147cea0..7c7dfbb386 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcTagHelperAttributeValueCodeRendererTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/MvcTagHelperAttributeValueCodeRendererTest.cs @@ -1,13 +1,13 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class MvcTagHelperAttributeValueCodeRendererTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/RawTextSymbol.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/RawTextSymbol.cs index d0671b108f..de4d4ef83b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/RawTextSymbol.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/RawTextSymbol.cs @@ -3,12 +3,12 @@ using System; using System.Globalization; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { internal class RawTextSymbol : ISymbol { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanConstructor.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanConstructor.cs index 2c8e22b274..026e54672d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanConstructor.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanConstructor.cs @@ -3,13 +3,13 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Editor; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Editor; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class SpanConstructor { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactory.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactory.cs index 464add4d8e..327f091f13 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactory.cs @@ -4,13 +4,13 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; -using Microsoft.AspNet.Razor.Tokenizer; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; +using Microsoft.AspNetCore.Razor.Tokenizer; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class SpanFactory { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactoryExtensions.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactoryExtensions.cs index c3257e1eaf..a7e65b3f79 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactoryExtensions.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/SpanFactoryExtensions.cs @@ -1,14 +1,14 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public static class SpanFactoryExtensions { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/UnclassifiedCodeSpanConstructor.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/UnclassifiedCodeSpanConstructor.cs index 5d07c02248..e3691f3ba0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/UnclassifiedCodeSpanConstructor.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/SpanFactory/UnclassifiedCodeSpanConstructor.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Chunks.Generators; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class UnclassifiedCodeSpanConstructor { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/StringTextBuffer.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/StringTextBuffer.cs index 6d9acf1d61..5ddbc83bb6 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/StringTextBuffer.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/StringTextBuffer.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNetCore.Razor.Text; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class StringTextBuffer : ITextBuffer, IDisposable { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Input/ModelExpressionTagHelper.cshtml b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Input/ModelExpressionTagHelper.cshtml index 98537931e4..fc408467f0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Input/ModelExpressionTagHelper.cshtml +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Input/ModelExpressionTagHelper.cshtml @@ -1,6 +1,6 @@ -@model DateTime +@model DateTime -@addTagHelper Microsoft.AspNet.Mvc.Razor.InputTestTagHelper, Microsoft.AspNet.Mvc.Razor.Host.Test +@addTagHelper Microsoft.AspNetCore.Mvc.Razor.InputTestTagHelper, Microsoft.AspNetCore.Mvc.Razor.Host.Test \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Basic.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Basic.cs index 956b7cbb40..38bdaccbd0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Basic.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Basic.cs @@ -2,7 +2,7 @@ namespace Asp { using System.Threading.Tasks; - public class ASPV_testfiles_input_basic_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_basic_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -15,14 +15,14 @@ namespace Asp { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Inject.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Inject.cs index f60ec6a112..79acafb431 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Inject.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Inject.cs @@ -8,7 +8,7 @@ using MyNamespace ; using System.Threading.Tasks; - public class ASPV_testfiles_input_inject_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_inject_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -21,7 +21,7 @@ using MyNamespace { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 2 "testfiles/input/inject.cshtml" MyApp MyPropertyName @@ -29,14 +29,14 @@ using MyNamespace #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithModel.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithModel.cs index 49752f998d..9732c1f4ab 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithModel.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithModel.cs @@ -2,7 +2,7 @@ namespace Asp { using System.Threading.Tasks; - public class ASPV_testfiles_input_injectwithmodel_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_injectwithmodel_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -20,7 +20,7 @@ var __modelHelper = default(MyModel); { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 2 "testfiles/input/injectwithmodel.cshtml" MyApp MyPropertyName @@ -28,7 +28,7 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 3 "testfiles/input/injectwithmodel.cshtml" MyService Html @@ -36,12 +36,12 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithSemicolon.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithSemicolon.cs index defb7d8386..1d305e9608 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithSemicolon.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithSemicolon.cs @@ -2,7 +2,7 @@ namespace Asp { using System.Threading.Tasks; - public class ASPV_testfiles_input_injectwithsemicolon_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_injectwithsemicolon_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -20,7 +20,7 @@ var __modelHelper = default(MyModel); { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 2 "testfiles/input/injectwithsemicolon.cshtml" MyApp MyPropertyName @@ -28,7 +28,7 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 3 "testfiles/input/injectwithsemicolon.cshtml" MyService Html @@ -36,7 +36,7 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 4 "testfiles/input/injectwithsemicolon.cshtml" MyApp MyPropertyName2 @@ -44,7 +44,7 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 5 "testfiles/input/injectwithsemicolon.cshtml" MyService Html2 @@ -52,12 +52,12 @@ var __modelHelper = default(MyModel); #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Model.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Model.cs index 811d5e2444..7c3af5c395 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Model.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/Model.cs @@ -2,7 +2,7 @@ namespace Asp { using System.Threading.Tasks; - public class ASPV_testfiles_input_model_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_model_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -20,14 +20,14 @@ var __modelHelper = default(System.Collections.IEnumerable); { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/ModelExpressionTagHelper.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/ModelExpressionTagHelper.cs index 80be970d81..2db8cf97e3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/ModelExpressionTagHelper.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/ModelExpressionTagHelper.cs @@ -3,18 +3,18 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_testfiles_input_modelexpressiontaghelper_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input_modelexpressiontaghelper_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() { #pragma warning disable 219 string __tagHelperDirectiveSyntaxHelper = null; - __tagHelperDirectiveSyntaxHelper = "Microsoft.AspNet.Mvc.Razor.InputTestTagHelper, Microsoft.AspNet.Mvc.Razor.Host.Test"; + __tagHelperDirectiveSyntaxHelper = "Microsoft.AspNetCore.Mvc.Razor.InputTestTagHelper, Microsoft.AspNetCore.Mvc.Razor.Host.Test"; #line 1 "testfiles/input/modelexpressiontaghelper.cshtml" var __modelHelper = default(DateTime); @@ -23,33 +23,33 @@ var __modelHelper = default(DateTime); #pragma warning restore 219 } #line hidden - private global::Microsoft.AspNet.Mvc.Razor.InputTestTagHelper __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = null; + private global::Microsoft.AspNetCore.Mvc.Razor.InputTestTagHelper __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = null; #line hidden public ASPV_testfiles_input_modelexpressiontaghelper_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden #pragma warning disable 1998 public override async Task ExecuteAsync() { - __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); + __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); #line 5 "testfiles/input/modelexpressiontaghelper.cshtml" __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper.For = CreateModelExpression(__model => __model.Now); #line default #line hidden - __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); + __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); #line 6 "testfiles/input/modelexpressiontaghelper.cshtml" __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper.For = CreateModelExpression(__model => Model); diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/MultipleModels.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/MultipleModels.cs index c6cd2d8ae0..7e3255c048 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/MultipleModels.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/MultipleModels.cs @@ -2,7 +2,7 @@ namespace Asp { using System.Threading.Tasks; - public class ASPV_TestFiles_Input_MultipleModels_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_MultipleModels_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -20,14 +20,14 @@ var __modelHelper = default(System.Collections.IEnumerable); { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/_ViewImports.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/_ViewImports.cs index 2fda13e053..73f3507842 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/_ViewImports.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/_ViewImports.cs @@ -3,7 +3,7 @@ namespace Asp using System.Threading.Tasks; using TModel = System.Object; - public class ASPV_testfiles_input__viewimports_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_testfiles_input__viewimports_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { private static object @__o; private void @__RazorDesignTimeHelpers__() @@ -16,7 +16,7 @@ namespace Asp { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public #line 1 "testfiles/input/_viewimports.cshtml" IHtmlHelper Model @@ -24,14 +24,14 @@ namespace Asp #line default #line hidden { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Basic.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Basic.cs index 76e075dfc9..8a6f4abc49 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Basic.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Basic.cs @@ -4,25 +4,25 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_Basic_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_Basic_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input_Basic_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Inject.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Inject.cs index 988bb5c6c1..ea78e1f89d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Inject.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Inject.cs @@ -10,27 +10,27 @@ using MyNamespace using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_Inject_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_Inject_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input_Inject_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyApp MyPropertyName { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithModel.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithModel.cs index cd2685ae8d..8b4eb8e8c3 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithModel.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithModel.cs @@ -4,27 +4,27 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_InjectWithModel_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_InjectWithModel_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input_InjectWithModel_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyApp MyPropertyName { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyService Html { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithSemicolon.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithSemicolon.cs index 0aaa447dbb..4664f28649 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithSemicolon.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/InjectWithSemicolon.cs @@ -4,31 +4,31 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_InjectWithSemicolon_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_InjectWithSemicolon_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input_InjectWithSemicolon_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyApp MyPropertyName { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyService Html { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyApp MyPropertyName2 { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public MyService Html2 { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Model.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Model.cs index 9bf4df5725..1684e070c1 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Model.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/Model.cs @@ -4,25 +4,25 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_Model_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_Model_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input_Model_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/ModelExpressionTagHelper.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/ModelExpressionTagHelper.cs index b267f58e5b..ac0b2df37b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/ModelExpressionTagHelper.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/ModelExpressionTagHelper.cs @@ -4,47 +4,47 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input_ModelExpressionTagHelper_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input_ModelExpressionTagHelper_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden #pragma warning disable 0414 - private global::Microsoft.AspNet.Razor.TagHelpers.TagHelperContent __tagHelperStringValueBuffer = null; + private global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent __tagHelperStringValueBuffer = null; #pragma warning restore 0414 - private global::Microsoft.AspNet.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext = null; - private global::Microsoft.AspNet.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = null; - private global::Microsoft.AspNet.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager = new global::Microsoft.AspNet.Razor.Runtime.TagHelpers.TagHelperScopeManager(); - private global::Microsoft.AspNet.Mvc.Razor.InputTestTagHelper __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = null; + private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext = null; + private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = null; + private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(); + private global::Microsoft.AspNetCore.Mvc.Razor.InputTestTagHelper __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = null; #line hidden public ASPV_TestFiles_Input_ModelExpressionTagHelper_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden #pragma warning disable 1998 public override async Task ExecuteAsync() { - __tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNet.Razor.Runtime.TagHelpers.TagHelperRunner(); + __tagHelperRunner = __tagHelperRunner ?? new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner(); BeginContext(118, 2, true); WriteLiteral("\r\n"); EndContext(); - __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { + __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } , StartTagHelperWritingScope, EndTagHelperWritingScope); - __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); + __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); __tagHelperExecutionContext.Add(__Microsoft_AspNet_Mvc_Razor_InputTestTagHelper); #line 5 "TestFiles/Input/ModelExpressionTagHelper.cshtml" __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper.For = CreateModelExpression(__model => __model.Now); @@ -60,10 +60,10 @@ __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper.For = CreateModelExpression(__mo BeginContext(144, 2, true); WriteLiteral("\r\n"); EndContext(); - __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNet.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { + __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input-test", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } , StartTagHelperWritingScope, EndTagHelperWritingScope); - __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); + __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper = CreateTagHelper(); __tagHelperExecutionContext.Add(__Microsoft_AspNet_Mvc_Razor_InputTestTagHelper); #line 6 "TestFiles/Input/ModelExpressionTagHelper.cshtml" __Microsoft_AspNet_Mvc_Razor_InputTestTagHelper.For = CreateModelExpression(__model => Model); diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/_ViewImports.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/_ViewImports.cs index 704c235968..a321ac8c8f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/_ViewImports.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFiles/Output/Runtime/_ViewImports.cs @@ -4,27 +4,27 @@ namespace Asp using System; using System.Linq; using System.Collections.Generic; - using Microsoft.AspNet.Mvc; - using Microsoft.AspNet.Mvc.Rendering; + using Microsoft.AspNetCore.Mvc; + using Microsoft.AspNetCore.Mvc.Rendering; using System.Threading.Tasks; - public class ASPV_TestFiles_Input__ViewImports_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage + public class ASPV_TestFiles_Input__ViewImports_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage { #line hidden public ASPV_TestFiles_Input__ViewImports_cshtml() { } #line hidden - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] public IHtmlHelper Model { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IUrlHelper Url { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.IViewComponentHelper Component { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IJsonHelper Json { get; private set; } - [Microsoft.AspNet.Mvc.Razor.Internal.RazorInjectAttribute] - public Microsoft.AspNet.Mvc.Rendering.IHtmlHelper Html { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } + [Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute] + public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Html { get; private set; } #line hidden diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/ViewHierarchyUtilityTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/ViewHierarchyUtilityTest.cs index 702e4f5a37..86159c234d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/ViewHierarchyUtilityTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/ViewHierarchyUtilityTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class ViewHierarchyUtilityTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/project.json index 18e6381b9d..2c578a7930 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/project.json @@ -1,17 +1,17 @@ { "resource": "TestFiles/**", "dependencies": { - "Microsoft.AspNet.Mvc.Core": "6.0.0-*", - "Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.Razor": "6.0.0-*", - "Microsoft.AspNet.Mvc.Razor.Host": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Mvc.Core": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.DataAnnotations": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor.Host": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.ViewFeatures": "6.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "commands": { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs index 665cf84ef4..c1668d6195 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilationResultTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Diagnostics; +using Microsoft.AspNetCore.Diagnostics; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public class CompilationResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs index 292be13a3d..63d51de48d 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/CompilerCacheTest.cs @@ -5,11 +5,11 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Diagnostics; +using Microsoft.AspNetCore.Diagnostics; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public class CompilerCacheTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/DefaultRoslynCompilationServiceTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/DefaultRoslynCompilationServiceTest.cs index c873c0569b..bfe5e1c5ee 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/DefaultRoslynCompilationServiceTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/DefaultRoslynCompilationServiceTest.cs @@ -12,7 +12,7 @@ using Microsoft.Extensions.PlatformAbstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public class DefaultRoslynCompilationServiceTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/ExpressionRewriterTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/ExpressionRewriterTest.cs index 02af2f7e65..735d53605b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/ExpressionRewriterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/ExpressionRewriterTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -12,7 +12,7 @@ using Microsoft.Extensions.CompilationAbstractions; using Microsoft.Extensions.PlatformAbstractions; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public class ExpressionRewriterTest { @@ -22,8 +22,8 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation // Arrange var source = @" using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Razor; public class ExamplePage : RazorPage { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/RazorCompilationServiceTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/RazorCompilationServiceTest.cs index 1966f1a7c1..f6c5909b3b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/RazorCompilationServiceTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Compilation/RazorCompilationServiceTest.cs @@ -3,18 +3,18 @@ using System.IO; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks; -using Microsoft.AspNet.Razor.CodeGenerators; -using Microsoft.AspNet.Razor.Compilation.TagHelpers; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks; +using Microsoft.AspNetCore.Razor.CodeGenerators; +using Microsoft.AspNetCore.Razor.Compilation.TagHelpers; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Compilation +namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { public class RazorCompilationServiceTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultPrecompiledViewsProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultPrecompiledViewsProviderTest.cs index acb4154904..bfa2c0ed88 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultPrecompiledViewsProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultPrecompiledViewsProviderTest.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class DefaultPrecompiledViewsProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorPageFactoryProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorPageFactoryProviderTest.cs index dcd6d59cc5..2c15aff18a 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorPageFactoryProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorPageFactoryProviderTest.cs @@ -1,14 +1,14 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Test +namespace Microsoft.AspNetCore.Mvc.Razor.Test { public class DefaultRazorPageFactoryProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorViewEngineFileProviderAccessorTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorViewEngineFileProviderAccessorTest.cs index 39e8e0af84..de77b8a41e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorViewEngineFileProviderAccessorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultRazorViewEngineFileProviderAccessorTest.cs @@ -1,14 +1,14 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class DefaultRazorViewEngineFileProviderAccessorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultTagHelperActivatorTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultTagHelperActivatorTest.cs index a453fe2c36..023f3d5811 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultTagHelperActivatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/DefaultTagHelperActivatorTest.cs @@ -3,21 +3,21 @@ using System; using System.IO; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class DefaultTagHelperActivatorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/LanguageViewLocationExpanderTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/LanguageViewLocationExpanderTest.cs index a8d135bf58..6266f1f2b8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/LanguageViewLocationExpanderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/LanguageViewLocationExpanderTest.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class LanguageViewLocationExpanderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/MvcRazorCodeParserTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/MvcRazorCodeParserTest.cs index e512743261..b194d3dd83 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/MvcRazorCodeParserTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/MvcRazorCodeParserTest.cs @@ -4,15 +4,15 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Generator; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Generator; +using Microsoft.AspNetCore.Razor.Parser; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Host.Test +namespace Microsoft.AspNetCore.Mvc.Razor.Host.Test { public class MvcRazorCodeParserTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs index a73f72edf9..418d3ef5c5 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageActivatorTest.cs @@ -7,23 +7,23 @@ using System.Globalization; using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorPageActivatorTest { @@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Mvc.Razor var myService = new MyService(); var helper = Mock.Of>(); var htmlEncoder = new HtmlTestEncoder(); - var diagnosticSource = new DiagnosticListener("Microsoft.AspNet"); + var diagnosticSource = new DiagnosticListener("Microsoft.AspNetCore"); var serviceProvider = new ServiceCollection() .AddSingleton(myService) .AddSingleton(helper) @@ -193,7 +193,7 @@ namespace Microsoft.AspNet.Mvc.Razor .AddSingleton(myService) .AddSingleton(helper) .AddSingleton(htmlEncoder) - .AddSingleton(new DiagnosticListener("Microsoft.AspNet.Mvc")) + .AddSingleton(new DiagnosticListener("Microsoft.AspNetCore.Mvc")) .BuildServiceProvider(); var httpContext = new DefaultHttpContext { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateModelExpressionTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateModelExpressionTest.cs index 3be87732d7..6e7831e82f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateModelExpressionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateModelExpressionTest.cs @@ -5,17 +5,17 @@ using System; using System.IO; using System.Linq.Expressions; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorPageCreateModelExpressionTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateTagHelperTest.cs index 1a17124b6c..207b064bf0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageCreateTagHelperTest.cs @@ -7,20 +7,20 @@ using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorPageCreateTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageTest.cs index 395b4185b9..832c56a4f0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorPageTest.cs @@ -7,26 +7,26 @@ using System.Diagnostics; using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Razor.Runtime.TagHelpers; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Razor.Runtime.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorPageTest { @@ -696,7 +696,7 @@ namespace Microsoft.AspNet.Mvc.Razor }); page.Path = path; var adapter = new TestDiagnosticListener(); - var diagnosticListener = new DiagnosticListener("Microsoft.AspNet.Mvc.Razor"); + var diagnosticListener = new DiagnosticListener("Microsoft.AspNetCore.Mvc.Razor"); diagnosticListener.SubscribeWithAdapter(adapter); page.DiagnosticSource = diagnosticListener; @@ -785,7 +785,7 @@ namespace Microsoft.AspNet.Mvc.Razor }); page.Path = path; var adapter = new TestDiagnosticListener(); - var diagnosticListener = new DiagnosticListener("Microsoft.AspNet.Mvc.Razor"); + var diagnosticListener = new DiagnosticListener("Microsoft.AspNetCore.Mvc.Razor"); diagnosticListener.SubscribeWithAdapter(adapter); page.DiagnosticSource = diagnosticListener; @@ -848,7 +848,7 @@ namespace Microsoft.AspNet.Mvc.Razor }); page.Path = path; var adapter = new TestDiagnosticListener(); - var diagnosticListener = new DiagnosticListener("Microsoft.AspNet.Mvc.Razor"); + var diagnosticListener = new DiagnosticListener("Microsoft.AspNetCore.Mvc.Razor"); diagnosticListener.SubscribeWithAdapter(adapter); page.DiagnosticSource = diagnosticListener; diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorTextWriterTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorTextWriterTest.cs index cc7f417a62..b26ce27708 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorTextWriterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorTextWriterTest.cs @@ -7,14 +7,14 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Test +namespace Microsoft.AspNetCore.Mvc.Razor.Test { public class RazorTextWriterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineOptionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineOptionsTest.cs index 4c49d35558..0a0f53cd26 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineOptionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineOptionsTest.cs @@ -1,12 +1,12 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorViewEngineOptionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs index 0cd9c58bae..e4a8dcb6ab 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; @@ -18,7 +18,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Test +namespace Microsoft.AspNetCore.Mvc.Razor.Test { public class RazorViewEngineTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewTest.cs index 94773750fb..db4b6a7dae 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewTest.cs @@ -6,20 +6,20 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Primitives; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorViewTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/SpanFactory.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/SpanFactory.cs index 604fff876e..f5179a7288 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/SpanFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/SpanFactory.cs @@ -5,16 +5,16 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Razor; -using Microsoft.AspNet.Razor.Chunks.Generators; -using Microsoft.AspNet.Razor.Editor; -using Microsoft.AspNet.Razor.Generator; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; -using Microsoft.AspNet.Razor.Tokenizer; -using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.AspNetCore.Razor; +using Microsoft.AspNetCore.Razor.Chunks.Generators; +using Microsoft.AspNetCore.Razor.Editor; +using Microsoft.AspNetCore.Razor.Generator; +using Microsoft.AspNetCore.Razor.Parser.SyntaxTree; +using Microsoft.AspNetCore.Razor.Text; +using Microsoft.AspNetCore.Razor.Tokenizer; +using Microsoft.AspNetCore.Razor.Tokenizer.Symbols; -namespace Microsoft.AspNet.Mvc.Razor.Host.Test +namespace Microsoft.AspNetCore.Mvc.Razor.Host.Test { public static class SpanFactoryExtensions { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/TagHelpers/UrlResolutionTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/TagHelpers/UrlResolutionTagHelperTest.cs index e2b5f25e8f..f7186f7b33 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/TagHelpers/UrlResolutionTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/TagHelpers/UrlResolutionTagHelperTest.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.TagHelpers +namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers { public class UrlResolutionTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Razor.Test/project.json index 97a2a4b461..ca18b64c26 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/project.json @@ -4,25 +4,25 @@ "keyFile": "../../tools/Key.snk" }, "compile": [ - "../Microsoft.AspNet.Mvc.Razor.Host.Test/TestFileProvider.cs", - "../Microsoft.AspNet.Mvc.Razor.Host.Test/TestFileInfo.cs", - "../Microsoft.AspNet.Mvc.Razor.Host.Test/TestFileTrigger.cs", - "../Microsoft.AspNet.Mvc.ViewFeatures.Test/TestViewBufferScope.cs" + "../Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFileProvider.cs", + "../Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFileInfo.cs", + "../Microsoft.AspNetCore.Mvc.Razor.Host.Test/TestFileTrigger.cs", + "../Microsoft.AspNetCore.Mvc.ViewFeatures.Test/TestViewBufferScope.cs" ], "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.Razor": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.DataAnnotations": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Razor": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources": { + "Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Dnx.Runtime": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.DiagnosticAdapter": "1.0.0-*", diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs index 7a9a5e5769..e9f2912a92 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs @@ -6,15 +6,15 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class AnchorTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs index 83074e95b7..eca0adfd4e 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs @@ -10,15 +10,15 @@ using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Primitives; @@ -26,7 +26,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class CacheTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs index 1283909176..884b053b50 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Razor.TagHelpers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers.Test +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Test { public class EnvironmentTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/FormTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/FormTagHelperTest.cs index c5f70a818c..747f4fd751 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/FormTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/FormTagHelperTest.cs @@ -8,20 +8,20 @@ using System.Linq; using System.Reflection; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class FormTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ImageTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ImageTagHelperTest.cs index 7bfee362d7..3435150b40 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ImageTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ImageTagHelperTest.cs @@ -7,16 +7,16 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Primitives; @@ -24,7 +24,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class ImageTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs index 0c912ff2f8..f3d35e67e7 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs @@ -6,17 +6,17 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Razor.TagHelpers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class InputTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs index 7eafa61c46..2293b9f48a 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class AttributeMatcherTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/FileVersionProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/FileVersionProviderTest.cs index 91872d8613..930b0b0623 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/FileVersionProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/FileVersionProviderTest.cs @@ -3,15 +3,15 @@ using System.IO; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class FileVersionProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/GlobbingUrlBuilderTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/GlobbingUrlBuilderTest.cs index 29454fa4ad..5bec5b2cc8 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/GlobbingUrlBuilderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/GlobbingUrlBuilderTest.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.FileSystemGlobbing; @@ -13,7 +13,7 @@ using Microsoft.Extensions.Primitives; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class GlobbingUrlBuilderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/JavaScriptResourcesTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/JavaScriptResourcesTest.cs index b14ad29636..477182cda7 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/JavaScriptResourcesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Internal/JavaScriptResourcesTest.cs @@ -7,7 +7,7 @@ using System.IO; using System.Text; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers.Internal +namespace Microsoft.AspNetCore.Mvc.TagHelpers.Internal { public class JavaScriptResourcesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LabelTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LabelTagHelperTest.cs index 77ea245c77..8216785fd3 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LabelTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LabelTagHelperTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class LabelTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LinkTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LinkTagHelperTest.cs index b6a2477ba0..372004fb3e 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LinkTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/LinkTagHelperTest.cs @@ -7,19 +7,19 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.PlatformAbstractions; @@ -28,7 +28,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class LinkTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/OptionTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/OptionTagHelperTest.cs index 18dbe04eae..40b8f4a5ce 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/OptionTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/OptionTagHelperTest.cs @@ -4,12 +4,12 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class OptionTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/RenderAtEndOfFormTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/RenderAtEndOfFormTagHelperTest.cs index 08dfd1526a..8abe6c1a8d 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/RenderAtEndOfFormTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/RenderAtEndOfFormTagHelperTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.Runtime.TagHelpers; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.Runtime.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class RenderAtEndOfFormTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs index a86fe99fae..ebcc42c29d 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs @@ -7,19 +7,19 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; @@ -29,7 +29,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class ScriptTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/SelectTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/SelectTagHelperTest.cs index 940faa5e83..7652bbc23d 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/SelectTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/SelectTagHelperTest.cs @@ -6,16 +6,16 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TagHelpers.Internal; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TagHelpers.Internal; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class SelectTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperLogger.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperLogger.cs index 745ad6dc11..a5f091e285 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperLogger.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperLogger.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class TagHelperLogger : ILogger { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs index 5188fc4777..1b903005db 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class TagHelperOutputExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TestableHtmlGenerator.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TestableHtmlGenerator.cs index 190929b928..da7c14fbc0 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TestableHtmlGenerator.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TestableHtmlGenerator.cs @@ -4,21 +4,21 @@ using System; using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; using Microsoft.Extensions.WebEncoders.Testing; using Moq; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class TestableHtmlGenerator : DefaultHtmlGenerator { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs index c5f001d69b..24d1375a0b 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class TextAreaTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs index b62f8743ab..d4e6fcfe93 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs @@ -5,19 +5,19 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class ValidationMessageTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs index c41298013e..760e2c6fac 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs @@ -6,20 +6,20 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.TagHelpers +namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class ValidationSummaryTagHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/project.json b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/project.json index 2b2b91e807..79e1449b1e 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/project.json @@ -4,15 +4,15 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.DataAnnotations": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, diff --git a/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs index 83becebbef..6f206ec2a9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs @@ -1,12 +1,12 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.JsonPatch; -using Microsoft.AspNet.JsonPatch.Operations; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.JsonPatch; +using Microsoft.AspNetCore.JsonPatch.Operations; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class JsonPatchExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Test/MvcOptionsSetupTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/MvcOptionsSetupTest.cs index 1432af625d..3cb3f719f9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/MvcOptionsSetupTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/MvcOptionsSetupTest.cs @@ -7,15 +7,15 @@ using System.Linq; using System.Threading; using System.Xml; using System.Xml.Linq; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.CompilationAbstractions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; @@ -25,7 +25,7 @@ using Moq; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class MvcOptionsSetupTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs index 44da4dfdf5..26a187cbf4 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs @@ -5,29 +5,29 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Cors; -using Microsoft.AspNet.Mvc.Cors.Internal; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters.Json.Internal; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Razor.Internal; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Cors; +using Microsoft.AspNetCore.Mvc.Cors.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters.Json.Internal; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor.Internal; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class MvcServiceCollectionExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Test/RazorViewEngineOptionsSetupTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/RazorViewEngineOptionsSetupTest.cs index 85e3b3a15f..fece4a7244 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/RazorViewEngineOptionsSetupTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/RazorViewEngineOptionsSetupTest.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.CodeAnalysis; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.PlatformAbstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RazorViewEngineOptionsSetupTest { diff --git a/test/Microsoft.AspNetCore.Mvc.Test/project.json b/test/Microsoft.AspNetCore.Mvc.Test/project.json index 0a69662e54..ff356f1888 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Test/project.json @@ -3,8 +3,8 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/CommonFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/CommonFilterTest.cs index ad61a9d68f..233838f250 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/CommonFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/CommonFilterTest.cs @@ -4,13 +4,13 @@ #if !FUNCTIONAL_TESTS using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Routing; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Routing; +using Microsoft.AspNetCore.Mvc.Abstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Filters +namespace Microsoft.AspNetCore.Mvc.Filters { public class CommonFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/HtmlContentUtilities.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/HtmlContentUtilities.cs index 391879c1db..0f7c7aca6e 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/HtmlContentUtilities.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/HtmlContentUtilities.cs @@ -3,10 +3,10 @@ using System.IO; using System.Text.Encodings.Web; -using Microsoft.AspNet.Html; +using Microsoft.AspNetCore.Html; using Microsoft.Extensions.WebEncoders.Testing; -namespace Microsoft.AspNet.Mvc.TestCommon +namespace Microsoft.AspNetCore.Mvc.TestCommon { public class HtmlContentUtilities { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/MediaTypeAssert.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/MediaTypeAssert.cs index e44bc0179b..64c12987b5 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/MediaTypeAssert.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/MediaTypeAssert.cs @@ -1,9 +1,9 @@ -using System; +using System; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Xunit.Sdk; -namespace Microsoft.AspNet.Mvc.TestCommon +namespace Microsoft.AspNetCore.Mvc.TestCommon { public class MediaTypeAssert { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/PlatformNormalizer.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/PlatformNormalizer.cs index ca4decaf73..d825309ef7 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/PlatformNormalizer.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/PlatformNormalizer.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Razor; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Razor; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public static class PlatformNormalizer { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/ResourceFile.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/ResourceFile.cs index 4656ef6d8f..bf143fb98e 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/ResourceFile.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/ResourceFile.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -9,7 +9,7 @@ using System.Text; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { /// /// Reader and, if GENERATE_BASELINES is defined, writer for files compiled into an assembly as resources. diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestClientModelValidatorProvider.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestClientModelValidatorProvider.cs index 9a6b70bc76..b1dfda386f 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestClientModelValidatorProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestClientModelValidatorProvider.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { internal class TestClientModelValidatorProvider : CompositeClientModelValidatorProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileInfo.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileInfo.cs index 4e434f21d7..79b2f94c4f 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileInfo.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileInfo.cs @@ -6,7 +6,7 @@ using System.IO; using System.Text; using Microsoft.Extensions.FileProviders; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class TestFileInfo : IFileInfo { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileProvider.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileProvider.cs index ef6af5c022..54786c231b 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestFileProvider.cs @@ -7,7 +7,7 @@ using System.IO; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Primitives; -namespace Microsoft.AspNet.Mvc.Razor +namespace Microsoft.AspNetCore.Mvc.Razor { public class TestFileProvider : IFileProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpRequestStreamReaderFactory.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpRequestStreamReaderFactory.cs index 738ce64ef2..2f69699c17 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpRequestStreamReaderFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpRequestStreamReaderFactory.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class TestHttpRequestStreamReaderFactory : IHttpRequestStreamReaderFactory { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpResponseStreamWriterFactory.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpResponseStreamWriterFactory.cs index 5262cb6888..3e94372062 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpResponseStreamWriterFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestHttpResponseStreamWriterFactory.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class TestHttpResponseStreamWriterFactory : IHttpResponseStreamWriterFactory { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelMetadataProvider.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelMetadataProvider.cs index bf65407570..5ee3f16c12 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelMetadataProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelMetadataProvider.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { internal class TestModelMetadataProvider : DefaultModelMetadataProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelValidatorProvider.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelValidatorProvider.cs index 48502c0ef0..f3852a3506 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelValidatorProvider.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestModelValidatorProvider.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc.ModelBinding.Validation +namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { internal class TestModelValidatorProvider : CompositeModelValidatorProvider { diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestOptionsManager.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestOptionsManager.cs index 87d8b67dc6..688f216b62 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/TestOptionsManager.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/TestOptionsManager.cs @@ -4,7 +4,7 @@ using System.Linq; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class TestOptionsManager : OptionsManager where T : class, new() diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/ValidationAttributeUtil.cs b/test/Microsoft.AspNetCore.Mvc.TestCommon/ValidationAttributeUtil.cs index d8a85544b7..fee40f77e1 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/ValidationAttributeUtil.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/ValidationAttributeUtil.cs @@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public static class ValidationAttributeUtil { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionContext.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionContext.cs index 5d5aab524f..6a2ab0ef50 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionContext.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionContext.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyActionContext { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionDescriptor.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionDescriptor.cs index eae1edff2f..85364d6b84 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionDescriptor.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionDescriptor.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyActionDescriptor { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionResult.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionResult.cs index 4c93860d9d..e6ac61fbbc 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionResult.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyActionResult.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyActionResult { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyHttpContext.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyHttpContext.cs index 7001fd0d99..b8777776e1 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyHttpContext.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyHttpContext.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyHttpContext { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyRouteData.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyRouteData.cs index bd1edd2ce4..3967c5a5aa 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyRouteData.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyRouteData.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyRouteData { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyView.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyView.cs index cb036a09a0..fe84b9c049 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyView.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyView.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyView { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentContext.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentContext.cs index 147b959936..9c30b3e30f 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentContext.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentContext.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyViewComponentContext { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentResult.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentResult.cs index a8a5484ac1..b384cecde5 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentResult.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewComponentResult.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyViewComponentResult { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewContext.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewContext.cs index dd5a4881c5..318216c381 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewContext.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/IProxyViewContext.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public interface IProxyViewContext { diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj index 7828173ba1..ad1c73ca7f 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources.xproj @@ -1,4 +1,4 @@ - + 14.0 @@ -7,7 +7,7 @@ 9879b5d5-2325-4a81-b4df-f279fe8feeb4 - Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources + Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources ..\..\artifacts\obj\$(MSBuildProjectName) ..\..\artifacts\bin\$(MSBuildProjectName)\ diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/TestDiagnosticListener.cs b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/TestDiagnosticListener.cs index aaaf0b91aa..dc1c0b2859 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/TestDiagnosticListener.cs +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/TestDiagnosticListener.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using Microsoft.Extensions.DiagnosticAdapter; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class TestDiagnosticListener { @@ -17,7 +17,7 @@ namespace Microsoft.AspNet.Mvc public OnBeforeActionEventData BeforeAction { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.BeforeAction")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.BeforeAction")] public virtual void OnBeforeAction( IProxyHttpContext httpContext, IProxyRouteData routeData, @@ -39,7 +39,7 @@ namespace Microsoft.AspNet.Mvc public OnAfterActionEventData AfterAction { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.AfterAction")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.AfterAction")] public virtual void OnAfterAction( IProxyHttpContext httpContext, IProxyActionDescriptor actionDescriptor) @@ -59,7 +59,7 @@ namespace Microsoft.AspNet.Mvc public OnBeforeActionMethodEventData BeforeActionMethod { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.BeforeActionMethod")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.BeforeActionMethod")] public virtual void OnBeforeActionMethod( IProxyActionContext actionContext, IReadOnlyDictionary arguments) @@ -79,7 +79,7 @@ namespace Microsoft.AspNet.Mvc public OnAfterActionMethodEventData AfterActionMethod { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.AfterActionMethod")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.AfterActionMethod")] public virtual void OnAfterActionMethod( IProxyActionContext actionContext, IProxyActionResult result) @@ -99,7 +99,7 @@ namespace Microsoft.AspNet.Mvc public OnBeforeActionResultEventData BeforeActionResult { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.BeforeActionResult")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.BeforeActionResult")] public virtual void OnBeforeActionResult(IProxyActionContext actionContext, IProxyActionResult result) { BeforeActionResult = new OnBeforeActionResultEventData() @@ -117,7 +117,7 @@ namespace Microsoft.AspNet.Mvc public OnAfterActionResultEventData AfterActionResult { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.AfterActionResult")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.AfterActionResult")] public virtual void OnAfterActionResult(IProxyActionContext actionContext, IProxyActionResult result) { AfterActionResult = new OnAfterActionResultEventData() @@ -138,7 +138,7 @@ namespace Microsoft.AspNet.Mvc public OnViewFoundEventData ViewFound { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.ViewFound")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.ViewFound")] public virtual void OnViewFound( IProxyActionContext actionContext, bool isMainPage, @@ -167,7 +167,7 @@ namespace Microsoft.AspNet.Mvc public OnViewNotFoundEventData ViewNotFound { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.ViewNotFound")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.ViewNotFound")] public virtual void OnViewNotFound( IProxyActionContext actionContext, bool isMainPage, @@ -193,7 +193,7 @@ namespace Microsoft.AspNet.Mvc public OnBeforeViewEventData BeforeView { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.BeforeView")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.BeforeView")] public virtual void OnBeforeView(IProxyView view, IProxyViewContext viewContext) { BeforeView = new OnBeforeViewEventData() @@ -211,7 +211,7 @@ namespace Microsoft.AspNet.Mvc public OnAfterViewEventData AfterView { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.AfterView")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.AfterView")] public virtual void OnAfterView(IProxyView view, IProxyViewContext viewContext) { AfterView = new OnAfterViewEventData() @@ -232,7 +232,7 @@ namespace Microsoft.AspNet.Mvc public OnBeforeViewComponentEventData BeforeViewComponent { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.BeforeViewComponent")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.BeforeViewComponent")] public virtual void OnBeforeViewComponent( IProxyActionDescriptor actionDescriptor, IProxyViewComponentContext viewComponentContext, @@ -259,7 +259,7 @@ namespace Microsoft.AspNet.Mvc public OnAfterViewComponentEventData AfterViewComponent { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.AfterViewComponent")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.AfterViewComponent")] public virtual void OnAfterViewComponent( IProxyActionDescriptor actionDescriptor, IProxyViewComponentContext viewComponentContext, @@ -286,7 +286,7 @@ namespace Microsoft.AspNet.Mvc public OnViewComponentBeforeViewExecuteEventData ViewComponentBeforeViewExecute { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.ViewComponentBeforeViewExecute")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.ViewComponentBeforeViewExecute")] public virtual void OnViewComponentBeforeViewExecute( IProxyActionDescriptor actionDescriptor, IProxyViewComponentContext viewComponentContext, @@ -311,7 +311,7 @@ namespace Microsoft.AspNet.Mvc public OnViewComponentAfterViewExecuteEventData ViewComponentAfterViewExecute { get; set; } - [DiagnosticName("Microsoft.AspNet.Mvc.ViewComponentAfterViewExecute")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.ViewComponentAfterViewExecute")] public virtual void OnViewComponentAfterViewExecute( IProxyActionDescriptor actionDescriptor, IProxyViewComponentContext viewComponentContext, @@ -347,7 +347,7 @@ namespace Microsoft.AspNet.Mvc public List PageInstrumentationData { get; set; } = new List(); - [DiagnosticName("Microsoft.AspNet.Mvc.Razor.BeginInstrumentationContext")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.Razor.BeginInstrumentationContext")] public virtual void OnBeginPageInstrumentationContext( IProxyHttpContext httpContext, string path, @@ -365,7 +365,7 @@ namespace Microsoft.AspNet.Mvc }); } - [DiagnosticName("Microsoft.AspNet.Mvc.Razor.EndInstrumentationContext")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.Razor.EndInstrumentationContext")] public virtual void OnEndPageInstrumentationContext( IProxyHttpContext httpContext, string path, diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Buffer/ViewBufferTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Buffer/ViewBufferTest.cs index df8eb4439d..27b6ea9e1a 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Buffer/ViewBufferTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Buffer/ViewBufferTest.cs @@ -1,17 +1,17 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Razor.Buffer +namespace Microsoft.AspNetCore.Mvc.Razor.Buffer { public class ViewBufferTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerTest.cs index fd57f8228e..0654872424 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerTest.cs @@ -6,20 +6,20 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Moq; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc.Test +namespace Microsoft.AspNetCore.Mvc.Test { public class ControllerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs index 3e87a7b784..82f9107170 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs @@ -5,16 +5,16 @@ using System; using System.Collections.Generic; using System.IO; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Routing; using Moq; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { // Tests Controler for the unit testability with which users can simply instantiate contollers for unit tests public class ControllerUnitTestabilityTests diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs index 6d9a05251c..9d399199cd 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs @@ -1,18 +1,18 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class AutoValidateAntiforgeryTokenAuthorizationFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/HtmlAttributePropertyHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/HtmlAttributePropertyHelperTest.cs index 588676569d..c9b2c02be0 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/HtmlAttributePropertyHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/HtmlAttributePropertyHelperTest.cs @@ -6,7 +6,7 @@ using System.Reflection; using Microsoft.Extensions.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class HtmlAttributePropertyHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/TemplateRendererTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/TemplateRendererTest.cs index f21174f055..30ebefac62 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/TemplateRendererTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/TemplateRendererTest.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.Linq; using System.Net; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features.Internal; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features.Internal; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class TemplateRendererTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ValidateAntiforgeryTokenAuthorizationFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ValidateAntiforgeryTokenAuthorizationFilterTest.cs index 83776f5e6f..d0923d55c9 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ValidateAntiforgeryTokenAuthorizationFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ValidateAntiforgeryTokenAuthorizationFilterTest.cs @@ -1,18 +1,18 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures.Internal +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class ValidateAntiforgeryTokenAuthorizationFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ModelStateDictionaryExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ModelStateDictionaryExtensionsTest.cs index 66fcab72c6..60eee79b76 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ModelStateDictionaryExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ModelStateDictionaryExtensionsTest.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Xunit; -namespace Microsoft.AspNet.Mvc.ModelBinding +namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class ModelStateDictionaryExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/PartialViewResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/PartialViewResultTest.cs index b0ac6bf2f8..ed80d7ef77 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/PartialViewResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/PartialViewResultTest.cs @@ -5,20 +5,20 @@ using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { // These tests cover the logic included in PartialViewResult.ExecuteResultAsync - see PartialViewResultExecutorTest // and ViewExecutorTest for more comprehensive tests. @@ -200,7 +200,7 @@ namespace Microsoft.AspNet.Mvc new TestHttpResponseStreamWriterFactory(), new CompositeViewEngine(options), new TempDataDictionaryFactory(new SessionStateTempDataProvider()), - new DiagnosticListener("Microsoft.AspNet"), + new DiagnosticListener("Microsoft.AspNetCore"), NullLoggerFactory.Instance); var services = new ServiceCollection(); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Properties/Resources.Designer.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Properties/Resources.Designer.cs index b3b8473a11..39ba258d38 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Properties/Resources.Designer.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Mvc.ViewFeatures.Test +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Test { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures.Test internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Mvc.ViewFeatures.Test.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Mvc.ViewFeatures.Test.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Comparing {0} to {1}. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/RemoteAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/RemoteAttributeTest.cs index 3fc55468f3..0edb9354c7 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/RemoteAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/RemoteAttributeTest.cs @@ -3,13 +3,13 @@ using System; using System.Text.Encodings.Web; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -18,7 +18,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class RemoteAttributeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/DefaultTemplatesUtilities.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/DefaultTemplatesUtilities.cs index f4511748ed..b11f0aa00c 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/DefaultTemplatesUtilities.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/DefaultTemplatesUtilities.cs @@ -9,24 +9,24 @@ using System.IO; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.DataAnnotations; -using Microsoft.AspNet.Mvc.DataAnnotations.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.DataAnnotations; +using Microsoft.AspNetCore.Mvc.DataAnnotations.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Microsoft.Extensions.WebEncoders.Testing; using Moq; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class DefaultTemplatesUtilities { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperCheckboxTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperCheckboxTest.cs index f8e140617c..2ba4eea499 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperCheckboxTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperCheckboxTest.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.WebEncoders.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperCheckBoxTest { @@ -94,7 +94,7 @@ namespace Microsoft.AspNet.Mvc.Rendering { // Arrange var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs index 517d3af000..11c603b007 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs @@ -3,10 +3,10 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Test the class. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayTextTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayTextTest.cs index a74c7aebed..1adc9e2dc2 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayTextTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperDisplayTextTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Test the and diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormExtensionsTest.cs index 1bbf49370a..aaefe9ccbb 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormExtensionsTest.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Tests the 's and diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs index fbfea95fd8..c7ba1cf768 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs @@ -6,14 +6,14 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Encodings.Web; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Tests the 's and diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperHiddenTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperHiddenTest.cs index abf284d263..9ecb2472b9 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperHiddenTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperHiddenTest.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperHiddenTest { @@ -405,7 +405,7 @@ namespace Microsoft.AspNet.Mvc.Rendering { "class", "some-class"} }; var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLabelExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLabelExtensionsTest.cs index b699936368..6e73ba0d55 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLabelExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLabelExtensionsTest.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Xunit; -namespace Microsoft.AspNet.Mvc.Core +namespace Microsoft.AspNetCore.Mvc.Core { /// /// Test the class. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLinkGenerationTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLinkGenerationTest.cs index 77e2c9cf8c..3339241361 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLinkGenerationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperLinkGenerationTest.cs @@ -3,13 +3,13 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.Extensions.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { /// /// Tests the 's link generation methods. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperNameExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperNameExtensionsTest.cs index 03a1dc877b..25d43e0fe0 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperNameExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperNameExtensionsTest.cs @@ -4,14 +4,14 @@ using System; using System.Collections.Generic; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Metadata; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Core +namespace Microsoft.AspNetCore.Mvc.Core { /// /// Test the class. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPartialExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPartialExtensionsTest.cs index c35cc434e6..54e759a57c 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPartialExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPartialExtensionsTest.cs @@ -4,15 +4,15 @@ using System; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperPartialExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPasswordTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPasswordTest.cs index 03f564207e..76cc0acc5c 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPasswordTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperPasswordTest.cs @@ -5,13 +5,13 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq.Expressions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperPasswordTest { @@ -132,7 +132,7 @@ namespace Microsoft.AspNet.Mvc.Rendering var name = string.Empty; var value = string.Empty; var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperSelectTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperSelectTest.cs index 70d1e72ef5..50ecb5e492 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperSelectTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperSelectTest.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperSelectTest { @@ -374,7 +374,7 @@ namespace Microsoft.AspNet.Mvc.Rendering { // Arrange var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; var helper = DefaultTemplatesUtilities.GetHtmlHelper(); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperTest.cs index c97b8f515a..5b89516068 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValidationSummaryTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValidationSummaryTest.cs index 30b01305d2..2d4377c5de 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValidationSummaryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValidationSummaryTest.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.TestCommon; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlHelperValidationSummaryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValueTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValueTest.cs index f6f3310ad4..6af76f7b17 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValueTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperValueTest.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// /// Test the and methods. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlStringTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlStringTest.cs index 29a479f899..ca12331ccc 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlStringTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlStringTest.cs @@ -5,7 +5,7 @@ using System.IO; using Microsoft.Extensions.WebEncoders.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class HtmlStringTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TagBuilderTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TagBuilderTest.cs index b38f143010..8d2198dc59 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TagBuilderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TagBuilderTest.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.WebEncoders.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.Core.Rendering +namespace Microsoft.AspNetCore.Mvc.Core.Rendering { public class TagBuilderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TestResources.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TestResources.cs index 8d7a556c7f..5c5b711090 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TestResources.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/TestResources.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ViewFeatures.Test; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Test; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { // Wrap resources to make them available as public properties for [Display]. That attribute does not support // internal properties. diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/ViewContextTests.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/ViewContextTests.cs index cf5f507fb2..f5c6745902 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/ViewContextTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/ViewContextTests.cs @@ -3,17 +3,17 @@ using System.IO; using System.Text; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNetCore.Mvc.Rendering { public class ViewContextTests { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/SkipStatusCodePagesAttributeTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/SkipStatusCodePagesAttributeTest.cs index 5db66d30df..de74c31d63 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/SkipStatusCodePagesAttributeTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/SkipStatusCodePagesAttributeTest.cs @@ -1,15 +1,15 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Diagnostics; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Diagnostics; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.Core.Test +namespace Microsoft.AspNetCore.Mvc.Core.Test { public class SkipStatusCodePagesAttributeTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/TestViewBufferScope.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/TestViewBufferScope.cs index 174c768933..4ffddf56f7 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/TestViewBufferScope.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/TestViewBufferScope.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.Mvc.ViewFeatures.Buffer +namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer { public class TestViewBufferScope : IViewBufferScope { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentResultTest.cs index 82e98a7af7..d7b0094811 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentResultTest.cs @@ -9,19 +9,19 @@ using System.Reflection; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Mvc.ViewFeatures.Buffer; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Buffer; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; @@ -30,7 +30,7 @@ using Microsoft.Extensions.WebEncoders.Testing; using Microsoft.Net.Http.Headers; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ViewComponentResultTest { @@ -510,7 +510,7 @@ namespace Microsoft.AspNet.Mvc params ViewComponentDescriptor[] descriptors) { var httpContext = new DefaultHttpContext(); - var diagnosticSource = new DiagnosticListener("Microsoft.AspNet"); + var diagnosticSource = new DiagnosticListener("Microsoft.AspNetCore"); if (diagnosticListener != null) { diagnosticSource.SubscribeWithAdapter(diagnosticListener); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentTests.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentTests.cs index a791979502..37c456e8ad 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponentTests.cs @@ -2,15 +2,15 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.Encodings.Web; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewFeatures; #if !DNXCORE50 -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; #endif using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ViewComponentTests { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ContentViewComponentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ContentViewComponentResultTest.cs index e950168fbc..eb422e9766 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ContentViewComponentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ContentViewComponentResultTest.cs @@ -3,19 +3,19 @@ using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ContentViewComponentResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentActivatorTests.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentActivatorTests.cs index 67957a052a..9af87ed450 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentActivatorTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentActivatorTests.cs @@ -5,7 +5,7 @@ using System; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public class DefaultViewComponentActivatorTests { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs index 80d9df3c76..6cc2c58461 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs @@ -6,10 +6,10 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public class DefaultViewComponentDescriptorProviderTest { @@ -25,7 +25,7 @@ namespace Microsoft.AspNet.Mvc.ViewComponents // Assert var descriptor = Assert.Single(descriptors); Assert.Same(typeof(ConventionsViewComponent), descriptor.Type); - Assert.Equal("Microsoft.AspNet.Mvc.ViewComponents.Conventions", descriptor.FullName); + Assert.Equal("Microsoft.AspNetCore.Mvc.ViewComponents.Conventions", descriptor.FullName); Assert.Equal("Conventions", descriptor.ShortName); Assert.Same(typeof(ConventionsViewComponent).GetMethod("Invoke"), descriptor.MethodInfo); } diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentSelectorTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentSelectorTest.cs index dc51c3338e..12f16d8068 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentSelectorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/DefaultViewComponentSelectorTest.cs @@ -5,10 +5,10 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public class DefaultViewComponentSelectorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/HtmlContentViewComponentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/HtmlContentViewComponentResultTest.cs index 8772d5993a..5f61097ad4 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/HtmlContentViewComponentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/HtmlContentViewComponentResultTest.cs @@ -3,19 +3,19 @@ using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class HtmlContentViewComponentResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/JsonViewComponentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/JsonViewComponentResultTest.cs index 6dc39da368..a10efcaa00 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/JsonViewComponentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/JsonViewComponentResultTest.cs @@ -5,22 +5,22 @@ using System; using System.Collections.Generic; using System.IO; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Newtonsoft.Json; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class JsonViewComponentResultTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewComponentConventionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewComponentConventionsTest.cs index 480b451b62..ec37d26fe6 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewComponentConventionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewComponentConventionsTest.cs @@ -3,10 +3,10 @@ using System; using System.Reflection; -using Microsoft.AspNet.Mvc.ViewComponentConventionsTestClasses; +using Microsoft.AspNetCore.Mvc.ViewComponentConventionsTestClasses; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewComponents +namespace Microsoft.AspNetCore.Mvc.ViewComponents { public class ViewComponentConventionsTest { @@ -55,7 +55,7 @@ namespace Microsoft.AspNet.Mvc.ViewComponents } // These types need to be public/non-nested for validity of the test -namespace Microsoft.AspNet.Mvc.ViewComponentConventionsTestClasses +namespace Microsoft.AspNetCore.Mvc.ViewComponentConventionsTestClasses { public class PublicClass : ViewComponent { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewViewComponentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewViewComponentResultTest.cs index 2af1d3c1a2..46fb7bf774 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewViewComponentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewComponents/ViewViewComponentResultTest.cs @@ -8,20 +8,20 @@ using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class ViewViewComponentResultTest { @@ -510,7 +510,7 @@ namespace Microsoft.AspNet.Mvc ViewDataDictionary viewData, object diagnosticListener = null) { - var diagnosticSource = new DiagnosticListener("Microsoft.AspNet"); + var diagnosticSource = new DiagnosticListener("Microsoft.AspNetCore"); if (diagnosticListener == null) { diagnosticListener = new TestDiagnosticListener(); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewEngines/CompositeViewEngineTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewEngines/CompositeViewEngineTest.cs index 279bce1e95..036a8ed1d3 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewEngines/CompositeViewEngineTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewEngines/CompositeViewEngineTest.cs @@ -3,13 +3,13 @@ using System; using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewEngines +namespace Microsoft.AspNetCore.Mvc.ViewEngines { public class CompositeViewEngineTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/AttributeDictionaryTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/AttributeDictionaryTest.cs index 64125efcf6..d29e636726 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/AttributeDictionaryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/AttributeDictionaryTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -7,7 +7,7 @@ using System.Linq; using System.Threading.Tasks; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class AttributeDictionaryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultDisplayTemplatesTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultDisplayTemplatesTest.cs index d8034d19a6..3abd6b3cb0 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultDisplayTemplatesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultDisplayTemplatesTest.cs @@ -8,14 +8,14 @@ using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class DefaultDisplayTemplatesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultEditorTemplatesTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultEditorTemplatesTest.cs index 2a4f21a689..88c45bf00a 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultEditorTemplatesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultEditorTemplatesTest.cs @@ -9,19 +9,19 @@ using System.Linq; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class DefaultEditorTemplatesTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultHtmlGeneratorTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultHtmlGeneratorTest.cs index 0aaba5757b..cf91103335 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultHtmlGeneratorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/DefaultHtmlGeneratorTest.cs @@ -6,19 +6,19 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Encodings.Web; -using Microsoft.AspNet.Antiforgery; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Antiforgery; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class DefaultHtmlGeneratorTest { @@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures var modelExplorer = metadataProvider.GetModelExplorerForType(typeof(string), model: null); var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; @@ -101,7 +101,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures var modelExplorer = metadataProvider.GetModelExplorerForType(typeof(string), model: null); var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; @@ -130,7 +130,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures var modelExplorer = metadataProvider.GetModelExplorerForType(typeof(string), model: null); var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; @@ -158,7 +158,7 @@ namespace Microsoft.AspNet.Mvc.ViewFeatures var modelExplorer = metadataProvider.GetModelExplorerForType(typeof(string), model: null); var expected = "The name of an HTML field cannot be null or empty. Instead use methods " + - "Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNet.Mvc.Rendering." + + "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.Editor or Microsoft.AspNetCore.Mvc.Rendering." + "IHtmlHelper`1.EditorFor with a non-empty htmlFieldName argument value." + Environment.NewLine + "Parameter name: expression"; diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ExpressionMetadataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ExpressionMetadataProviderTest.cs index 1b5a2fd428..2e8897a3f6 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ExpressionMetadataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ExpressionMetadataProviderTest.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ExpressionMetadataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/HtmlContentWrapperTextWriterTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/HtmlContentWrapperTextWriterTest.cs index ba8ef6b97b..efc0bad74e 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/HtmlContentWrapperTextWriterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/HtmlContentWrapperTextWriterTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -8,11 +8,11 @@ using System.Linq; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Html; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Rendering; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class HtmlContentWrapperTextWriterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerExtensionsTest.cs index e5bb3e88e2..981aa72ed7 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerExtensionsTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ModelExplorerExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerTest.cs index 28976ef3cf..66bf38009d 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ModelExplorerTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ModelExplorerTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/PartialViewResultExecutorTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/PartialViewResultExecutorTest.cs index bf6e129ef1..821df622f9 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/PartialViewResultExecutorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/PartialViewResultExecutorTest.cs @@ -4,18 +4,18 @@ using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging.Testing; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class PartialViewResultExecutorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SaveTempDataFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SaveTempDataFilterTest.cs index cc50aa62c9..a5f02d4644 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SaveTempDataFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SaveTempDataFilterTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class SaveTempDataFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SessionStateTempDataProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SessionStateTempDataProviderTest.cs index 07ae31f176..84b11957cf 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SessionStateTempDataProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/SessionStateTempDataProviderTest.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class SessionStateTempDataProviderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/StringHtmlContentTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/StringHtmlContentTest.cs index 3a677f85e7..a6114e7f4f 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/StringHtmlContentTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/StringHtmlContentTest.cs @@ -5,7 +5,7 @@ using System.IO; using Microsoft.Extensions.WebEncoders.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class StringHtmlContentTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryFactoryTest.cs index 68e0f9df1e..3415fe5110 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryFactoryTest.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class TempDataDictionaryFactoryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryTest.cs index 508e2ff278..a7300a4adf 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/TempDataDictionaryTest.cs @@ -3,11 +3,11 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class TempDataDictionaryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryOfTModelTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryOfTModelTest.cs index b31ad7aa6e..1ffe0fbf72 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryOfTModelTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryOfTModelTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Internal; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataDictionaryOfTModelTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryTest.cs index d449c84a1c..c673f4e674 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataDictionaryTest.cs @@ -5,12 +5,12 @@ using System; using System.Collections; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.Extensions.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataDictionaryTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataOfTTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataOfTTest.cs index 839e908c3a..6297e7e0c8 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataOfTTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewDataOfTTest.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewDataOfTTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewExecutorTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewExecutorTest.cs index a6c5c47baf..63bdf73e63 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewExecutorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewExecutorTest.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -7,21 +7,21 @@ using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.TestCommon; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.TestCommon; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewExecutorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewResultExecutorTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewResultExecutorTest.cs index 8b0ff03888..f26010d639 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewResultExecutorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/ViewResultExecutorTest.cs @@ -4,18 +4,18 @@ using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging.Testing; using Microsoft.Net.Http.Headers; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.ViewFeatures +namespace Microsoft.AspNetCore.Mvc.ViewFeatures { public class ViewResultExecutorTest { diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewResultTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewResultTest.cs index dba0af8c3a..57560476bd 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewResultTest.cs @@ -5,20 +5,20 @@ using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewEngines; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { // These tests cover the logic included in ViewResult.ExecuteResultAsync - see ViewResultExecutorTest // and ViewExecutorTest for more comprehensive tests. @@ -226,7 +226,7 @@ namespace Microsoft.AspNet.Mvc new TestHttpResponseStreamWriterFactory(), new CompositeViewEngine(options), new TempDataDictionaryFactory(new SessionStateTempDataProvider()), - new DiagnosticListener("Microsoft.AspNet"), + new DiagnosticListener("Microsoft.AspNetCore"), NullLoggerFactory.Instance); var services = new ServiceCollection(); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/project.json b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/project.json index 288913cae2..a8236e5dec 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/project.json +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/project.json @@ -4,18 +4,18 @@ "keyFile": "../../tools/Key.snk" }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestCommon": { + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestCommon": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources": { + "Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources": { "version": "6.0.0-*", "type": "build" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.DiagnosticAdapter": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerActionDiscoveryTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerActionDiscoveryTest.cs index a4aadcf6c6..48dec2296a 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerActionDiscoveryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerActionDiscoveryTest.cs @@ -4,16 +4,16 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; using Microsoft.Extensions.Options; using Moq; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerTest.cs index 7e73d99c42..653ba37eed 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerTest.cs @@ -6,13 +6,13 @@ using System.Net; using System.Net.Http; using System.Security.Claims; using System.Text; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; using Newtonsoft.Json; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/BadRequestErrorMessageResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/BadRequestErrorMessageResultTest.cs index 61ae55d466..be2953a861 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/BadRequestErrorMessageResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/BadRequestErrorMessageResultTest.cs @@ -3,20 +3,20 @@ using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Internal; namespace System.Web.Http { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ConflictResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ConflictResultTest.cs index d4dba2486e..422e2b8d49 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ConflictResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ConflictResultTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/DefaultContentNegotiatorTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/DefaultContentNegotiatorTest.cs index 960a49392d..833afd8225 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/DefaultContentNegotiatorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/DefaultContentNegotiatorTest.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Net.Http.Formatting.Mocks; using System.Net.Http.Headers; using System.Text; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Microsoft.TestCommon; using Newtonsoft.Json.Linq; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ExceptionResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ExceptionResultTest.cs index bd723d0d5b..522188899d 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ExceptionResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ExceptionResultTest.cs @@ -3,14 +3,14 @@ using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/FormDataCollectionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/FormDataCollectionExtensionsTest.cs index b678d68d53..6a3c874e57 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/FormDataCollectionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/FormDataCollectionExtensionsTest.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Net.Http.Formatting; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class FormDataCollectionExtensionsTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpErrorTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpErrorTest.cs index 7f006c1a66..04ad65aa00 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpErrorTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpErrorTest.cs @@ -4,8 +4,8 @@ using System.Collections.Generic; using System.IO; using System.Net.Http.Formatting; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Testing.xunit; using Newtonsoft.Json.Linq; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageExtensionsTest.cs index 10c4027866..a247efe83f 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageExtensionsTest.cs @@ -4,10 +4,10 @@ using System.Collections.Generic; using System.Net.Http.Formatting; using System.Net.Http.Headers; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.WebApiCompatShim; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Options; using Moq; using Xunit; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageFeatureTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageFeatureTest.cs index 67825acc2c..9f56f1eaac 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageFeatureTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageFeatureTest.cs @@ -5,12 +5,12 @@ using System.IO; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpRequestMessageFeatureTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageModelBinderTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageModelBinderTest.cs index 49b160d209..643ab53e53 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageModelBinderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageModelBinderTest.cs @@ -1,15 +1,15 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Net.Http; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpRequestMessageModelBinderTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionActionFilterTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionActionFilterTest.cs index acead1c524..2c94ea1530 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionActionFilterTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionActionFilterTest.cs @@ -5,14 +5,14 @@ using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Routing; using Moq; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpResponseExceptionActionFilterTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionTest.cs index cd1b53a367..2b34cd1f87 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseExceptionTest.cs @@ -4,10 +4,10 @@ using System.Net; using System.Net.Http; using System.Web.Http; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class HttpResponseExceptionTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseMessageOutputFormatterTests.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseMessageOutputFormatterTests.cs index 170bea7ebd..fa69be8b29 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseMessageOutputFormatterTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/HttpResponseMessageOutputFormatterTests.cs @@ -6,16 +6,16 @@ using System.IO; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.WebApiCompatShim; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Testing.xunit; using Moq; using Moq.Protected; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShimTest +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShimTest { public class HttpResponseMessageOutputFormatterTests { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InternalServerErrorResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InternalServerErrorResultTest.cs index d09ef2755d..afa7c539b3 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InternalServerErrorResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InternalServerErrorResultTest.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InvalidModelStateResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InvalidModelStateResultTest.cs index e641e44c35..2e1d11e23e 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InvalidModelStateResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/InvalidModelStateResultTest.cs @@ -3,15 +3,15 @@ using System.IO; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/NegotiatedContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/NegotiatedContentResultTest.cs index 96a784ae46..9b12b3afb4 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/NegotiatedContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/NegotiatedContentResultTest.cs @@ -4,13 +4,13 @@ using System.IO; using System.Net; using System.Threading.Tasks; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.Formatters; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging.Testing; using Microsoft.Extensions.Options; diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/OverloadActionConstraintTest.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/OverloadActionConstraintTest.cs index 5257dd743a..ac5ea1c7cb 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/OverloadActionConstraintTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/OverloadActionConstraintTest.cs @@ -3,15 +3,15 @@ using System.Collections.Generic; using System.Web.Http; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; -using Microsoft.AspNet.Mvc.ActionConstraints; -using Microsoft.AspNet.Mvc.ModelBinding; -using Microsoft.AspNet.Routing; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Routing; using Xunit; -namespace Microsoft.AspNet.Mvc.WebApiCompatShim +namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim { public class OverloadActionConstraintTest { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestHttpResponseStreamWriterFactory.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestHttpResponseStreamWriterFactory.cs index 3e9f9c0b62..38ef3c702c 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestHttpResponseStreamWriterFactory.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestHttpResponseStreamWriterFactory.cs @@ -1,12 +1,12 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Internal; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Internal; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNetCore.Mvc { public class TestHttpResponseStreamWriterFactory : IHttpResponseStreamWriterFactory { diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/project.json b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/project.json index 72872a4bd3..637acfa3b1 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/project.json +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/project.json @@ -3,9 +3,9 @@ "warningsAsErrors": true }, "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Mvc.WebApiCompatShim": "6.0.0-*", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Mvc.WebApiCompatShim": "6.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" diff --git a/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs b/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs index 245a9b61a7..db16c34f60 100644 --- a/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs +++ b/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs @@ -4,9 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApiExplorer; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApiExplorer; +using Microsoft.AspNetCore.Mvc.Filters; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs b/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs index 906e974be0..9b6be36b43 100644 --- a/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs +++ b/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs @@ -3,7 +3,7 @@ using System; using System.Reflection; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs b/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs index 6b3cc728b8..bd19f1f92a 100644 --- a/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs +++ b/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs index c8d128e41f..95de9f1497 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs index ef0c00ab51..e6e39a5cad 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs index 302801efed..7aa4467540 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs index 4c34e0dba0..a422553574 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite.Controllers { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs index 5ef84d0b1d..d4aea83bc3 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs index 837fdc4af0..78ba0af5ed 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs index 1629961385..8c6a946710 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs index 941cc17d21..f509278696 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs index 2d084b9933..dd11097d18 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs index ce0e5fdf51..5e6fb50239 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs index 8d08563899..d29a11bc5f 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs index 80835d1233..7b674cb022 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs index 22c4dc7c99..ceeaf65748 100644 --- a/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs +++ b/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs b/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs index eab14407a6..beaa134a5f 100644 --- a/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs +++ b/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs b/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs index e677324039..02065b5f1f 100644 --- a/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs +++ b/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs b/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs index 0ef87f3c3a..9b2f5b9829 100644 --- a/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs +++ b/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApiExplorerWebSite { diff --git a/test/WebSites/ApiExplorerWebSite/Startup.cs b/test/WebSites/ApiExplorerWebSite/Startup.cs index 2bbd694bdf..c10d77ca64 100644 --- a/test/WebSites/ApiExplorerWebSite/Startup.cs +++ b/test/WebSites/ApiExplorerWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; diff --git a/test/WebSites/ApiExplorerWebSite/hosting.json b/test/WebSites/ApiExplorerWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/ApiExplorerWebSite/hosting.json +++ b/test/WebSites/ApiExplorerWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/ApiExplorerWebSite/project.json b/test/WebSites/ApiExplorerWebSite/project.json index c6f191ebb1..8efbe33fe9 100644 --- a/test/WebSites/ApiExplorerWebSite/project.json +++ b/test/WebSites/ApiExplorerWebSite/project.json @@ -6,11 +6,11 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs index a9279f0a75..7384251025 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs index 6f2bfa7072..a57701f5c5 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs index 25552ba464..bb94f37756 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.Controllers; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs index 8a5892cc3a..2941082236 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/LisenceController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/LisenceController.cs index 4753d062b2..ed428934f5 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/LisenceController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/LisenceController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ApplicationModelWebSite.Controllers { diff --git a/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs b/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs index e167f0a05e..136f77b7b6 100644 --- a/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs +++ b/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs b/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs index 19db23aa0c..1056bddb1e 100644 --- a/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs +++ b/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite diff --git a/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs b/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs index 6084c9a9e0..39f9827063 100644 --- a/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs +++ b/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite diff --git a/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs b/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs index 0c0d1e4e1f..f1442b5a07 100644 --- a/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs +++ b/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite diff --git a/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs b/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs index 036436bfe1..b1a3ed90e3 100644 --- a/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs +++ b/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs b/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs index ce2dd79e67..8cdd4489e0 100644 --- a/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs +++ b/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite { diff --git a/test/WebSites/ApplicationModelWebSite/Startup.cs b/test/WebSites/ApplicationModelWebSite/Startup.cs index 8c4c141671..5098b9f97b 100644 --- a/test/WebSites/ApplicationModelWebSite/Startup.cs +++ b/test/WebSites/ApplicationModelWebSite/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace ApplicationModelWebSite diff --git a/test/WebSites/ApplicationModelWebSite/hosting.json b/test/WebSites/ApplicationModelWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/ApplicationModelWebSite/hosting.json +++ b/test/WebSites/ApplicationModelWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/ApplicationModelWebSite/project.json b/test/WebSites/ApplicationModelWebSite/project.json index 05d16de0a0..e0c2d9fd59 100644 --- a/test/WebSites/ApplicationModelWebSite/project.json +++ b/test/WebSites/ApplicationModelWebSite/project.json @@ -6,10 +6,10 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs b/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs index 322c522627..b865321f47 100644 --- a/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs +++ b/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs @@ -3,7 +3,7 @@ using System; using System.Threading; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc.Abstractions; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs b/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs index 88c64e0820..fb4629b805 100644 --- a/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs +++ b/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Areas.Area1.Controllers { diff --git a/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs b/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs index d2358f20d5..04a33e129f 100644 --- a/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs +++ b/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Areas.Area1.Controllers { diff --git a/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs b/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs index 1877f376e4..41401e86ee 100644 --- a/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs +++ b/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using BasicWebSite.Models; namespace BasicWebSite.Ares.Area2.Controllers diff --git a/test/WebSites/BasicWebSite/Components/JsonTextInView.cs b/test/WebSites/BasicWebSite/Components/JsonTextInView.cs index 22e5332cf9..90cdc3a513 100644 --- a/test/WebSites/BasicWebSite/Components/JsonTextInView.cs +++ b/test/WebSites/BasicWebSite/Components/JsonTextInView.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Components { diff --git a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs index c0dfd7b7eb..eb9a0a610c 100644 --- a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ActionConstraints { diff --git a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs index 8462f9fc08..426c02240e 100644 --- a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ActionConstraints { diff --git a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs index e95862c33a..d2c64f8b21 100644 --- a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ActionConstraints { diff --git a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs index 5d5b904250..49aaf03767 100644 --- a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ActionConstraints { diff --git a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs index 2c7ac28e3d..a8380a849e 100644 --- a/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ActionConstraints { diff --git a/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs b/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs index f522a3a766..4123e97a7f 100644 --- a/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs +++ b/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/Appointments.cs b/test/WebSites/BasicWebSite/Controllers/Appointments.cs index 14832f6b5c..b34c70be79 100644 --- a/test/WebSites/BasicWebSite/Controllers/Appointments.cs +++ b/test/WebSites/BasicWebSite/Controllers/Appointments.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs index b09a78adc6..7227e77944 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs index 785a76afcc..272fca98f4 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Formatters; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs index 1b33da9c7b..34a1b22136 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Formatters; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs index 36ee0dbc28..82b2a7fb99 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs index a010b6d027..c0882c99d4 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs index 7216de3843..5ce41a0b47 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs index e815167277..31c7bd66af 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Formatters; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs index 20ba77d5bc..aca624494d 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs @@ -3,9 +3,9 @@ using BasicWebSite.Formatters; using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; using Newtonsoft.Json; namespace BasicWebSite.Controllers.ContentNegotiation diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs index aa002944f5..5ffa16fa9e 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Formatters; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs index 0a8c623c02..3fdc37844c 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Formatters; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs index 36d6373c72..1d0fe2b002 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs index 79029d5806..510c0ce725 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs @@ -3,8 +3,8 @@ using BasicWebSite.Formatters; using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs index 27f0d8fda6..08450ef53b 100644 --- a/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs +++ b/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation { diff --git a/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs b/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs index a93886da2c..f0b2f166fe 100644 --- a/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs +++ b/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/HomeController.cs b/test/WebSites/BasicWebSite/Controllers/HomeController.cs index e169f34ddd..66ff223950 100644 --- a/test/WebSites/BasicWebSite/Controllers/HomeController.cs +++ b/test/WebSites/BasicWebSite/Controllers/HomeController.cs @@ -3,9 +3,9 @@ using System.Threading.Tasks; using BasicWebSite.Models; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/JsonResultController.cs b/test/WebSites/BasicWebSite/Controllers/JsonResultController.cs index 1b7f3311de..a533950a10 100644 --- a/test/WebSites/BasicWebSite/Controllers/JsonResultController.cs +++ b/test/WebSites/BasicWebSite/Controllers/JsonResultController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; diff --git a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs index 679af7dfae..990fdc3ebb 100644 --- a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs +++ b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.LinkGeneration { diff --git a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs index c906201917..a25fc4daf8 100644 --- a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs +++ b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.LinkGeneration { diff --git a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs index 0a90ad8e44..4f2571ef4c 100644 --- a/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs +++ b/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.LinkGeneration { diff --git a/test/WebSites/BasicWebSite/Controllers/MonitorController.cs b/test/WebSites/BasicWebSite/Controllers/MonitorController.cs index 5342043014..5732b9ac4d 100644 --- a/test/WebSites/BasicWebSite/Controllers/MonitorController.cs +++ b/test/WebSites/BasicWebSite/Controllers/MonitorController.cs @@ -4,8 +4,8 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Abstractions; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Controllers/OrderController.cs b/test/WebSites/BasicWebSite/Controllers/OrderController.cs index 141d3e285e..de0d2334ee 100644 --- a/test/WebSites/BasicWebSite/Controllers/OrderController.cs +++ b/test/WebSites/BasicWebSite/Controllers/OrderController.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Reflection; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs b/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs index 54973d1296..9ba6a0967a 100644 --- a/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs +++ b/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BasicWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs b/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs index 33b3537a8e..0f8e458f30 100644 --- a/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs +++ b/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs b/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs index 5c95d8f149..e7a89377b3 100644 --- a/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs +++ b/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Controllers/RoutingController.cs b/test/WebSites/BasicWebSite/Controllers/RoutingController.cs index 9950c0ac62..34be10972f 100644 --- a/test/WebSites/BasicWebSite/Controllers/RoutingController.cs +++ b/test/WebSites/BasicWebSite/Controllers/RoutingController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Controllers/SpecificFormattersController.cs b/test/WebSites/BasicWebSite/Controllers/SpecificFormattersController.cs index e3e5184797..103f3ef3e6 100644 --- a/test/WebSites/BasicWebSite/Controllers/SpecificFormattersController.cs +++ b/test/WebSites/BasicWebSite/Controllers/SpecificFormattersController.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Newtonsoft.Json; diff --git a/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs b/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs index 0d43d64f5a..b11d6116f6 100644 --- a/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs +++ b/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Controllers/TempDataController.cs b/test/WebSites/BasicWebSite/Controllers/TempDataController.cs index 23699ae781..79acc4e752 100644 --- a/test/WebSites/BasicWebSite/Controllers/TempDataController.cs +++ b/test/WebSites/BasicWebSite/Controllers/TempDataController.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Controllers/UsersController.cs b/test/WebSites/BasicWebSite/Controllers/UsersController.cs index 61bbbce835..69f4f9d2bf 100644 --- a/test/WebSites/BasicWebSite/Controllers/UsersController.cs +++ b/test/WebSites/BasicWebSite/Controllers/UsersController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers { diff --git a/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs b/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs index ca3e552e17..88bf1f27e2 100644 --- a/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs +++ b/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.ApplicationModels; +using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs b/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs index 7d089b3099..5d46cc63a4 100644 --- a/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs +++ b/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs @@ -3,8 +3,8 @@ using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace BasicWebSite.Formatters diff --git a/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs b/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs index 83cfc30f5a..19ada47c7b 100644 --- a/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs +++ b/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs @@ -3,8 +3,8 @@ using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace BasicWebSite.Formatters diff --git a/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs b/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs index 94bf957ec7..f54bb574fe 100644 --- a/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs +++ b/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs @@ -6,8 +6,8 @@ using System.Reflection; using System.Text; using System.Threading.Tasks; using BasicWebSite.Models; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace BasicWebSite.Formatters diff --git a/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs b/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs index e84a50e499..31caee654b 100644 --- a/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs +++ b/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs @@ -6,8 +6,8 @@ using System.Reflection; using System.Text; using System.Threading.Tasks; using BasicWebSite.Models; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace BasicWebSite.Formatters diff --git a/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs b/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs index eb07db6699..88bce4a8ec 100644 --- a/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs +++ b/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Models { diff --git a/test/WebSites/BasicWebSite/RequestIdMiddleware.cs b/test/WebSites/BasicWebSite/RequestIdMiddleware.cs index e9f6114810..22d606ea91 100644 --- a/test/WebSites/BasicWebSite/RequestIdMiddleware.cs +++ b/test/WebSites/BasicWebSite/RequestIdMiddleware.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace BasicWebSite diff --git a/test/WebSites/BasicWebSite/RequestIdService.cs b/test/WebSites/BasicWebSite/RequestIdService.cs index 9d610ef582..5b294796bd 100644 --- a/test/WebSites/BasicWebSite/RequestIdService.cs +++ b/test/WebSites/BasicWebSite/RequestIdService.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/RequestIdViewComponent.cs b/test/WebSites/BasicWebSite/RequestIdViewComponent.cs index bc817cf39a..4ba0f7937e 100644 --- a/test/WebSites/BasicWebSite/RequestIdViewComponent.cs +++ b/test/WebSites/BasicWebSite/RequestIdViewComponent.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs b/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs index d602be6ad0..3a5be47cf4 100644 --- a/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs +++ b/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Concurrent; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.Extensions.DependencyInjection; namespace BasicWebSite diff --git a/test/WebSites/BasicWebSite/RequestScopedFilter.cs b/test/WebSites/BasicWebSite/RequestScopedFilter.cs index 3dbf197363..033cddbbc7 100644 --- a/test/WebSites/BasicWebSite/RequestScopedFilter.cs +++ b/test/WebSites/BasicWebSite/RequestScopedFilter.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs b/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs index c4ef85a06d..f1fcff3623 100644 --- a/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs +++ b/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace BasicWebSite { diff --git a/test/WebSites/BasicWebSite/Startup.cs b/test/WebSites/BasicWebSite/Startup.cs index 8b04d33a25..b050d4524f 100644 --- a/test/WebSites/BasicWebSite/Startup.cs +++ b/test/WebSites/BasicWebSite/Startup.cs @@ -1,11 +1,11 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; -using Microsoft.AspNet.Mvc.Abstractions; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; +using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.Extensions.DependencyInjection; namespace BasicWebSite diff --git a/test/WebSites/BasicWebSite/hosting.json b/test/WebSites/BasicWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/BasicWebSite/hosting.json +++ b/test/WebSites/BasicWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/BasicWebSite/project.json b/test/WebSites/BasicWebSite/project.json index 49618e45ba..fee91f80ff 100644 --- a/test/WebSites/BasicWebSite/project.json +++ b/test/WebSites/BasicWebSite/project.json @@ -6,12 +6,12 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Session": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Session": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs b/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs index d5438c32ad..62564175d5 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs b/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs index 39edafda44..12beb114fa 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Routing; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs b/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs index 6e056e1db7..840e891e97 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs b/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs index 9a06c8a5a2..e0d5cebd88 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs b/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs index 6f95acb8cc..14cf643075 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs b/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs index 6a4ccfcd85..0ece0dc75c 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs b/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs index bab58375fa..6b4a752f6a 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs b/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs index e157355425..a4108eaf8c 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs b/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs index 1c6e83099a..c44e7548bb 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs +++ b/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/project.json b/test/WebSites/ControllersFromServicesClassLibrary/project.json index d7134d378a..6d38e64dd8 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/project.json +++ b/test/WebSites/ControllersFromServicesClassLibrary/project.json @@ -1,6 +1,6 @@ { "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs b/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs index 2d231ff18c..ff89bb3f1c 100644 --- a/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs +++ b/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesWebSite { diff --git a/test/WebSites/ControllersFromServicesWebSite/Startup.cs b/test/WebSites/ControllersFromServicesWebSite/Startup.cs index 3b2b0058a9..83edd12cc9 100644 --- a/test/WebSites/ControllersFromServicesWebSite/Startup.cs +++ b/test/WebSites/ControllersFromServicesWebSite/Startup.cs @@ -3,10 +3,10 @@ using System.Reflection; using ControllersFromServicesClassLibrary; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.DependencyInjection; namespace ControllersFromServicesWebSite diff --git a/test/WebSites/ControllersFromServicesWebSite/hosting.json b/test/WebSites/ControllersFromServicesWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/ControllersFromServicesWebSite/hosting.json +++ b/test/WebSites/ControllersFromServicesWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/ControllersFromServicesWebSite/project.json b/test/WebSites/ControllersFromServicesWebSite/project.json index 970236bf2f..45efa13862 100644 --- a/test/WebSites/ControllersFromServicesWebSite/project.json +++ b/test/WebSites/ControllersFromServicesWebSite/project.json @@ -7,10 +7,10 @@ }, "dependencies": { "ControllersFromServicesClassLibrary": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/CorsWebSite/Controllers/BlogController.cs b/test/WebSites/CorsWebSite/Controllers/BlogController.cs index 5dd901dc95..cfab955ec1 100644 --- a/test/WebSites/CorsWebSite/Controllers/BlogController.cs +++ b/test/WebSites/CorsWebSite/Controllers/BlogController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Cors; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Cors; +using Microsoft.AspNetCore.Mvc; namespace CorsWebSite { diff --git a/test/WebSites/CorsWebSite/Controllers/StoreController.cs b/test/WebSites/CorsWebSite/Controllers/StoreController.cs index ce25ba0bf0..ec4dd879d9 100644 --- a/test/WebSites/CorsWebSite/Controllers/StoreController.cs +++ b/test/WebSites/CorsWebSite/Controllers/StoreController.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Cors; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Cors; +using Microsoft.AspNetCore.Mvc; namespace CorsWebSite.Controllers { diff --git a/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs b/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs index 0d6c6b5b0f..4368e45793 100644 --- a/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs +++ b/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace CorsWebSite { diff --git a/test/WebSites/CorsWebSite/Startup.cs b/test/WebSites/CorsWebSite/Startup.cs index c639656f21..6d08ccea36 100644 --- a/test/WebSites/CorsWebSite/Startup.cs +++ b/test/WebSites/CorsWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Cors.Infrastructure; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Cors.Infrastructure; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace CorsWebSite diff --git a/test/WebSites/CorsWebSite/hosting.json b/test/WebSites/CorsWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/CorsWebSite/hosting.json +++ b/test/WebSites/CorsWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/CorsWebSite/project.json b/test/WebSites/CorsWebSite/project.json index 620b6c6185..2d8401ab69 100644 --- a/test/WebSites/CorsWebSite/project.json +++ b/test/WebSites/CorsWebSite/project.json @@ -1,4 +1,4 @@ -{ +{ "commands": { "web": "CorsWebSite" }, @@ -6,12 +6,12 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Cors": "6.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Cors": "6.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs b/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs index 5aa67c97cb..39e2c65d45 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs +++ b/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace ErrorPageMiddlewareWebSite { diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs b/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs index 18c5b4a21b..e88cda550f 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs +++ b/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace ErrorPageMiddlewareWebSite diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/hosting.json b/test/WebSites/ErrorPageMiddlewareWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/hosting.json +++ b/test/WebSites/ErrorPageMiddlewareWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/project.json b/test/WebSites/ErrorPageMiddlewareWebSite/project.json index 836702def4..f1226638df 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/project.json +++ b/test/WebSites/ErrorPageMiddlewareWebSite/project.json @@ -6,11 +6,11 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Diagnostics": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs b/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs index 5bf1a194c0..5db977a8d2 100644 --- a/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs +++ b/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs @@ -3,7 +3,7 @@ using System.IO; using System.Text; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.PlatformAbstractions; namespace FilesWebSite diff --git a/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs b/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs index 701550b7d7..5b471886b7 100644 --- a/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs +++ b/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.FileProviders; namespace FilesWebSite diff --git a/test/WebSites/FilesWebSite/Startup.cs b/test/WebSites/FilesWebSite/Startup.cs index 984dd4e6b2..4a733f1e55 100644 --- a/test/WebSites/FilesWebSite/Startup.cs +++ b/test/WebSites/FilesWebSite/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace FilesWebSite diff --git a/test/WebSites/FilesWebSite/hosting.json b/test/WebSites/FilesWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/FilesWebSite/hosting.json +++ b/test/WebSites/FilesWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/FilesWebSite/project.json b/test/WebSites/FilesWebSite/project.json index e1fd8360c0..20b074a2b1 100644 --- a/test/WebSites/FilesWebSite/project.json +++ b/test/WebSites/FilesWebSite/project.json @@ -7,10 +7,10 @@ }, "resource": "EmbeddedResources/**", "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*" }, "frameworks": { diff --git a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs index 8f9f54ae3d..9937f1abb7 100644 --- a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs +++ b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.Encodings.Web; -using Microsoft.AspNet.Authentication; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/BasicAuthenticationHandler.cs b/test/WebSites/FiltersWebSite/BasicAuthenticationHandler.cs index 933abdb967..9b1f2d84b1 100644 --- a/test/WebSites/FiltersWebSite/BasicAuthenticationHandler.cs +++ b/test/WebSites/FiltersWebSite/BasicAuthenticationHandler.cs @@ -4,9 +4,9 @@ using System; using System.Security.Claims; using System.Threading.Tasks; -using Microsoft.AspNet.Authentication; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Http.Authentication; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Authentication; using Microsoft.Extensions.Options; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/BasicOptions.cs b/test/WebSites/FiltersWebSite/BasicOptions.cs index 30cd18115b..d7cb4c3f06 100644 --- a/test/WebSites/FiltersWebSite/BasicOptions.cs +++ b/test/WebSites/FiltersWebSite/BasicOptions.cs @@ -4,9 +4,9 @@ using System; using System.Security.Claims; using System.Threading.Tasks; -using Microsoft.AspNet.Authentication; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Http.Authentication; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http.Authentication; using Microsoft.Extensions.Options; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/Controllers/ActionFilterController.cs b/test/WebSites/FiltersWebSite/Controllers/ActionFilterController.cs index cfe3a27d6b..41971b461d 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ActionFilterController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ActionFilterController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/AnonymousController.cs b/test/WebSites/FiltersWebSite/Controllers/AnonymousController.cs index 41c3849323..b70ad1f435 100644 --- a/test/WebSites/FiltersWebSite/Controllers/AnonymousController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/AnonymousController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/AuthorizeUserController.cs b/test/WebSites/FiltersWebSite/Controllers/AuthorizeUserController.cs index f2e7aa272e..704c606f7a 100644 --- a/test/WebSites/FiltersWebSite/Controllers/AuthorizeUserController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/AuthorizeUserController.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Authorization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Authorization; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/DummyClassController.cs b/test/WebSites/FiltersWebSite/Controllers/DummyClassController.cs index 87abf0b963..39dc423fd1 100644 --- a/test/WebSites/FiltersWebSite/Controllers/DummyClassController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/DummyClassController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/ExceptionController.cs b/test/WebSites/FiltersWebSite/Controllers/ExceptionController.cs index ec3203f01f..4aeaa13e88 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ExceptionController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ExceptionController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/ExceptionOrderController.cs b/test/WebSites/FiltersWebSite/Controllers/ExceptionOrderController.cs index 4580c6ef46..628a0f18af 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ExceptionOrderController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ExceptionOrderController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/HomeController.cs b/test/WebSites/FiltersWebSite/Controllers/HomeController.cs index 108cb062d4..df14cf0a72 100644 --- a/test/WebSites/FiltersWebSite/Controllers/HomeController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/HomeController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite.Controllers { diff --git a/test/WebSites/FiltersWebSite/Controllers/JsonOnlyController.cs b/test/WebSites/FiltersWebSite/Controllers/JsonOnlyController.cs index f7829da5e8..006e332857 100644 --- a/test/WebSites/FiltersWebSite/Controllers/JsonOnlyController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/JsonOnlyController.cs @@ -3,9 +3,9 @@ using System; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; diff --git a/test/WebSites/FiltersWebSite/Controllers/ProductsController.cs b/test/WebSites/FiltersWebSite/Controllers/ProductsController.cs index 3250bbf880..5bf27b7905 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ProductsController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ProductsController.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/RandomNumberController.cs b/test/WebSites/FiltersWebSite/Controllers/RandomNumberController.cs index 85fa7440a4..7c26dfe766 100644 --- a/test/WebSites/FiltersWebSite/Controllers/RandomNumberController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/RandomNumberController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/ResourceFilterController.cs b/test/WebSites/FiltersWebSite/Controllers/ResourceFilterController.cs index 0ee2308cf9..d48cc54f4b 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ResourceFilterController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ResourceFilterController.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace FiltersWebSite.Controllers { diff --git a/test/WebSites/FiltersWebSite/Controllers/ResultFilterController.cs b/test/WebSites/FiltersWebSite/Controllers/ResultFilterController.cs index 68bec7d200..78aec66c33 100644 --- a/test/WebSites/FiltersWebSite/Controllers/ResultFilterController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/ResultFilterController.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Controllers/XmlSerializerController.cs b/test/WebSites/FiltersWebSite/Controllers/XmlSerializerController.cs index fe8f76f8de..b5840e4aa6 100644 --- a/test/WebSites/FiltersWebSite/Controllers/XmlSerializerController.cs +++ b/test/WebSites/FiltersWebSite/Controllers/XmlSerializerController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/ErrorReporterMiddleware.cs b/test/WebSites/FiltersWebSite/ErrorReporterMiddleware.cs index 87b62a5e77..c6f3f53e99 100644 --- a/test/WebSites/FiltersWebSite/ErrorReporterMiddleware.cs +++ b/test/WebSites/FiltersWebSite/ErrorReporterMiddleware.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/AddHeaderAttribute.cs b/test/WebSites/FiltersWebSite/Filters/AddHeaderAttribute.cs index e826d9b1ea..f0e7787ed1 100644 --- a/test/WebSites/FiltersWebSite/Filters/AddHeaderAttribute.cs +++ b/test/WebSites/FiltersWebSite/Filters/AddHeaderAttribute.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/AuthorizeUserAttribute.cs b/test/WebSites/FiltersWebSite/Filters/AuthorizeUserAttribute.cs index 32f6ada0eb..1449c806b0 100644 --- a/test/WebSites/FiltersWebSite/Filters/AuthorizeUserAttribute.cs +++ b/test/WebSites/FiltersWebSite/Filters/AuthorizeUserAttribute.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Security.Claims; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/BlockAnonymous.cs b/test/WebSites/FiltersWebSite/Filters/BlockAnonymous.cs index 8360d2dae3..bb9fe3af2a 100644 --- a/test/WebSites/FiltersWebSite/Filters/BlockAnonymous.cs +++ b/test/WebSites/FiltersWebSite/Filters/BlockAnonymous.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ChangeContentActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ChangeContentActionFilter.cs index 31a885bd81..8dbafde978 100644 --- a/test/WebSites/FiltersWebSite/Filters/ChangeContentActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ChangeContentActionFilter.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ChangeContentResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/ChangeContentResultFilter.cs index 18b6e10e70..973005e027 100644 --- a/test/WebSites/FiltersWebSite/Filters/ChangeContentResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ChangeContentResultFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ControllerActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ControllerActionFilter.cs index b5decc9b50..5129bfb487 100644 --- a/test/WebSites/FiltersWebSite/Filters/ControllerActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ControllerActionFilter.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ControllerAuthorizationFilter.cs b/test/WebSites/FiltersWebSite/Filters/ControllerAuthorizationFilter.cs index 159e7ddbcc..48a70a6098 100644 --- a/test/WebSites/FiltersWebSite/Filters/ControllerAuthorizationFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ControllerAuthorizationFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ControllerExceptionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ControllerExceptionFilter.cs index 8553ed080e..0245a776de 100644 --- a/test/WebSites/FiltersWebSite/Filters/ControllerExceptionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ControllerExceptionFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ControllerResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/ControllerResultFilter.cs index 248f55d9d8..3180d826b8 100644 --- a/test/WebSites/FiltersWebSite/Filters/ControllerResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ControllerResultFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/GlobalActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/GlobalActionFilter.cs index ed798b76f3..3b126eff90 100644 --- a/test/WebSites/FiltersWebSite/Filters/GlobalActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/GlobalActionFilter.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/GlobalAuthorizationFilter.cs b/test/WebSites/FiltersWebSite/Filters/GlobalAuthorizationFilter.cs index 663c839b68..ac943303c5 100644 --- a/test/WebSites/FiltersWebSite/Filters/GlobalAuthorizationFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/GlobalAuthorizationFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/GlobalExceptionFilter.cs b/test/WebSites/FiltersWebSite/Filters/GlobalExceptionFilter.cs index fca590bc23..a105d78424 100644 --- a/test/WebSites/FiltersWebSite/Filters/GlobalExceptionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/GlobalExceptionFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/GlobalResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/GlobalResultFilter.cs index 5aae34dd7c..7f5a8ae51f 100644 --- a/test/WebSites/FiltersWebSite/Filters/GlobalResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/GlobalResultFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/HandleExceptionActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/HandleExceptionActionFilter.cs index 5a2ad9cc6b..b36f27887f 100644 --- a/test/WebSites/FiltersWebSite/Filters/HandleExceptionActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/HandleExceptionActionFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/HandleInvalidOperationExceptionFilter.cs b/test/WebSites/FiltersWebSite/Filters/HandleInvalidOperationExceptionFilter.cs index bf4ac8d1f1..a1448fdfee 100644 --- a/test/WebSites/FiltersWebSite/Filters/HandleInvalidOperationExceptionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/HandleInvalidOperationExceptionFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ModifiedRandomNumberProvider.cs b/test/WebSites/FiltersWebSite/Filters/ModifiedRandomNumberProvider.cs index 343da658ed..120f8f2b54 100644 --- a/test/WebSites/FiltersWebSite/Filters/ModifiedRandomNumberProvider.cs +++ b/test/WebSites/FiltersWebSite/Filters/ModifiedRandomNumberProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ModifyResultsFilterAttribute.cs b/test/WebSites/FiltersWebSite/Filters/ModifyResultsFilterAttribute.cs index 78f82c0619..b22b3f008a 100644 --- a/test/WebSites/FiltersWebSite/Filters/ModifyResultsFilterAttribute.cs +++ b/test/WebSites/FiltersWebSite/Filters/ModifyResultsFilterAttribute.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/PassThroughActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/PassThroughActionFilter.cs index d0b4e30b0c..13a998e668 100644 --- a/test/WebSites/FiltersWebSite/Filters/PassThroughActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/PassThroughActionFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/PassThroughResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/PassThroughResultFilter.cs index 51df744ef2..d362275e33 100644 --- a/test/WebSites/FiltersWebSite/Filters/PassThroughResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/PassThroughResultFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/RandomNumberFilter.cs b/test/WebSites/FiltersWebSite/Filters/RandomNumberFilter.cs index ca52a63b55..b8262e046c 100644 --- a/test/WebSites/FiltersWebSite/Filters/RandomNumberFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/RandomNumberFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Net.Http.Headers; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/Filters/RandomNumberModifier.cs b/test/WebSites/FiltersWebSite/Filters/RandomNumberModifier.cs index f91c9ea700..64427cac61 100644 --- a/test/WebSites/FiltersWebSite/Filters/RandomNumberModifier.cs +++ b/test/WebSites/FiltersWebSite/Filters/RandomNumberModifier.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/RandomNumberProvider.cs b/test/WebSites/FiltersWebSite/Filters/RandomNumberProvider.cs index c00b984357..d91e03dcc8 100644 --- a/test/WebSites/FiltersWebSite/Filters/RandomNumberProvider.cs +++ b/test/WebSites/FiltersWebSite/Filters/RandomNumberProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/SerializationActionFilterAttribute.cs b/test/WebSites/FiltersWebSite/Filters/SerializationActionFilterAttribute.cs index 0ee8f493aa..e2553dc52d 100644 --- a/test/WebSites/FiltersWebSite/Filters/SerializationActionFilterAttribute.cs +++ b/test/WebSites/FiltersWebSite/Filters/SerializationActionFilterAttribute.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ShortCircuitActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ShortCircuitActionFilter.cs index dbc2891f79..91e2b8a4c3 100644 --- a/test/WebSites/FiltersWebSite/Filters/ShortCircuitActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ShortCircuitActionFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Net.Http.Headers; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/Filters/ShortCircuitExceptionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ShortCircuitExceptionFilter.cs index 8fa9b6c749..b840ab3d41 100644 --- a/test/WebSites/FiltersWebSite/Filters/ShortCircuitExceptionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ShortCircuitExceptionFilter.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ShortCircuitResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/ShortCircuitResultFilter.cs index 5c595a875e..047d2f9834 100644 --- a/test/WebSites/FiltersWebSite/Filters/ShortCircuitResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ShortCircuitResultFilter.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ThrowingActionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ThrowingActionFilter.cs index e924ba3efd..4f00280d06 100644 --- a/test/WebSites/FiltersWebSite/Filters/ThrowingActionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ThrowingActionFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ThrowingAuthorizationFilter.cs b/test/WebSites/FiltersWebSite/Filters/ThrowingAuthorizationFilter.cs index c555702a34..585e07fea0 100644 --- a/test/WebSites/FiltersWebSite/Filters/ThrowingAuthorizationFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ThrowingAuthorizationFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ThrowingExceptionFilter.cs b/test/WebSites/FiltersWebSite/Filters/ThrowingExceptionFilter.cs index 500cd363a7..649b53f708 100644 --- a/test/WebSites/FiltersWebSite/Filters/ThrowingExceptionFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ThrowingExceptionFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/ThrowingResultFilter.cs b/test/WebSites/FiltersWebSite/Filters/ThrowingResultFilter.cs index 54a68d6865..ca5cfe8635 100644 --- a/test/WebSites/FiltersWebSite/Filters/ThrowingResultFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/ThrowingResultFilter.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Filters/TracingResourceFilter.cs b/test/WebSites/FiltersWebSite/Filters/TracingResourceFilter.cs index 413d3865c0..264daa1bfc 100644 --- a/test/WebSites/FiltersWebSite/Filters/TracingResourceFilter.cs +++ b/test/WebSites/FiltersWebSite/Filters/TracingResourceFilter.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Helper/Helpers.cs b/test/WebSites/FiltersWebSite/Helper/Helpers.cs index 99a8fd830d..09bcee1d6e 100644 --- a/test/WebSites/FiltersWebSite/Helper/Helpers.cs +++ b/test/WebSites/FiltersWebSite/Helper/Helpers.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.Net.Http.Headers; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/ManagerHandler.cs b/test/WebSites/FiltersWebSite/ManagerHandler.cs index 4374e05fe9..ad8d6bb8fe 100644 --- a/test/WebSites/FiltersWebSite/ManagerHandler.cs +++ b/test/WebSites/FiltersWebSite/ManagerHandler.cs @@ -3,8 +3,8 @@ using System.Security.Claims; using System.Threading.Tasks; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Authorization.Infrastructure; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Authorization.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/Operations.cs b/test/WebSites/FiltersWebSite/Operations.cs index d96f0c13f0..1333cc02d0 100644 --- a/test/WebSites/FiltersWebSite/Operations.cs +++ b/test/WebSites/FiltersWebSite/Operations.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Authorization.Infrastructure; +using Microsoft.AspNetCore.Authorization.Infrastructure; namespace FiltersWebSite { diff --git a/test/WebSites/FiltersWebSite/Startup.cs b/test/WebSites/FiltersWebSite/Startup.cs index 1c0a13d09d..1dab78fd39 100644 --- a/test/WebSites/FiltersWebSite/Startup.cs +++ b/test/WebSites/FiltersWebSite/Startup.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Security.Claims; -using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace FiltersWebSite diff --git a/test/WebSites/FiltersWebSite/hosting.json b/test/WebSites/FiltersWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/FiltersWebSite/hosting.json +++ b/test/WebSites/FiltersWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/FiltersWebSite/project.json b/test/WebSites/FiltersWebSite/project.json index 5b902cb329..5c85b5db90 100644 --- a/test/WebSites/FiltersWebSite/project.json +++ b/test/WebSites/FiltersWebSite/project.json @@ -6,12 +6,12 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Authentication": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Authentication": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs b/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs index 6ed5d92681..1a04d327b2 100644 --- a/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/Controllers/HomeController.cs b/test/WebSites/FormatterWebSite/Controllers/HomeController.cs index 612ff1270b..8f46f63571 100644 --- a/test/WebSites/FormatterWebSite/Controllers/HomeController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite.Controllers { diff --git a/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs b/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs index 4444196b96..383d6155e3 100644 --- a/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite.Controllers { diff --git a/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs b/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs index 55bc222b8d..d74b9b032b 100644 --- a/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; using Newtonsoft.Json; namespace FormatterWebSite.Controllers diff --git a/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs b/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs index 9beaa16b66..1f0d510168 100644 --- a/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite.Controllers { diff --git a/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs b/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs index efd3c084b3..31c7e2e2af 100644 --- a/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite.Controllers { diff --git a/test/WebSites/FormatterWebSite/Controllers/StreamController.cs b/test/WebSites/FormatterWebSite/Controllers/StreamController.cs index ab1cce85e4..7856d5adfa 100644 --- a/test/WebSites/FormatterWebSite/Controllers/StreamController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/StreamController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs b/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs index 92bddc4f36..527c57d9dc 100644 --- a/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs b/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs index fd3b7050fb..beef850e73 100644 --- a/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Formatters; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs b/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs index 435ca2734e..12f5ec0fcb 100644 --- a/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs +++ b/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/Startup.cs b/test/WebSites/FormatterWebSite/Startup.cs index c014e6e596..ba546cf188 100644 --- a/test/WebSites/FormatterWebSite/Startup.cs +++ b/test/WebSites/FormatterWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.ModelBinding.Validation; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using Microsoft.Extensions.DependencyInjection; namespace FormatterWebSite diff --git a/test/WebSites/FormatterWebSite/StringInputFormatter.cs b/test/WebSites/FormatterWebSite/StringInputFormatter.cs index 54a14eda22..c93abffdca 100644 --- a/test/WebSites/FormatterWebSite/StringInputFormatter.cs +++ b/test/WebSites/FormatterWebSite/StringInputFormatter.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Net.Http.Headers; namespace FormatterWebSite diff --git a/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs b/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs index 30cca23b9e..8848f815bb 100644 --- a/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs +++ b/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace FormatterWebSite { diff --git a/test/WebSites/FormatterWebSite/hosting.json b/test/WebSites/FormatterWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/FormatterWebSite/hosting.json +++ b/test/WebSites/FormatterWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/FormatterWebSite/project.json b/test/WebSites/FormatterWebSite/project.json index d6407a15ca..0a41f5953e 100644 --- a/test/WebSites/FormatterWebSite/project.json +++ b/test/WebSites/FormatterWebSite/project.json @@ -6,11 +6,11 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs b/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs index fbff65076c..1d72588f2f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs +++ b/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace HtmlGenerationWebSite.Areas.Customer.Controllers { diff --git a/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs b/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs index 602e3b0961..2edc2c7b6f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs +++ b/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSample.Web.Components { diff --git a/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs b/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs index 2edeccc7a9..d72098f43f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs +++ b/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Security.Claims; using HtmlGenerationWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace HtmlGenerationWebSite.Controllers { diff --git a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs index 4fa3387783..98e7e78063 100644 --- a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs +++ b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs @@ -4,8 +4,8 @@ using System; using System.Collections.Generic; using HtmlGenerationWebSite.Models; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; namespace HtmlGenerationWebSite.Controllers { diff --git a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs index f09fc88191..0862ee8c81 100644 --- a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs +++ b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs @@ -3,7 +3,7 @@ using System; using HtmlGenerationWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace HtmlGenerationWebSite.Controllers { diff --git a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs index 09bfbf5d4e..8c5751e4e3 100644 --- a/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs +++ b/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs @@ -3,7 +3,7 @@ using System; using HtmlGenerationWebSite.Models; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace HtmlGenerationWebSite.Controllers { diff --git a/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs b/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs index 293792cd17..4e04fd4771 100644 --- a/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs +++ b/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Http.Features.Internal; -using Microsoft.AspNet.Http.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features.Internal; +using Microsoft.AspNetCore.Http.Internal; namespace HtmlGenerationWebSite.Models { diff --git a/test/WebSites/HtmlGenerationWebSite/Models/Person.cs b/test/WebSites/HtmlGenerationWebSite/Models/Person.cs index a6fff37da6..d53521c306 100644 --- a/test/WebSites/HtmlGenerationWebSite/Models/Person.cs +++ b/test/WebSites/HtmlGenerationWebSite/Models/Person.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.DataAnnotations; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace HtmlGenerationWebSite.Models { diff --git a/test/WebSites/HtmlGenerationWebSite/Startup.cs b/test/WebSites/HtmlGenerationWebSite/Startup.cs index 48a282ecd2..dd04e02ec5 100644 --- a/test/WebSites/HtmlGenerationWebSite/Startup.cs +++ b/test/WebSites/HtmlGenerationWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.TagHelpers; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.TagHelpers; using Microsoft.Extensions.DependencyInjection; namespace HtmlGenerationWebSite diff --git a/test/WebSites/HtmlGenerationWebSite/Views/Catalog_CacheTagHelper/_ViewImports.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/Catalog_CacheTagHelper/_ViewImports.cshtml index d7a716a439..a757b413b9 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/Catalog_CacheTagHelper/_ViewImports.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/Catalog_CacheTagHelper/_ViewImports.cshtml @@ -1 +1 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/CreateWarehouse.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/CreateWarehouse.cshtml index 1c5024e76d..c2a94d265e 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/CreateWarehouse.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/CreateWarehouse.cshtml @@ -1,6 +1,6 @@ -@model HtmlGenerationWebSite.Models.Warehouse +@model HtmlGenerationWebSite.Models.Warehouse -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ ViewBag.Title = "Warehouse - Product"; diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditWarehouse.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditWarehouse.cshtml index 8f9005168e..74d67cb003 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditWarehouse.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditWarehouse.cshtml @@ -1,6 +1,6 @@ -@model HtmlGenerationWebSite.Models.Warehouse +@model HtmlGenerationWebSite.Models.Warehouse -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ ViewBag.Title = "Warehouse - Employee"; diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/Employee.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/Employee.cshtml index ccc48f3dd6..e8a4681706 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/Employee.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/Employee.cshtml @@ -1,6 +1,6 @@ -@model HtmlGenerationWebSite.Models.Employee +@model HtmlGenerationWebSite.Models.Employee -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@Html.LabelFor(m => m.Number) diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/GenderUsingTagHelpers.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/GenderUsingTagHelpers.cshtml index c0bcc4ebbb..dd2a199b5f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/GenderUsingTagHelpers.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/EditorTemplates/GenderUsingTagHelpers.cshtml @@ -1,5 +1,5 @@ -@using HtmlGenerationWebSite.Models +@using HtmlGenerationWebSite.Models @model Gender -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers Male Female \ No newline at end of file diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Environment.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Environment.cshtml index dcabadc54d..5275dcfc7f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Environment.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Environment.cshtml @@ -1,4 +1,4 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Form.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Form.cshtml index 877133b57b..7d159b6d86 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Form.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Form.cshtml @@ -1,5 +1,5 @@ @using Microsoft.Extensions.DependencyInjection -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Image.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Image.cshtml index 772a49ef3f..f0865e1f95 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Image.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Image.cshtml @@ -1,4 +1,4 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Index.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Index.cshtml index cc90370e4b..c505df763e 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Index.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Index.cshtml @@ -1,8 +1,8 @@ -@{ +@{ ViewBag.Title = "Home Page"; } -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.AnchorTagHelper, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Input.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Input.cshtml index 388fd1c9ae..daf3f7424b 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Input.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Input.cshtml @@ -1,6 +1,6 @@ -@using HtmlGenerationWebSite.Models +@using HtmlGenerationWebSite.Models @model Folder -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Link.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Link.cshtml index 391978454d..9c7a429eec 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Link.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Link.cshtml @@ -1,4 +1,4 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Order.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Order.cshtml index 69b67f41bb..b460aa44d3 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Order.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Order.cshtml @@ -1,17 +1,17 @@ -@model HtmlGenerationWebSite.Models.Order +@model HtmlGenerationWebSite.Models.Order @{ ViewBag.Title = "Order Page"; } -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.FormTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.InputTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.LabelTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.OptionTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.SelectTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.ValidationMessageTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.ValidationSummaryTagHelper, Microsoft.AspNet.Mvc.TagHelpers -@addTagHelper Microsoft.AspNet.Mvc.TagHelpers.RenderAtEndOfFormTagHelper, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Product.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Product.cshtml index 7a7e1843d9..7d14c561d8 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Product.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Product.cshtml @@ -1,10 +1,10 @@ -@model HtmlGenerationWebSite.Models.Product +@model HtmlGenerationWebSite.Models.Product @{ ViewBag.Title = "Product Page"; } -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/ProductList.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/ProductList.cshtml index e007496e6b..8ba2a25f97 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/ProductList.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/ProductList.cshtml @@ -1,7 +1,7 @@ -@using HtmlGenerationWebSite.Models +@using HtmlGenerationWebSite.Models @model IEnumerable -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Script.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Script.cshtml index 0fc055a1e0..a1dd39a891 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Script.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Script.cshtml @@ -1,8 +1,8 @@ -@* +@* 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. *@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/_ProductPartial.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/_ProductPartial.cshtml index 0900f0d2d0..166fc4cb87 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/_ProductPartial.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/_ProductPartial.cshtml @@ -1,6 +1,6 @@ -@model HtmlGenerationWebSite.Models.Product +@model HtmlGenerationWebSite.Models.Product -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
diff --git a/test/WebSites/HtmlGenerationWebSite/Views/Shared/Components/Splash/Default.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/Shared/Components/Splash/Default.cshtml index fe2064eae5..5e77c7a1ca 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/Shared/Components/Splash/Default.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/Shared/Components/Splash/Default.cshtml @@ -1,4 +1,4 @@ -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @model string Locations closest to your locale: diff --git a/test/WebSites/HtmlGenerationWebSite/Views/Shared/Customer.cshtml b/test/WebSites/HtmlGenerationWebSite/Views/Shared/Customer.cshtml index 6f1aeaf3a8..47da58f35a 100644 --- a/test/WebSites/HtmlGenerationWebSite/Views/Shared/Customer.cshtml +++ b/test/WebSites/HtmlGenerationWebSite/Views/Shared/Customer.cshtml @@ -1,10 +1,10 @@ -@model HtmlGenerationWebSite.Models.Customer +@model HtmlGenerationWebSite.Models.Customer @{ ViewBag.Title = "Customer Page"; } -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/test/WebSites/HtmlGenerationWebSite/hosting.json b/test/WebSites/HtmlGenerationWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/HtmlGenerationWebSite/hosting.json +++ b/test/WebSites/HtmlGenerationWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/HtmlGenerationWebSite/project.json b/test/WebSites/HtmlGenerationWebSite/project.json index 1f5b76bb77..877b89275e 100644 --- a/test/WebSites/HtmlGenerationWebSite/project.json +++ b/test/WebSites/HtmlGenerationWebSite/project.json @@ -6,10 +6,10 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/BuilderExtensions.cs b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/BuilderExtensions.cs index e15f7dbef5..ac6727a6ff 100644 --- a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/BuilderExtensions.cs +++ b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/BuilderExtensions.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.TestConfiguration; +using Microsoft.AspNetCore.Mvc.TestConfiguration; -namespace Microsoft.AspNet.Builder +namespace Microsoft.AspNetCore.Builder { public static class BuilderExtensions { diff --git a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/CultureReplacerMiddleware.cs b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/CultureReplacerMiddleware.cs index 0025186fa5..c296902bc3 100644 --- a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/CultureReplacerMiddleware.cs +++ b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/CultureReplacerMiddleware.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Testing; -namespace Microsoft.AspNet.Mvc.TestConfiguration +namespace Microsoft.AspNetCore.Mvc.TestConfiguration { /// /// A middleware that ensures web sites run in a consistent culture. Currently useful for tests that format dates, diff --git a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json index c72ce45d97..bd522256c2 100644 --- a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json +++ b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json @@ -1,8 +1,8 @@ { "dependencies": { - "Microsoft.AspNet.Http": "1.0.0-*", - "Microsoft.AspNet.Http.Extensions": "1.0.0-*", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Http": "1.0.0-*", + "Microsoft.AspNetCore.Http.Extensions": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.Configuration": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*" }, diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/HomeController.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/HomeController.cs index 92eb20dfd5..3f23b8f768 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/HomeController.cs +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorPageExecutionInstrumentationWebSite { diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageDiagnosticListener.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageDiagnosticListener.cs index b441d09411..30ca586d01 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageDiagnosticListener.cs +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageDiagnosticListener.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; -using Microsoft.AspNet.Http; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DiagnosticAdapter; namespace RazorPageExecutionInstrumentationWebSite @@ -11,7 +11,7 @@ namespace RazorPageExecutionInstrumentationWebSite { public static readonly object WriterKey = new object(); - [DiagnosticName("Microsoft.AspNet.Mvc.Razor.BeginInstrumentationContext")] + [DiagnosticName("Microsoft.AspNetCore.Mvc.Razor.BeginInstrumentationContext")] public virtual void OnBeginPageInstrumentationContext( HttpContext httpContext, string path, diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs index e230ee701f..ef568f6e52 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs @@ -3,9 +3,9 @@ using System.Diagnostics; using System.IO; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; using Microsoft.Extensions.DependencyInjection; namespace RazorPageExecutionInstrumentationWebSite diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs index 3d284b9b1e..0bbe73d1c9 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs @@ -3,9 +3,9 @@ using System.IO; using System.Text; -using Microsoft.AspNet.Mvc.Razor; -using Microsoft.AspNet.Mvc.Razor.Compilation; -using Microsoft.AspNet.Razor.CodeGenerators; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor.Compilation; +using Microsoft.AspNetCore.Razor.CodeGenerators; using Microsoft.Extensions.Logging; namespace RazorPageExecutionInstrumentationWebSite diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/hosting.json b/test/WebSites/RazorPageExecutionInstrumentationWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/hosting.json +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json index ae7e766945..3f44656c8b 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json @@ -6,10 +6,10 @@ "web": "RazorPageExecutionInstrumentationWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.Extensions.DiagnosticAdapter": "1.0.0-*" }, "frameworks": { diff --git a/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs b/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs index 9d0f50242d..e6e2f88f0f 100644 --- a/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs +++ b/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSample.Web.Components { diff --git a/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs b/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs index 90d3dad46c..0b55d56504 100644 --- a/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs +++ b/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSample.Web.Components { diff --git a/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs b/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs index 9a273517da..b195e19a36 100644 --- a/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs +++ b/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSample.Web.Components { diff --git a/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs b/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs index 614f098caf..981f7a15ee 100644 --- a/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs +++ b/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Components { diff --git a/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs b/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs index 7734919f3e..983e09487e 100644 --- a/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs +++ b/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace MvcSample.Web.Components { diff --git a/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs b/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs index 96d5b1743c..b08abd28b9 100644 --- a/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs +++ b/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Components { diff --git a/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs b/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs index 690e37b6c3..4a7c400527 100644 --- a/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs +++ b/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite { diff --git a/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs b/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs index 86b5cc6a9b..6042c9f38d 100644 --- a/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs +++ b/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs b/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs index 8b3806f152..d55b831bb8 100644 --- a/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs +++ b/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite { diff --git a/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs b/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs index de1b13da56..461f6c7326 100644 --- a/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs +++ b/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs b/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs index 61297ba2c5..cd688707bb 100644 --- a/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs +++ b/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs b/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs index 00e37e8e36..484f052997 100644 --- a/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs +++ b/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs b/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs index 493d5f3ae8..74e767a042 100644 --- a/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs +++ b/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs b/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs index c3ba535d90..152f5e1bb2 100644 --- a/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs +++ b/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs b/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs index cdd5d0cf80..0d6902aac2 100644 --- a/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs +++ b/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs b/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs index 2be0a1c989..221a425cae 100644 --- a/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs +++ b/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs b/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs index 4d331f1488..8a7a59d3b9 100644 --- a/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs +++ b/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs b/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs index c2afdde6ee..a98754a0d0 100644 --- a/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs +++ b/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs b/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs index 7f35a1bb56..18c0b2483f 100644 --- a/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs +++ b/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/MyBasePage.cs b/test/WebSites/RazorWebSite/MyBasePage.cs index 0e6871bc95..917d852cf2 100644 --- a/test/WebSites/RazorWebSite/MyBasePage.cs +++ b/test/WebSites/RazorWebSite/MyBasePage.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; namespace RazorWebSite { diff --git a/test/WebSites/RazorWebSite/NestedViewImportsController.cs b/test/WebSites/RazorWebSite/NestedViewImportsController.cs index e97392b247..4e186761fa 100644 --- a/test/WebSites/RazorWebSite/NestedViewImportsController.cs +++ b/test/WebSites/RazorWebSite/NestedViewImportsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { diff --git a/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs b/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs index 2180774b0d..6fd040d924 100644 --- a/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs +++ b/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; namespace RazorWebSite { diff --git a/test/WebSites/RazorWebSite/Startup.cs b/test/WebSites/RazorWebSite/Startup.cs index f41e5fcdd5..1bf64e6b24 100644 --- a/test/WebSites/RazorWebSite/Startup.cs +++ b/test/WebSites/RazorWebSite/Startup.cs @@ -3,10 +3,10 @@ using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Localization; -using Microsoft.AspNet.Mvc.Razor; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Localization; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; namespace RazorWebSite @@ -29,7 +29,7 @@ namespace RazorWebSite .AddViewOptions(options => { options.HtmlHelperOptions.ClientValidationEnabled = false; - options.HtmlHelperOptions.Html5DateRenderingMode = Microsoft.AspNet.Mvc.Rendering.Html5DateRenderingMode.Rfc3339; + options.HtmlHelperOptions.Html5DateRenderingMode = Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode.Rfc3339; options.HtmlHelperOptions.IdAttributeDotReplacement = "!"; options.HtmlHelperOptions.ValidationMessageElement = "validationMessageElement"; options.HtmlHelperOptions.ValidationSummaryMessageElement = "validationSummaryElement"; diff --git a/test/WebSites/RazorWebSite/hosting.json b/test/WebSites/RazorWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/RazorWebSite/hosting.json +++ b/test/WebSites/RazorWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/RazorWebSite/project.json b/test/WebSites/RazorWebSite/project.json index 5cff9cf37c..11cdf87d82 100644 --- a/test/WebSites/RazorWebSite/project.json +++ b/test/WebSites/RazorWebSite/project.json @@ -6,12 +6,12 @@ "emitEntryPoint": true }, "dependencies": { - "Microsoft.AspNet.Localization": "1.0.0-*", - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Localization": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Localization": "1.0.0-*", + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Localization": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { diff --git a/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs b/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs index 5e4a2e304c..fe204e7896 100644 --- a/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs +++ b/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite.Admin { diff --git a/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs b/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs index b59f5d5868..fe7582db29 100644 --- a/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs +++ b/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite.Areas.Order { diff --git a/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs b/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs index 233d4d1c24..5fe4b9d793 100644 --- a/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs +++ b/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs b/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs index e84116cb8b..eceed74837 100644 --- a/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs +++ b/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite.Travel { diff --git a/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs b/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs index 9d47886b66..89cdfc756f 100644 --- a/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs +++ b/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/BanksController.cs b/test/WebSites/RoutingWebSite/Controllers/BanksController.cs index b1e6fdcbb4..a396586330 100644 --- a/test/WebSites/RoutingWebSite/Controllers/BanksController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/BanksController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/BlogController.cs b/test/WebSites/RoutingWebSite/Controllers/BlogController.cs index cfa9ad2bdf..82e90c695c 100644 --- a/test/WebSites/RoutingWebSite/Controllers/BlogController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/BlogController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs b/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs index 63a8580674..bbb27e242f 100644 --- a/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs b/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs index 79cf36dd00..bf36643a68 100644 --- a/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/HomeController.cs b/test/WebSites/RoutingWebSite/Controllers/HomeController.cs index dcce436b63..1adc73f990 100644 --- a/test/WebSites/RoutingWebSite/Controllers/HomeController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/HomeController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/MapsController.cs b/test/WebSites/RoutingWebSite/Controllers/MapsController.cs index 924eee4e1f..ce1aa800aa 100644 --- a/test/WebSites/RoutingWebSite/Controllers/MapsController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/MapsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/OrderController.cs b/test/WebSites/RoutingWebSite/Controllers/OrderController.cs index 359673d1c6..6f3f49ef2c 100644 --- a/test/WebSites/RoutingWebSite/Controllers/OrderController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/OrderController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite.Controllers { diff --git a/test/WebSites/RoutingWebSite/Controllers/StoreController.cs b/test/WebSites/RoutingWebSite/Controllers/StoreController.cs index c64bc148c8..d7ad0dc7e1 100644 --- a/test/WebSites/RoutingWebSite/Controllers/StoreController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/StoreController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Controllers/TeamController.cs b/test/WebSites/RoutingWebSite/Controllers/TeamController.cs index 264dd2b457..85f1c0fc5c 100644 --- a/test/WebSites/RoutingWebSite/Controllers/TeamController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/TeamController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs b/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs index 8975d2d6f6..013a90d2bf 100644 --- a/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs +++ b/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/Startup.cs b/test/WebSites/RoutingWebSite/Startup.cs index d9bd2ca835..29706d7e14 100644 --- a/test/WebSites/RoutingWebSite/Startup.cs +++ b/test/WebSites/RoutingWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace RoutingWebSite diff --git a/test/WebSites/RoutingWebSite/TestResponseGenerator.cs b/test/WebSites/RoutingWebSite/TestResponseGenerator.cs index 4005a3c35c..d5bad4c7a7 100644 --- a/test/WebSites/RoutingWebSite/TestResponseGenerator.cs +++ b/test/WebSites/RoutingWebSite/TestResponseGenerator.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; namespace RoutingWebSite { diff --git a/test/WebSites/RoutingWebSite/hosting.json b/test/WebSites/RoutingWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/RoutingWebSite/hosting.json +++ b/test/WebSites/RoutingWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/RoutingWebSite/project.json b/test/WebSites/RoutingWebSite/project.json index 1613bd94c6..b0fa40e6f9 100644 --- a/test/WebSites/RoutingWebSite/project.json +++ b/test/WebSites/RoutingWebSite/project.json @@ -6,10 +6,10 @@ "web": "RoutingWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/SimpleWebSite/Controllers/HomeController.cs b/test/WebSites/SimpleWebSite/Controllers/HomeController.cs index 88121a9cbd..9d4cf866a3 100644 --- a/test/WebSites/SimpleWebSite/Controllers/HomeController.cs +++ b/test/WebSites/SimpleWebSite/Controllers/HomeController.cs @@ -1,11 +1,11 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace SimpleWebSite.Controllers { diff --git a/test/WebSites/SimpleWebSite/Startup.cs b/test/WebSites/SimpleWebSite/Startup.cs index 4b28f49f66..536e3d3bd1 100644 --- a/test/WebSites/SimpleWebSite/Startup.cs +++ b/test/WebSites/SimpleWebSite/Startup.cs @@ -1,9 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.Encodings.Web; -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.WebEncoders.Testing; using Microsoft.Net.Http.Headers; diff --git a/test/WebSites/SimpleWebSite/hosting.json b/test/WebSites/SimpleWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/SimpleWebSite/hosting.json +++ b/test/WebSites/SimpleWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/SimpleWebSite/project.json b/test/WebSites/SimpleWebSite/project.json index 0cca3a7c32..2dd45c558a 100644 --- a/test/WebSites/SimpleWebSite/project.json +++ b/test/WebSites/SimpleWebSite/project.json @@ -1,4 +1,4 @@ -{ +{ "compilationOptions": { "emitEntryPoint": true }, @@ -6,8 +6,8 @@ "web": "SimpleWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/SimpleWebSite/readme.md b/test/WebSites/SimpleWebSite/readme.md index f8e506f70a..04bc243883 100644 --- a/test/WebSites/SimpleWebSite/readme.md +++ b/test/WebSites/SimpleWebSite/readme.md @@ -1,4 +1,4 @@ -SimpleWebSite +SimpleWebSite === -This sample web project illustrates a minimal site using `Microsoft.AspNet.Mvc.Core`. +This sample web project illustrates a minimal site using `Microsoft.AspNetCore.Mvc.Core`. Please build from root (`.\build.cmd` on Windows; `./build.sh` elsewhere) before using this site. \ No newline at end of file diff --git a/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs b/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs index 0922fe1382..a801a99aa3 100644 --- a/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs +++ b/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using TagHelpersWebSite.Models; namespace TagHelpersWebSite.Controllers diff --git a/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs b/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs index c1a3104cca..fe7464810a 100644 --- a/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs +++ b/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace TagHelpersWebSite.Controllers { diff --git a/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs b/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs index 7841e740bd..7b745017c3 100644 --- a/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs +++ b/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using TagHelpersWebSite.Models; namespace TagHelpersWebSite.Controllers diff --git a/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs b/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs index 28f07fc5f2..4f164a29da 100644 --- a/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs +++ b/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace TagHelpersWebSite.Controllers { diff --git a/test/WebSites/TagHelpersWebSite/Startup.cs b/test/WebSites/TagHelpersWebSite/Startup.cs index 19b5761bfe..1bd368678a 100644 --- a/test/WebSites/TagHelpersWebSite/Startup.cs +++ b/test/WebSites/TagHelpersWebSite/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace TagHelpersWebSite diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs index 12d4e50cd2..7129d812bd 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.Routing; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs index 1c9bae5805..8db1ba7424 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs index 36a1e2c45d..c0dfd903df 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs @@ -3,7 +3,7 @@ using System.Text.RegularExpressions; using System.Threading.Tasks; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs index e91c74c1f4..f13ad6ef45 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs @@ -1,7 +1,7 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs index 3da0ea2f37..4b3716c7e4 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs index 428cbe72d4..b274e1670f 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs @@ -1,10 +1,10 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs index 36df03008b..6b85369587 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs index 797da530dc..cd698b5f56 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs index e814fdb41b..adb62665e0 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs index 535d9f60a3..cd8ee00942 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs @@ -3,9 +3,9 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs index 61d09d3316..664b66c733 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs index 8bec422b5f..1679512dd6 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace TagHelpersWebSite.TagHelpers { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs index 1d43dd4910..37ce7171d6 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs @@ -7,11 +7,11 @@ using System.IO; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; -using Microsoft.AspNet.Mvc.ViewComponents; -using Microsoft.AspNet.Mvc.ViewFeatures; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.ViewComponents; +using Microsoft.AspNetCore.Mvc.ViewFeatures; +using Microsoft.AspNetCore.Razor.TagHelpers; namespace MvcSample.Web.Components { diff --git a/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs b/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs index b18dfc797d..b1a7ee7461 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs +++ b/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Razor.TagHelpers; +using Microsoft.AspNetCore.Razor.TagHelpers; using TagHelpersWebSite.Models; namespace TagHelpersWebSite.TagHelpers diff --git a/test/WebSites/TagHelpersWebSite/Views/Employee/Create.cshtml b/test/WebSites/TagHelpersWebSite/Views/Employee/Create.cshtml index a2ae30b01e..f8e5476d99 100644 --- a/test/WebSites/TagHelpersWebSite/Views/Employee/Create.cshtml +++ b/test/WebSites/TagHelpersWebSite/Views/Employee/Create.cshtml @@ -1,6 +1,6 @@ @model TagHelpersWebSite.Models.Employee -@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ Layout = null; diff --git a/test/WebSites/TagHelpersWebSite/Views/Home/Index.cshtml b/test/WebSites/TagHelpersWebSite/Views/Home/Index.cshtml index f8edfad6d8..ca2c33b94e 100644 --- a/test/WebSites/TagHelpersWebSite/Views/Home/Index.cshtml +++ b/test/WebSites/TagHelpersWebSite/Views/Home/Index.cshtml @@ -1,5 +1,5 @@ -@using TagHelpersWebSite.Models -@using Microsoft.AspNet.Mvc.Razor +@using TagHelpersWebSite.Models +@using Microsoft.AspNetCore.Mvc.Razor @model WebsiteContext diff --git a/test/WebSites/TagHelpersWebSite/Views/RemoveDefaultInheritedTagHelpers/_ViewImports.cshtml b/test/WebSites/TagHelpersWebSite/Views/RemoveDefaultInheritedTagHelpers/_ViewImports.cshtml index 113fb6b041..f6cd3d1848 100644 --- a/test/WebSites/TagHelpersWebSite/Views/RemoveDefaultInheritedTagHelpers/_ViewImports.cshtml +++ b/test/WebSites/TagHelpersWebSite/Views/RemoveDefaultInheritedTagHelpers/_ViewImports.cshtml @@ -1 +1 @@ -@removeTagHelper *, Microsoft.AspNet.Mvc.Razor \ No newline at end of file +@removeTagHelper *, Microsoft.AspNetCore.Mvc.Razor \ No newline at end of file diff --git a/test/WebSites/TagHelpersWebSite/hosting.json b/test/WebSites/TagHelpersWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/TagHelpersWebSite/hosting.json +++ b/test/WebSites/TagHelpersWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/TagHelpersWebSite/project.json b/test/WebSites/TagHelpersWebSite/project.json index a21df79b90..8ba1928dac 100644 --- a/test/WebSites/TagHelpersWebSite/project.json +++ b/test/WebSites/TagHelpersWebSite/project.json @@ -8,11 +8,11 @@ "web": "TagHelpersWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TagHelpers": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/VersioningWebSite/Controllers/AddressController.cs b/test/WebSites/VersioningWebSite/Controllers/AddressController.cs index 0e00185e05..245699dfa8 100644 --- a/test/WebSites/VersioningWebSite/Controllers/AddressController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/AddressController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/BooksController.cs b/test/WebSites/VersioningWebSite/Controllers/BooksController.cs index adeae855c7..098ecbb198 100644 --- a/test/WebSites/VersioningWebSite/Controllers/BooksController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/BooksController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs b/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs index 9dbea2bbf8..37c32ea9c5 100644 --- a/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs b/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs index b097dfc8ba..1e61957273 100644 --- a/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs b/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs index ac8266c876..d5345a2f47 100644 --- a/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs +++ b/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs b/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs index 449dc4952a..50cddab665 100644 --- a/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs b/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs index 2362dd7eb2..ab9779d633 100644 --- a/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs +++ b/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/PetsController.cs b/test/WebSites/VersioningWebSite/Controllers/PetsController.cs index c1e3ff6665..002a3356ae 100644 --- a/test/WebSites/VersioningWebSite/Controllers/PetsController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/PetsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs b/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs index 37d72760c4..843de3f33d 100644 --- a/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs b/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs index e311840608..f2b5fa7ff2 100644 --- a/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs +++ b/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/Startup.cs b/test/WebSites/VersioningWebSite/Startup.cs index 07fd89c32a..5367c4be65 100644 --- a/test/WebSites/VersioningWebSite/Startup.cs +++ b/test/WebSites/VersioningWebSite/Startup.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc.Infrastructure; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace VersioningWebSite diff --git a/test/WebSites/VersioningWebSite/TestResponseGenerator.cs b/test/WebSites/VersioningWebSite/TestResponseGenerator.cs index 654c847f0c..6b74671f5a 100644 --- a/test/WebSites/VersioningWebSite/TestResponseGenerator.cs +++ b/test/WebSites/VersioningWebSite/TestResponseGenerator.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Infrastructure; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Infrastructure; +using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.Extensions.DependencyInjection; namespace VersioningWebSite diff --git a/test/WebSites/VersioningWebSite/VersionAttribute.cs b/test/WebSites/VersioningWebSite/VersionAttribute.cs index 84744ff3ca..e1658fd8b6 100644 --- a/test/WebSites/VersioningWebSite/VersionAttribute.cs +++ b/test/WebSites/VersioningWebSite/VersionAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc.ActionConstraints; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs b/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs index ad4a904ba1..822e281547 100644 --- a/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs +++ b/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionGetAttribute.cs b/test/WebSites/VersioningWebSite/VersionGetAttribute.cs index 18e31ce112..4e53537130 100644 --- a/test/WebSites/VersioningWebSite/VersionGetAttribute.cs +++ b/test/WebSites/VersioningWebSite/VersionGetAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionPostAttribute.cs b/test/WebSites/VersioningWebSite/VersionPostAttribute.cs index 8d805619b0..18db5eb210 100644 --- a/test/WebSites/VersioningWebSite/VersionPostAttribute.cs +++ b/test/WebSites/VersioningWebSite/VersionPostAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionPutAttribute.cs b/test/WebSites/VersioningWebSite/VersionPutAttribute.cs index d74f39f89a..49d4dab380 100644 --- a/test/WebSites/VersioningWebSite/VersionPutAttribute.cs +++ b/test/WebSites/VersioningWebSite/VersionPutAttribute.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.Routing; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionRangeValidator.cs b/test/WebSites/VersioningWebSite/VersionRangeValidator.cs index b7cc7e66f2..14c8d37662 100644 --- a/test/WebSites/VersioningWebSite/VersionRangeValidator.cs +++ b/test/WebSites/VersioningWebSite/VersionRangeValidator.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ActionConstraints; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/VersionRoute.cs b/test/WebSites/VersioningWebSite/VersionRoute.cs index d7c431013f..3b6f61c429 100644 --- a/test/WebSites/VersioningWebSite/VersionRoute.cs +++ b/test/WebSites/VersioningWebSite/VersionRoute.cs @@ -3,8 +3,8 @@ using System; using System.Text.RegularExpressions; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ActionConstraints; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ActionConstraints; namespace VersioningWebSite { diff --git a/test/WebSites/VersioningWebSite/hosting.json b/test/WebSites/VersioningWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/VersioningWebSite/hosting.json +++ b/test/WebSites/VersioningWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/VersioningWebSite/project.json b/test/WebSites/VersioningWebSite/project.json index f6d57b4f3d..be015d12e5 100644 --- a/test/WebSites/VersioningWebSite/project.json +++ b/test/WebSites/VersioningWebSite/project.json @@ -6,10 +6,10 @@ "web": "VersioningWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs b/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs index 1df0ea414f..e84382dc99 100644 --- a/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs +++ b/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Controllers; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.Filters; using Newtonsoft.Json; namespace WebApiCompatShimWebSite diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs index 9dee6afe53..66aba5b987 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs @@ -6,7 +6,7 @@ using System.Net; using System.Net.Http; using System.Text; using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace WebApiCompatShimWebSite diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs index 23e9ad7673..3259990f3d 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs index 4bcb250ce7..622c099125 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs index 136b51cd13..eb1f362164 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs index bf9bf17a22..c293d99056 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs index d57acc24e8..90bbc4440b 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs @@ -6,9 +6,9 @@ using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using System.Web.Http; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.WebApiCompatShim; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.WebApiCompatShim; using Microsoft.Extensions.Options; namespace WebApiCompatShimWebSite diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs index 4f6ed6690e..000779dd63 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs @@ -10,8 +10,8 @@ using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Web.Http; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs index bc6eef930f..5f1984664e 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs @@ -4,8 +4,8 @@ using System.Net; using System.Net.Http; using System.Web.Http; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs index d92872e285..46f259fd10 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs index c775a38b76..9f02342567 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Web.Http; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite.Controllers.ParameterBinding { diff --git a/test/WebSites/WebApiCompatShimWebSite/Startup.cs b/test/WebSites/WebApiCompatShimWebSite/Startup.cs index f459ebcabf..4e49717280 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Startup.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Startup.cs @@ -1,8 +1,8 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace WebApiCompatShimWebSite diff --git a/test/WebSites/WebApiCompatShimWebSite/hosting.json b/test/WebSites/WebApiCompatShimWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/WebApiCompatShimWebSite/hosting.json +++ b/test/WebSites/WebApiCompatShimWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/WebApiCompatShimWebSite/project.json b/test/WebSites/WebApiCompatShimWebSite/project.json index 908438d2fe..e54f19123f 100644 --- a/test/WebSites/WebApiCompatShimWebSite/project.json +++ b/test/WebSites/WebApiCompatShimWebSite/project.json @@ -6,11 +6,11 @@ "web": "WebApiCompatShimWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Mvc.WebApiCompatShim": "6.0.0-*", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Mvc.WebApiCompatShim": "6.0.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { }, diff --git a/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs b/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs index ea8ba7115e..70ba5ac3ce 100644 --- a/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs +++ b/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace XmlFormattersWebSite { diff --git a/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs b/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs index a6e7217a81..2917c5ca66 100644 --- a/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs +++ b/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using XmlFormattersWebSite.Models; namespace XmlFormattersWebSite.Controllers diff --git a/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs b/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs index 36bccc9e7c..f60955f4d5 100644 --- a/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs +++ b/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using XmlFormattersWebSite.Models; namespace XmlFormattersWebSite.Controllers diff --git a/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs b/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs index 5a90992907..6c96fc8f4f 100644 --- a/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs +++ b/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc; +using Microsoft.AspNetCore.Mvc; using XmlFormattersWebSite.Models; namespace XmlFormattersWebSite.Controllers diff --git a/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs b/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs index 188946c3b3..e5d4b6862f 100644 --- a/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs +++ b/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs @@ -2,8 +2,8 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace XmlFormattersWebSite { diff --git a/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs b/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs index 34d9a02b8e..81740545a5 100644 --- a/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs +++ b/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs @@ -3,7 +3,7 @@ using System; using XmlFormattersWebSite.Models; -using Microsoft.AspNet.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; namespace XmlFormattersWebSite { diff --git a/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs b/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs index 8f288f738f..4daefdb454 100644 --- a/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs +++ b/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; using XmlFormattersWebSite.Models; namespace XmlFormattersWebSite diff --git a/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs b/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs index 6f21ab8227..0409ab62a7 100644 --- a/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs +++ b/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Mvc.Formatters.Xml; +using Microsoft.AspNetCore.Mvc.Formatters.Xml; using XmlFormattersWebSite.Models; namespace XmlFormattersWebSite diff --git a/test/WebSites/XmlFormattersWebSite/Startup.cs b/test/WebSites/XmlFormattersWebSite/Startup.cs index 05a4bad432..98e3519982 100644 --- a/test/WebSites/XmlFormattersWebSite/Startup.cs +++ b/test/WebSites/XmlFormattersWebSite/Startup.cs @@ -1,10 +1,10 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Builder; -using Microsoft.AspNet.Hosting; -using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Formatters; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; diff --git a/test/WebSites/XmlFormattersWebSite/hosting.json b/test/WebSites/XmlFormattersWebSite/hosting.json index 95505372fa..26fd5141aa 100644 --- a/test/WebSites/XmlFormattersWebSite/hosting.json +++ b/test/WebSites/XmlFormattersWebSite/hosting.json @@ -1,3 +1,3 @@ -{ - "server": "Microsoft.AspNet.Server.Kestrel" +{ + "server": "Microsoft.AspNetCore.Server.Kestrel" } \ No newline at end of file diff --git a/test/WebSites/XmlFormattersWebSite/project.json b/test/WebSites/XmlFormattersWebSite/project.json index df6cac572b..0cbe434d28 100644 --- a/test/WebSites/XmlFormattersWebSite/project.json +++ b/test/WebSites/XmlFormattersWebSite/project.json @@ -6,11 +6,11 @@ "web": "XmlFormattersWebSite" }, "dependencies": { - "Microsoft.AspNet.Mvc": "6.0.0-*", - "Microsoft.AspNet.Mvc.Formatters.Xml": "6.0.0-*", - "Microsoft.AspNet.Mvc.TestConfiguration": "1.0.0", - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*" + "Microsoft.AspNetCore.Mvc": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.Formatters.Xml": "6.0.0-*", + "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "dnx451": { },