diff --git a/Directory.Build.targets b/Directory.Build.targets index 4ac8ecef98..aee13e9520 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -63,5 +63,6 @@ + diff --git a/build/buildorder.props b/build/buildorder.props index 76b9d518b3..34be9dedee 100644 --- a/build/buildorder.props +++ b/build/buildorder.props @@ -7,7 +7,6 @@ - diff --git a/build/dependencies.props b/build/dependencies.props index 57a0b7efa4..e2d436a1d5 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -105,6 +105,9 @@ 3.0.0-preview.18604.3 3.0.0-preview.18604.3 3.0.0-preview.18604.3 + + + 3.0.0-preview.18621.2 @@ -148,6 +151,7 @@ 2.1.1 2.2.0 2.2.0 + 2.0.0 2.2.1 2.2.0 5.2.6 diff --git a/build/repo.props b/build/repo.props index 0cb8c9d666..798b27743e 100644 --- a/build/repo.props +++ b/build/repo.props @@ -90,6 +90,7 @@ $(RepositoryRoot)src\Tools\**\*.*proj; $(RepositoryRoot)src\Middleware\**\*.*proj; $(RepositoryRoot)src\Razor\**\*.*proj; + $(RepositoryRoot)src\Mvc\**\*.*proj; " Exclude=" @(ProjectToExclude); diff --git a/build/submodules.props b/build/submodules.props index 1e139132e4..10ffb2b0d8 100644 --- a/build/submodules.props +++ b/build/submodules.props @@ -41,7 +41,6 @@ - diff --git a/eng/Baseline.Designer.props b/eng/Baseline.Designer.props index 70ce243290..0e89e7b9b9 100644 --- a/eng/Baseline.Designer.props +++ b/eng/Baseline.Designer.props @@ -459,6 +459,153 @@ + + + 2.2.0 + + + + + + + + 2.2.0 + + + + + 2.2.0 + + + + + + + 2.2.0 + + + + + + + + + + + + + + + + + + + + + 2.2.0 + + + + + + + + 2.2.0 + + + + + + + + + 2.2.0 + + + + + + + + 2.2.0 + + + + + + + 2.2.0 + + + + + + + + + + 2.2.0 + + + + + + + + + + + + + + + + + + + + + + + 2.2.0 + + + + + + + 2.2.0 + + + + + + + + + + + + 2.2.0 + + + + + + + + 2.2.0 + + + + + + + + + + + 2.2.0 @@ -471,6 +618,25 @@ + + + 2.2.0 + + + + + + + + + + + + + + + + 2.2.0 diff --git a/eng/Baseline.xml b/eng/Baseline.xml index 075e8e4d39..b71ba00510 100644 --- a/eng/Baseline.xml +++ b/eng/Baseline.xml @@ -59,7 +59,22 @@ build of ASP.NET Core 2.2.x. Update this list when preparing for a new patch. + + + + + + + + + + + + + + + diff --git a/eng/Dependencies.props b/eng/Dependencies.props index 4c546e4768..55dd265f52 100644 --- a/eng/Dependencies.props +++ b/eng/Dependencies.props @@ -21,11 +21,14 @@ and are generated based on the last package release. + + + @@ -53,8 +56,10 @@ and are generated based on the last package release. + + @@ -72,7 +77,9 @@ and are generated based on the last package release. + + @@ -80,10 +87,12 @@ and are generated based on the last package release. + + @@ -105,12 +114,15 @@ and are generated based on the last package release. + + + diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props index f89a94017f..985ad6d79f 100644 --- a/eng/ProjectReferences.props +++ b/eng/ProjectReferences.props @@ -60,7 +60,6 @@ - @@ -85,20 +84,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/eng/targets/Packaging.targets b/eng/targets/Packaging.targets index fefa42496b..a49a65b988 100644 --- a/eng/targets/Packaging.targets +++ b/eng/targets/Packaging.targets @@ -27,4 +27,16 @@ + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(MSBuildProjectName) + $(PackageVersion) + + + + diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets index 965da850bc..da076a33ca 100644 --- a/eng/targets/ResolveReferences.targets +++ b/eng/targets/ResolveReferences.targets @@ -86,7 +86,7 @@ <_ReferenceTemp Remove="@(_ReferenceTemp)" /> - + - - $(MSBuildThisFileDirectory)..\..\artifacts\ - $(ArtifactsDir)$(Configuration)\ - $(ArtifactsConfigurationDir)packages\ - $(BasePackageOutputPath)product\ - $(BasePackageOutputPath)internal\ - - - diff --git a/src/Mvc/Directory.Build.targets b/src/Mvc/Directory.Build.targets deleted file mode 100644 index f5a3f65909..0000000000 --- a/src/Mvc/Directory.Build.targets +++ /dev/null @@ -1,17 +0,0 @@ - - - $(MicrosoftNETCoreAppPackageVersion) - - - - - false - - $(ProductPackageOutputPath) - $(InternalPackageOutputPath) - - - diff --git a/src/Mvc/NuGetPackageVerifier.json b/src/Mvc/NuGetPackageVerifier.json deleted file mode 100644 index f551b83476..0000000000 --- a/src/Mvc/NuGetPackageVerifier.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "Default": { - "rules": [ - "DefaultCompositeRule" - ], - "packages": { - "Microsoft.Extensions.ApiDescription.Design": { - "Exclusions": { - "BUILD_ITEMS_FRAMEWORK": { - "*": "Package includes tool with different target frameworks." - }, - "SERVICING_ATTRIBUTE": { - "tools/Newtonsoft.Json.dll": "External assembly, not built as part of this process" - }, - "WRONG_PUBLICKEYTOKEN": { - "tools/Newtonsoft.Json.dll": "External assembly, not built as part of this process" - }, - "ASSEMBLY_INFORMATIONAL_VERSION_MISMATCH": { - "tools/Newtonsoft.Json.dll": "External assembly, not built as part of this process" - }, - "ASSEMBLY_FILE_VERSION_MISMATCH": { - "tools/Newtonsoft.Json.dll": "External assembly, not built as part of this process" - }, - "ASSEMBLY_VERSION_MISMATCH": { - "tools/Newtonsoft.Json.dll": "External assembly, not built as part of this process" - } - } - } - } - } -} diff --git a/src/Mvc/benchmarkapps/BasicApi/BasicApi.csproj b/src/Mvc/benchmarkapps/BasicApi/BasicApi.csproj index a9289bc2e0..ee86ba6e1d 100644 --- a/src/Mvc/benchmarkapps/BasicApi/BasicApi.csproj +++ b/src/Mvc/benchmarkapps/BasicApi/BasicApi.csproj @@ -7,6 +7,7 @@ $(DefineConstants);__RemoveThisBitTo__GENERATE_SQL_SCRIPTS CS8002;$(WarningsNotAsErrors) + true @@ -24,14 +25,14 @@ - - - - + + + + - - - + + + - $(DefineConstants);__RemoveThisBitTo__GENERATE_SQL_SCRIPTS CS8002;$(WarningsNotAsErrors) + true @@ -24,24 +25,24 @@ - - - - - + + + + + - + - - + diff --git a/src/Mvc/benchmarkapps/RazorRendering/RazorRendering.csproj b/src/Mvc/benchmarkapps/RazorRendering/RazorRendering.csproj index 93debc2c00..c6c4324285 100644 --- a/src/Mvc/benchmarkapps/RazorRendering/RazorRendering.csproj +++ b/src/Mvc/benchmarkapps/RazorRendering/RazorRendering.csproj @@ -2,27 +2,28 @@ netcoreapp3.0 $(BenchmarksTargetFramework) + true - - - + + + - + - - + diff --git a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj index 358fcfa962..b29ceedc03 100644 --- a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj +++ b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance.Views/Microsoft.AspNetCore.Mvc.Performance.Views.csproj @@ -6,11 +6,12 @@ false <_EnableAllInclusiveRazorSdk>true + true - - + + diff --git a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj index c4cbacc80a..2f9df75b5a 100644 --- a/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj +++ b/src/Mvc/benchmarks/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj @@ -8,16 +8,10 @@ - + - - - - - - - - + + diff --git a/src/Mvc/build/dependencies.props b/src/Mvc/build/dependencies.props deleted file mode 100644 index f5be7df1e7..0000000000 --- a/src/Mvc/build/dependencies.props +++ /dev/null @@ -1,104 +0,0 @@ - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - 0.9.9 - 0.10.13 - 3.0.0-preview.18572.1 - 3.0.0-preview.18572.1 - 3.0.0-preview.18572.1 - 0.47.1 - 2.1.1.1 - 2.1.4 - 3.0.0-preview.18617.1 - 3.0.0-preview.18605.1 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview.18605.1 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 2.0.0 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18605-0080 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18619-0194 - 3.0.0-preview.18605.1 - 3.0.0-preview-18619-0194 - 5.2.6 - 15.8.166 - 2.8.0 - 2.8.0 - 3.0.0-preview-18605-0080 - 1.7.0 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview-27122-01 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview.18617.1 - 3.0.0-preview-27122-01 - 3.0.0-preview-18619-0194 - 3.0.0-preview-18605-0080 - 15.6.1 - 4.10.0 - 2.0.3 - 1.0.2 - 12.0.1 - 4.6.0-preview.18604.2 - 4.6.0-preview.18604.2 - 4.3.2 - 4.6.0-preview.18604.2 - 0.10.0 - 2.3.1 - 2.4.0 - - - - diff --git a/src/Mvc/build/repo.props b/src/Mvc/build/repo.props deleted file mode 100644 index 2e58a82120..0000000000 --- a/src/Mvc/build/repo.props +++ /dev/null @@ -1,23 +0,0 @@ - - - - - false - - - - true - true - - - - - - - - - - - - - diff --git a/src/Mvc/build/sources.props b/src/Mvc/build/sources.props deleted file mode 100644 index 9215df9751..0000000000 --- a/src/Mvc/build/sources.props +++ /dev/null @@ -1,17 +0,0 @@ - - - - - $(DotNetRestoreSources) - - $(RestoreSources); - https://dotnet.myget.org/F/dotnet-core/api/v3/index.json; - https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json; - https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; - - - $(RestoreSources); - https://api.nuget.org/v3/index.json; - - - diff --git a/src/Mvc/samples/MvcSandbox/MvcSandbox.csproj b/src/Mvc/samples/MvcSandbox/MvcSandbox.csproj index b1668d4793..9f144737c6 100644 --- a/src/Mvc/samples/MvcSandbox/MvcSandbox.csproj +++ b/src/Mvc/samples/MvcSandbox/MvcSandbox.csproj @@ -9,14 +9,14 @@ - - - - - - - - + + + + + + + + diff --git a/src/Mvc/src/Directory.Build.props b/src/Mvc/src/Directory.Build.props deleted file mode 100644 index a111c45919..0000000000 --- a/src/Mvc/src/Directory.Build.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/Mvc/src/GetDocumentInsider/GetDocumentInsider.csproj b/src/Mvc/src/GetDocumentInsider/GetDocumentInsider.csproj index d0ca03bbfd..6c6395955e 100644 --- a/src/Mvc/src/GetDocumentInsider/GetDocumentInsider.csproj +++ b/src/Mvc/src/GetDocumentInsider/GetDocumentInsider.csproj @@ -1,4 +1,4 @@ - + GetDocument.Insider GetDocument Command-line Tool inside man @@ -9,6 +9,7 @@ false $(ExperimentalVersionPrefix) $(ExperimentalVersionSuffix) + false diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj index 9e97605e8b..62e497bb4d 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC abstractions and interfaces for action invocation and dispatching, authorization, action filters, formatters, model binding, routing, validation, and more. @@ -15,12 +15,12 @@ Microsoft.AspNetCore.Mvc.IActionResult - - + + - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Analyzers/Microsoft.AspNetCore.Mvc.Analyzers.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Analyzers/Microsoft.AspNetCore.Mvc.Analyzers.csproj index ebb82309cd..23c329ceb2 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Analyzers/Microsoft.AspNetCore.Mvc.Analyzers.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Analyzers/Microsoft.AspNetCore.Mvc.Analyzers.csproj @@ -1,4 +1,4 @@ - + CSharp Analyzers for ASP.NET Core MVC. aspnetcore;aspnetcoremvc @@ -12,7 +12,7 @@ - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Api.Analyzers/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Api.Analyzers/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj index b155fac341..35900f7360 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Api.Analyzers/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Api.Analyzers/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj @@ -1,4 +1,4 @@ - + CSharp Analyzers for ASP.NET Core MVC. aspnetcore;aspnetcoremvc @@ -17,7 +17,7 @@ - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj index ae3e8a7f34..1e16a72cf3 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC API explorer functionality for discovering metadata such as the list of controllers and actions, and their URLs and allowed HTTP methods. @@ -9,7 +9,7 @@ - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj index 02e20b65df..ed0ec60fec 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC core components. Contains common action result types, attribute routing, application model conventions, API explorer, application parts, filters, formatters, model binding, and more. @@ -27,28 +27,27 @@ Microsoft.AspNetCore.Mvc.RouteAttribute - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj index 59ab59c696..3f9681beb5 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC cross-origin resource sharing (CORS) features. @@ -9,9 +9,9 @@ - + - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj index a1e363328f..a716acc0a4 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC metadata and validation system using System.ComponentModel.DataAnnotations. @@ -9,9 +9,9 @@ - + - - + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj index a40c84a6c8..6d5677ebcd 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC formatters for JSON input and output and for JSON PATCH input using Json.NET. @@ -13,8 +13,8 @@ - + - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj index 62409ab4fb..e73b3b5f01 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC formatters for XML input and output using DataContractSerializer and XmlSerializer. @@ -9,6 +9,6 @@ - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj index f0a687e90c..0a16e8ddd3 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC features that enable globalization and localization of applications. @@ -12,11 +12,11 @@ Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer - + - - - + + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj index 6936a83ba6..1221665e7e 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC Razor view engine for CSHTML files. @@ -9,11 +9,10 @@ - - - - - + + + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj index fef57ee4d1..03cede054b 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC Razor Pages. @@ -9,7 +9,7 @@ - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj index 082cb972b8..5fef110490 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC default tag helpers. Contains tag helpers for anchor tags, HTML input elements, caching, scripts, links (for CSS), and more. @@ -13,12 +13,12 @@ - + - - - - - + + + + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj index 275552fbb8..5ea627fc00 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj @@ -1,4 +1,4 @@ - + Support for writing functional tests for MVC applications. @@ -10,11 +10,11 @@ - + - + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj index f1c9951d7b..8fcab3e0cb 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC view rendering features. Contains common types used in most MVC applications as well as view rendering features such as view engines, views, view components, and HTML helpers. @@ -14,15 +14,15 @@ Microsoft.AspNetCore.Mvc.ViewComponent - - - + + + - - - - - + + + + + diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj index 7d6d67619d..8dd6d2b434 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj @@ -1,4 +1,4 @@ - + ASP.NET Core MVC is a web framework that gives you a powerful, patterns-based way to build dynamic websites and web APIs. ASP.NET Core MVC enables a clean separation of concerns and gives you full control over markup. @@ -9,18 +9,17 @@ - - - - - - - - - - - - + + + + + + + + + + + diff --git a/src/Mvc/src/Microsoft.Extensions.ApiDescription.Design/Microsoft.Extensions.ApiDescription.Design.csproj b/src/Mvc/src/Microsoft.Extensions.ApiDescription.Design/Microsoft.Extensions.ApiDescription.Design.csproj index 6200c827ca..486fc9d28e 100644 --- a/src/Mvc/src/Microsoft.Extensions.ApiDescription.Design/Microsoft.Extensions.ApiDescription.Design.csproj +++ b/src/Mvc/src/Microsoft.Extensions.ApiDescription.Design/Microsoft.Extensions.ApiDescription.Design.csproj @@ -1,4 +1,4 @@ - + $(GenerateNuspecDependsOn);PopulateNuspec diff --git a/src/Mvc/src/dotnet-getdocument/dotnet-getdocument.csproj b/src/Mvc/src/dotnet-getdocument/dotnet-getdocument.csproj index 9a8581a761..a0cbaa6851 100644 --- a/src/Mvc/src/dotnet-getdocument/dotnet-getdocument.csproj +++ b/src/Mvc/src/dotnet-getdocument/dotnet-getdocument.csproj @@ -1,4 +1,4 @@ - + dotnet-getdocument GetDocument Command-line Tool outside man @@ -11,6 +11,7 @@ false $(ExperimentalVersionPrefix) $(ExperimentalVersionSuffix) + false @@ -24,6 +25,6 @@ - + diff --git a/src/Mvc/test/Directory.Build.props b/src/Mvc/test/Directory.Build.props index 9a543914cb..4d50744c74 100644 --- a/src/Mvc/test/Directory.Build.props +++ b/src/Mvc/test/Directory.Build.props @@ -1,16 +1,8 @@ - + false $(MSBuildThisFileDirectory)MvcTests.ruleset - - - - - - - - diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj index 1ed6005bfe..2acc6e9c19 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -6,8 +6,6 @@ - - diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj index 3a2ae57aaf..7fe3a9c78f 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj @@ -1,13 +1,12 @@ - + netcoreapp3.0 - - - + + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj index dbb3c40b3c..320df56f66 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -10,12 +10,11 @@ - - + - - + + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.TestCommon/Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.TestCommon/Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj index 0e56ea905e..ad1bf4e7f1 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.TestCommon/Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Core.TestCommon/Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj @@ -1,18 +1,18 @@ - + netcoreapp3.0 + true - - - - + + + - - - + + + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj index 5ec87d03b4..0a569b4e6c 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj @@ -1,13 +1,12 @@ - + netcoreapp3.0 - + - diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj index 8c9aa34447..c68442982a 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -7,6 +7,6 @@ - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj index 8de15c1ec8..a3028a0d81 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj @@ -1,13 +1,12 @@ - + netcoreapp3.0 - + - diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj index 3727766f75..1f3f26cbf8 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -7,7 +7,7 @@ - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj index fc63a48f7a..58ea93b92e 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj @@ -1,4 +1,4 @@ - + @@ -23,7 +23,7 @@ - + @@ -49,17 +49,17 @@ - - + + - - + + - - + + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj index 4092ea4c9b..06f9586e15 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj @@ -1,14 +1,14 @@ - + netcoreapp3.0 - + - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj index a86a4771bf..96d2eae020 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj @@ -1,11 +1,11 @@ - + netcoreapp3.0 - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj index 4c14003842..c45202b846 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -12,11 +12,11 @@ - + - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj index a3dd350807..64044bd236 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj @@ -1,15 +1,15 @@ - + netcoreapp3.0 - + - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj index f53031d005..c48b3f2d5e 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -9,7 +9,7 @@ - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj index 76b0659068..b2ddfa97da 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -10,9 +10,9 @@ - - + + - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj index f1a5789335..77ae64a3b6 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj @@ -1,10 +1,11 @@ - + netcoreapp3.0 + true - + diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj index a1c96b36e2..b6fd050720 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Views.TestCommon/Microsoft.AspNetCore.Mvc.Views.TestCommon.csproj b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Views.TestCommon/Microsoft.AspNetCore.Mvc.Views.TestCommon.csproj index 2243f4840d..d293585f94 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.Views.TestCommon/Microsoft.AspNetCore.Mvc.Views.TestCommon.csproj +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.Views.TestCommon/Microsoft.AspNetCore.Mvc.Views.TestCommon.csproj @@ -1,17 +1,16 @@ - + netcoreapp3.0 + true - - + - - - + + diff --git a/src/Mvc/test/Mvc.Analyzers.Test/Mvc.Analyzers.Test.csproj b/src/Mvc/test/Mvc.Analyzers.Test/Mvc.Analyzers.Test.csproj index 237ebfb2a9..46e2c45c0e 100644 --- a/src/Mvc/test/Mvc.Analyzers.Test/Mvc.Analyzers.Test.csproj +++ b/src/Mvc/test/Mvc.Analyzers.Test/Mvc.Analyzers.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -11,12 +11,11 @@ - - + + - - - + + diff --git a/src/Mvc/test/Mvc.Api.Analyzers.Test/Mvc.Api.Analyzers.Test.csproj b/src/Mvc/test/Mvc.Api.Analyzers.Test/Mvc.Api.Analyzers.Test.csproj index a930612f08..0736e2ddee 100644 --- a/src/Mvc/test/Mvc.Api.Analyzers.Test/Mvc.Api.Analyzers.Test.csproj +++ b/src/Mvc/test/Mvc.Api.Analyzers.Test/Mvc.Api.Analyzers.Test.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -11,12 +11,11 @@ - - + + - - - + + diff --git a/src/Mvc/test/Mvc.Api.Analyzers.Test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs b/src/Mvc/test/Mvc.Api.Analyzers.Test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs index fa410dc115..65d7167e6c 100644 --- a/src/Mvc/test/Mvc.Api.Analyzers.Test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs +++ b/src/Mvc/test/Mvc.Api.Analyzers.Test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs @@ -4,6 +4,7 @@ namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { public class Home : PageModel { +#pragma warning disable MVC1001 [ProducesResponseType(302)] public IActionResult OnPost(int id) { @@ -14,5 +15,6 @@ namespace Microsoft.AspNetCore.Mvc.Api.Analyzers return Page(); } +#pragma warning restore MVC1001 } } diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj index e42a291c4b..d77acdb16a 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj @@ -2,14 +2,15 @@ netcoreapp3.0 + true - - + + - - - + + + diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj b/src/Mvc/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj index bc316214fd..750e8fd29b 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj @@ -2,14 +2,15 @@ netcoreapp3.0 + true - + - - - - + + + + diff --git a/src/Mvc/test/WebSites/BasicWebSite/BasicWebSite.csproj b/src/Mvc/test/WebSites/BasicWebSite/BasicWebSite.csproj index 2db50ece1d..b7802698bb 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/BasicWebSite.csproj +++ b/src/Mvc/test/WebSites/BasicWebSite/BasicWebSite.csproj @@ -2,6 +2,7 @@ netcoreapp3.0 + true @@ -9,25 +10,25 @@ - - + + - - + + - - + + - - - - - - - + + + + + + + diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllersFromServicesClassLibrary.csproj b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllersFromServicesClassLibrary.csproj index 2c36d87e0c..b4018b4d78 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllersFromServicesClassLibrary.csproj +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllersFromServicesClassLibrary.csproj @@ -3,9 +3,10 @@ netcoreapp3.0 true + true - + diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj index f2852b4b07..e3b0a4bd74 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj @@ -2,16 +2,18 @@ netcoreapp3.0 + true - - - - - - + + + + + + + diff --git a/src/Mvc/test/WebSites/CorsWebSite/CorsWebSite.csproj b/src/Mvc/test/WebSites/CorsWebSite/CorsWebSite.csproj index 49e1d22b40..87070b5059 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/CorsWebSite.csproj +++ b/src/Mvc/test/WebSites/CorsWebSite/CorsWebSite.csproj @@ -2,15 +2,16 @@ netcoreapp3.0 + true - - + + - - - - + + + + diff --git a/src/Mvc/test/WebSites/Directory.Build.props b/src/Mvc/test/WebSites/Directory.Build.props index c1b2f8c824..2ec275baa1 100644 --- a/src/Mvc/test/WebSites/Directory.Build.props +++ b/src/Mvc/test/WebSites/Directory.Build.props @@ -1,4 +1,4 @@ - + diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj index 47bf8c66b9..2b024ec6ed 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj @@ -5,14 +5,15 @@ full false + true - + - - - - + + + + diff --git a/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj b/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj index b1a2c728a5..6545626695 100644 --- a/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj +++ b/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj @@ -2,6 +2,8 @@ netcoreapp3.0 + false + true @@ -11,12 +13,12 @@ - + - - - - + + + + diff --git a/src/Mvc/test/WebSites/FilesWebSite/FilesWebSite.csproj b/src/Mvc/test/WebSites/FilesWebSite/FilesWebSite.csproj index 04a7f86017..a56a9494f0 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/FilesWebSite.csproj +++ b/src/Mvc/test/WebSites/FilesWebSite/FilesWebSite.csproj @@ -2,6 +2,7 @@ netcoreapp3.0 + true @@ -10,11 +11,11 @@ - + - - - - + + + + diff --git a/src/Mvc/test/WebSites/FormatterWebSite/FormatterWebSite.csproj b/src/Mvc/test/WebSites/FormatterWebSite/FormatterWebSite.csproj index e42a291c4b..d77acdb16a 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/FormatterWebSite.csproj +++ b/src/Mvc/test/WebSites/FormatterWebSite/FormatterWebSite.csproj @@ -2,14 +2,15 @@ netcoreapp3.0 + true - - + + - - - + + + diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj b/src/Mvc/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj index bc316214fd..07d3d339b8 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj @@ -2,14 +2,15 @@ netcoreapp3.0 + true - + + + + - - - - + diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/AtViewModel.cshtml b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/AtViewModel.cshtml index 3706c6cdd2..e2b622f032 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/AtViewModel.cshtml +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/AtViewModel.cshtml @@ -21,7 +21,7 @@ @Html.DisplayFor(m => m)
- @Html.Partial("PartialForViewModel") + @(await Html.PartialAsync("PartialForViewModel"))
@(await Component.InvokeAsync()) diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/DisplayTemplates/Int64 - LackModel.cshtml b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/DisplayTemplates/Int64 - LackModel.cshtml index 92c0267af8..0028493f0f 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/DisplayTemplates/Int64 - LackModel.cshtml +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/DisplayTemplates/Int64 - LackModel.cshtml @@ -15,7 +15,7 @@ }
- @Html.Partial(partialViewName: "LackModel.cshtml") + @(await Html.PartialAsync(partialViewName: "LackModel.cshtml"))
@(await Component.InvokeAsync()) diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/ViewModel.cshtml b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/ViewModel.cshtml index bf3f5e64d9..d647c0ccc5 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/ViewModel.cshtml +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Views/CheckViewData/ViewModel.cshtml @@ -24,7 +24,7 @@ @Html.DisplayFor(m => m, templateName: "LackModel")
- @Html.Partial(partialViewName: "DisplayTemplates/LackModel.cshtml") + @(await Html.PartialAsync(partialViewName: "DisplayTemplates/LackModel.cshtml"))
@(await Component.InvokeAsync()) diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite.PrecompiledViews/RazorBuildWebSite.PrecompiledViews.csproj b/src/Mvc/test/WebSites/RazorBuildWebSite.PrecompiledViews/RazorBuildWebSite.PrecompiledViews.csproj index d6ea8aeef0..3f712b583f 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite.PrecompiledViews/RazorBuildWebSite.PrecompiledViews.csproj +++ b/src/Mvc/test/WebSites/RazorBuildWebSite.PrecompiledViews/RazorBuildWebSite.PrecompiledViews.csproj @@ -1,12 +1,13 @@ - + netcoreapp3.0 $(DefineConstants) + true - + diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite.Views/RazorBuildWebSite.Views.csproj b/src/Mvc/test/WebSites/RazorBuildWebSite.Views/RazorBuildWebSite.Views.csproj index d6ea8aeef0..3f712b583f 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite.Views/RazorBuildWebSite.Views.csproj +++ b/src/Mvc/test/WebSites/RazorBuildWebSite.Views/RazorBuildWebSite.Views.csproj @@ -1,12 +1,13 @@ - + netcoreapp3.0 $(DefineConstants) + true - + diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/RazorBuildWebSite.csproj b/src/Mvc/test/WebSites/RazorBuildWebSite/RazorBuildWebSite.csproj index 334fbee131..90d4eb16d2 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/RazorBuildWebSite.csproj +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/RazorBuildWebSite.csproj @@ -1,24 +1,26 @@ - + netcoreapp3.0 $(DefineConstants) false + true - + - - - - - + + + + + + diff --git a/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj b/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj index d0c00e364c..110ba0c8cc 100644 --- a/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj +++ b/src/Mvc/test/WebSites/RazorPagesClassLibrary/RazorPagesClassLibrary.csproj @@ -6,12 +6,11 @@ false <_EnableAllInclusiveRazorSdk>true + true - - - + diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/SearchInPages.cshtml b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/SearchInPages.cshtml index 9e0c846031..99cd541a61 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/SearchInPages.cshtml +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/SearchInPages.cshtml @@ -1,2 +1,2 @@ @page -@Html.Partial("_FileInShared") \ No newline at end of file +@(await Html.PartialAsync("_FileInShared")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj b/src/Mvc/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj index b239857a9b..5b9dfef8cb 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj @@ -2,16 +2,18 @@ netcoreapp3.0 + true - + - - - - - + + + + + + diff --git a/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/Index.cshtml b/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/Index.cshtml index 4b7d8ae335..0084534e52 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/Index.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/Index.cshtml @@ -1,3 +1,3 @@ -@Html.Partial("../EmbeddedShared/_Partial.cshtml") -@Html.Partial("_EmbeddedPartial") +@(await Html.PartialAsync("../EmbeddedShared/_Partial.cshtml")) +@(await Html.PartialAsync("_EmbeddedPartial")) Tag Helper Link diff --git a/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/RelativeNonPath.cshtml b/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/RelativeNonPath.cshtml index 1aca712209..03303e5f91 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/RelativeNonPath.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/EmbeddedResources/Views/EmbeddedViews/RelativeNonPath.cshtml @@ -1,2 +1,2 @@ @{ Layout = "../EmbeddedShared/_Layout"; } -@Html.Partial("./EmbeddedPartial") \ No newline at end of file +@(await Html.PartialAsync("./EmbeddedPartial")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/RazorWebSite.csproj b/src/Mvc/test/WebSites/RazorWebSite/RazorWebSite.csproj index 38916a14d6..0d933d664e 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/RazorWebSite.csproj +++ b/src/Mvc/test/WebSites/RazorWebSite/RazorWebSite.csproj @@ -3,6 +3,7 @@ netcoreapp3.0 $(DefineConstants);NETCOREAPP2_0_CUSTOM_DEFINE + true @@ -10,13 +11,14 @@ - + - - - - - - + + + + + + + diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/BackSlash/BackSlashView.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/BackSlash/BackSlashView.cshtml index e28dd6e75f..2685d9023f 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/BackSlash/BackSlashView.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/BackSlash/BackSlashView.cshtml @@ -3,4 +3,4 @@ Layout = "_Layout"; } Page -@Html.Partial("_BackSlashPartial") \ No newline at end of file +@(await Html.PartialAsync("_BackSlashPartial")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/ExpanderViews/Index.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/ExpanderViews/Index.cshtml index 0178074b3f..90beca3986 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/ExpanderViews/Index.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/ExpanderViews/Index.cshtml @@ -1 +1 @@ -@Html.Partial("_ExpanderPartial") \ No newline at end of file +@(await Html.PartialAsync("_ExpanderPartial")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/PartialWithModel.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/PartialWithModel.cshtml index 981fbb5c34..b5623ecf0f 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/PartialWithModel.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/PartialWithModel.cshtml @@ -1,3 +1,3 @@ @model Person @Model.Name -@Html.Partial("_Partial", Model.Address) \ No newline at end of file +@(await Html.PartialAsync("_Partial", Model.Address)) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/ViewPartialMissingSection.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/ViewPartialMissingSection.cshtml index 12619d26bf..bb6f49b30c 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/ViewPartialMissingSection.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/PartialViewEngine/ViewPartialMissingSection.cshtml @@ -1,4 +1,4 @@ @{ Layout = null; } -@Html.Partial("PartialMissingSection") \ No newline at end of file +@(await Html.PartialAsync("PartialMissingSection")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewEngine/SearchInPages.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewEngine/SearchInPages.cshtml index 3c2c59e986..a02bd71da0 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewEngine/SearchInPages.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewEngine/SearchInPages.cshtml @@ -1 +1 @@ -@Html.Partial("_SharedFromPages") +@(await Html.PartialAsync("_SharedFromPages")) diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewNameSpecification_Home/ViewWithPartials.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewNameSpecification_Home/ViewWithPartials.cshtml index b4396d7849..b1b7d27d9d 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewNameSpecification_Home/ViewWithPartials.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewNameSpecification_Home/ViewWithPartials.cshtml @@ -1,4 +1,4 @@ @{ var partial = (string)ViewData["Partial"]; } -@Html.Partial(partial) +@(await Html.PartialAsync(partial)) diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewWithPaths/Index.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewWithPaths/Index.cshtml index 46f7e96b35..3c9afbc493 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewWithPaths/Index.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewWithPaths/Index.cshtml @@ -2,5 +2,5 @@ @ViewContext.ExecutingFilePath @ViewContext.View.Path @await Component.InvokeAsync("ComponentForViewWithPaths") - @Html.Partial("_Partial") + @(await Html.PartialAsync("_Partial")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewsConsumingCompilationOptions/Index.cshtml b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewsConsumingCompilationOptions/Index.cshtml index 71684f7ea6..b85a43861c 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Views/ViewsConsumingCompilationOptions/Index.cshtml +++ b/src/Mvc/test/WebSites/RazorWebSite/Views/ViewsConsumingCompilationOptions/Index.cshtml @@ -1,3 +1,3 @@ @inject FrameworkSpecificHelper MyHelper @MyHelper.ExecuteOperation() -@Html.Partial("_Partial") \ No newline at end of file +@(await Html.PartialAsync("_Partial")) \ No newline at end of file diff --git a/src/Mvc/test/WebSites/RoutingWebSite/RoutingWebSite.csproj b/src/Mvc/test/WebSites/RoutingWebSite/RoutingWebSite.csproj index 8e30a60f34..c75b215a2f 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/RoutingWebSite.csproj +++ b/src/Mvc/test/WebSites/RoutingWebSite/RoutingWebSite.csproj @@ -2,6 +2,7 @@ netcoreapp3.0 + true @@ -9,11 +10,11 @@ - + + + + - - - - + diff --git a/src/Mvc/test/WebSites/SecurityWebSite/SecurityWebSite.csproj b/src/Mvc/test/WebSites/SecurityWebSite/SecurityWebSite.csproj index 6474adec51..c78ee19561 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/SecurityWebSite.csproj +++ b/src/Mvc/test/WebSites/SecurityWebSite/SecurityWebSite.csproj @@ -2,15 +2,16 @@ netcoreapp3.0 + true - + - - - - - + + + + + diff --git a/src/Mvc/test/WebSites/SimpleWebSite/SimpleWebSite.csproj b/src/Mvc/test/WebSites/SimpleWebSite/SimpleWebSite.csproj index 0327018a97..eaa0efc833 100644 --- a/src/Mvc/test/WebSites/SimpleWebSite/SimpleWebSite.csproj +++ b/src/Mvc/test/WebSites/SimpleWebSite/SimpleWebSite.csproj @@ -2,12 +2,13 @@ netcoreapp3.0 + true - + - - + + diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj index 2e074bd5e8..f969a9cf47 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj @@ -3,14 +3,15 @@ netcoreapp3.0 true + true - + - - - - + + + + diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersioningWebSite.csproj b/src/Mvc/test/WebSites/VersioningWebSite/VersioningWebSite.csproj index 02bb2b01e7..e2e026a1fb 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersioningWebSite.csproj +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersioningWebSite.csproj @@ -2,6 +2,7 @@ netcoreapp3.0 + true @@ -9,10 +10,10 @@ - + - - - + + + diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs deleted file mode 100644 index 083d9cb643..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/ActionSelectionFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Controllers; -using Microsoft.AspNetCore.Mvc.Filters; -using Newtonsoft.Json; - -namespace WebApiCompatShimWebSite -{ - public class ActionSelectionFilterAttribute : ActionFilterAttribute - { - public override void OnActionExecuted(ActionExecutedContext context) - { - var action = (ControllerActionDescriptor)context.ActionDescriptor; - context.HttpContext.Response.Headers.Add( - "ActionSelection", - new string[] - { - JsonConvert.SerializeObject(new - { - ActionName = action.ActionName, - ControllerName = action.ControllerName - }) - }); - - context.Result = new StatusCodeResult(StatusCodes.Status200OK); - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs deleted file mode 100644 index 0b3c694008..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionResults/ActionResultController.cs +++ /dev/null @@ -1,161 +0,0 @@ -// Copyright (c) .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; -using System.Net.Http; -using System.Text; -using System.Web.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Formatters; -using Newtonsoft.Json; - -namespace WebApiCompatShimWebSite -{ - public class ActionResultController : ApiController - { - private static readonly JsonSerializerSettings _indentedSettings; - - static ActionResultController() - { - _indentedSettings = JsonSerializerSettingsProvider.CreateSerializerSettings(); - _indentedSettings.Formatting = Formatting.Indented; - } - - public IActionResult GetBadRequest() - { - return BadRequest(); - } - - public IActionResult GetBadRequestMessage() - { - return BadRequest("Hello, world!"); - } - - public IActionResult GetBadRequestModelState() - { - ModelState.AddModelError("product.Name", "Name is required."); - return BadRequest(ModelState); - } - - public IActionResult GetConflict() - { - return Conflict(); - } - - public IActionResult GetContent() - { - return Content(HttpStatusCode.Ambiguous, CreateUser()); - } - - public IActionResult GetCreatedRelative() - { - return Created("5", CreateUser()); - } - - public IActionResult GetCreatedAbsolute() - { - return Created("/api/Blog/ActionResult/GetUser/5", CreateUser()); - } - - public IActionResult GetCreatedQualified() - { - return Created("http://localhost/api/Blog/ActionResult/5", CreateUser()); - } - - public IActionResult GetCreatedUri() - { - return Created(new Uri("/api/Blog/ActionResult/GetUser/5", UriKind.Relative), CreateUser()); - } - - public IActionResult GetCreatedAtRoute() - { - var values = new { controller = "ActionResult", action = "GetUser", id = 5 }; - return CreatedAtRoute("named-action", values, CreateUser()); - } - - public IActionResult GetInternalServerError() - { - return InternalServerError(); - } - - public IActionResult GetInternalServerErrorException() - { - return InternalServerError(new Exception("Error not passed to client.")); - } - - public IActionResult GetJson() - { - return Json(CreateUser()); - } - - public IActionResult GetJsonSettings() - { - return Json(CreateUser(), _indentedSettings); - } - - public IActionResult GetJsonSettingsEncoding() - { - return Json(CreateUser(), _indentedSettings, Encoding.UTF32); - } - - public IActionResult GetNotFound() - { - return NotFound(); - } - - public IActionResult GetOk() - { - return Ok(); - } - - public IActionResult GetOkContent() - { - return Ok(CreateUser()); - } - - public IActionResult GetRedirectString() - { - // strings must be absolute URIs - return Redirect("http://localhost/api/Users"); - } - - public IActionResult GetRedirectUri() - { - // Uris can be absolute or relative - return Redirect(new Uri("api/Blog", UriKind.RelativeOrAbsolute)); - } - - public IActionResult GetRedirectUrlUsingRouteName() - { - return RedirectToRoute("named-action", new { controller = "BasicApi", action = "WriteToHttpContext" }); - } - - public IActionResult GetResponseMessage() - { - var response = new HttpResponseMessage(HttpStatusCode.OK); - response.Headers.Add("X-Test", "Hello"); - - return ResponseMessage(response); - } - - public IActionResult GetStatusCode() - { - return StatusCode(HttpStatusCode.PaymentRequired); - } - - // Used for generating links - public User GetUser(int id) - { - return CreateUser(); - } - - private User CreateUser() - { - return new User() - { - Name = "Test User", - }; - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs deleted file mode 100644 index 563304e06f..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) .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 System.Web.Http; - -namespace WebApiCompatShimWebSite -{ - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. - [ActionSelectionFilter] - public class EnumParameterOverloadsController : ApiController - { - public IEnumerable Get() - { - return new string[] { "get" }; - } - - public string GetWithEnumParameter(UserKind scope) - { - return scope.ToString(); - } - - public string GetWithTwoEnumParameters([FromUri]UserKind level, UserKind kind) - { - return level.ToString() + kind.ToString(); - } - - public string GetWithNullableEnumParameter(TraceLevel? level) - { - return level.ToString(); - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs deleted file mode 100644 index c920ac4274..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) .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.Web.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. - [ActionSelectionFilter] - public class ParameterAttributeController : ApiController - { - public User GetUserByMyId(int myId) { return null; } - public User GetUser([FromUri(Name = "id")] int myId) { return null; } - public List PostUserNameFromUri(int id, [FromUri]string name) { return null; } - public List PostUserNameFromBody(int id, [FromBody] string name) { return null; } - public void DeleteUserWithNullableIdAndName(int? id, string name) { } - public void DeleteUser(string address) { } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs deleted file mode 100644 index 26a43386aa..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) .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.Web.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. - [ActionSelectionFilter] - public class TestController : ApiController - { - public User GetUser(int id) { return null; } - public List GetUsers() { return null; } - - public List GetUsersByName(string name) { return null; } - - [AcceptVerbs("PATCH")] - public void PutUser(User user) { } - - public User GetUserByNameAndId(string name, int id) { return null; } - public User GetUserByNameAndAge(string name, int age) { return null; } - public User GetUserByNameAgeAndSsn(string name, int age, int ssn) { return null; } - public User GetUserByNameIdAndSsn(string name, int id, int ssn) { return null; } - public User GetUserByNameAndSsn(string name, int ssn) { return null; } - public User PostUser(User user) { return null; } - public User PostUserByNameAndAge(string name, int age) { return null; } - public User PostUserByName(string name) { return null; } - public User PostUserByNameAndAddress(string name, UserAddress address) { return null; } - public User DeleteUserByOptName(string name = null) { return null; } - public User DeleteUserByIdAndOptName(int id, string name = "DefaultName") { return null; } - public User DeleteUserByIdNameAndAge(int id, string name, int age) { return null; } - public User DeleteUserById_Email_OptName_OptPhone(int id, string email, string name = null, int phone = 0) { return null; } - public User DeleteUserById_Email_Height_OptName_OptPhone(int id, string email, double height, string name = "DefaultName", int? phone = null) { return null; } - public void Head_Id_OptSize_OptIndex(int id, int size = 10, int index = 0) { } - public void Head() { } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs deleted file mode 100644 index eb1f362164..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsActionNameController.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) .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.Web.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - // The verb is still inferred by the METHOD NAME not the action name. - [ActionSelectionFilter] - public class WebAPIActionConventionsActionNameController : ApiController - { - [ActionName("GetItems")] - public void PostItems() - { - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsController.cs deleted file mode 100644 index 9d4747c600..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsController.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) .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.Web.Http; - -namespace WebApiCompatShimWebSite -{ - // Each of these is mapped to an unnamed action with the corresponding http verb, and also - // a named action with the corresponding http verb. - [ActionSelectionFilter] - public class WebAPIActionConventionsController : ApiController - { - public void GetItems() - { - } - - public void PostItems() - { - } - - public void PutItems() - { - } - - public void DeleteItems() - { - } - - public void PatchItems() - { - } - - public void HeadItems() - { - } - - public void OptionsItems() - { - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsDefaultPostController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsDefaultPostController.cs deleted file mode 100644 index 5ab7351f19..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsDefaultPostController.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .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.Web.Http; - -namespace WebApiCompatShimWebSite -{ - // This action only accepts POST by default - [ActionSelectionFilter] - public class WebAPIActionConventionsDefaultPostController : ApiController - { - public void DefaultVerbIsPost() - { - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs deleted file mode 100644 index c293d99056..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/WebAPIActionConventionsVerbOverrideController.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) .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.Web.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - // The verb is overridden by the attribute - [ActionSelectionFilter] - public class WebAPIActionConventionsVerbOverrideController : ApiController - { - [HttpGet] - public void PostItems() - { - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs deleted file mode 100644 index ea8c0ee813..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/BasicApiController.cs +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) .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.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; -using System.Web.Http; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.WebApiCompatShim; -using Microsoft.Extensions.Options; - -namespace WebApiCompatShimWebSite -{ - public class BasicApiController : ApiController - { - // Verifies property activation - [HttpGet] - public async Task WriteToHttpContext() - { - var message = string.Format( - "Hello, {0} from {1}", - User.Identity?.Name ?? "Anonymous User", - ActionContext.ActionDescriptor.DisplayName); - - await Context.Response.WriteAsync(message); - return new EmptyResult(); - } - - // Verifies property activation - [HttpGet] - public async Task GenerateUrl() - { - var message = string.Format("Visited: {0}", Url.Action()); - - await Context.Response.WriteAsync(message); - return new EmptyResult(); - } - - // Verifies the default options configure formatters correctly. - [HttpGet] - public string[] GetFormatters([FromServices] IOptions optionsAccessor) - { - return optionsAccessor.Value.Formatters.Select(f => f.GetType().FullName).ToArray(); - } - - [HttpGet] - public bool ValidateObject_Passes() - { - var entity = new TestEntity { ID = 42 }; - Validate(entity); - return ModelState.IsValid; - } - - [HttpGet] - public object ValidateObjectFails() - { - var entity = new TestEntity { ID = -1 }; - Validate(entity); - return CreateValidationDictionary(); - } - - [HttpGet] - public object ValidateObjectWithPrefixFails(string prefix) - { - var entity = new TestEntity { ID = -1 }; - Validate(entity, prefix); - return CreateValidationDictionary(); - } - - private class TestEntity - { - [Range(0, 100)] - public int ID { get; set; } - } - - private Dictionary CreateValidationDictionary() - { - var result = new Dictionary(); - foreach (var item in ModelState) - { - var error = item.Value.Errors.SingleOrDefault(); - if (error != null) - { - var value = error.Exception != null ? - error.Exception.Message : - error.ErrorMessage; - result.Add(item.Key, value); - } - } - - return result; - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs deleted file mode 100644 index 000779dd63..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpRequestMessage/HttpRequestMessageController.cs +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) .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.Net; -using System.Net.Http; -using System.Net.Http.Formatting; -using System.Net.Http.Headers; -using System.Text; -using System.Threading.Tasks; -using System.Web.Http; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - public class HttpRequestMessageController : ApiController - { - public async Task EchoProperty() - { - await Echo(Request); - return new EmptyResult(); - } - - public async Task EchoParameter(HttpRequestMessage request) - { - if (!object.ReferenceEquals(request, Request)) - { - throw new InvalidOperationException(); - } - - await Echo(request); - return new EmptyResult(); - } - - public async Task EchoWithResponseMessage(HttpRequestMessage request) - { - var message = string.Format( - "{0} {1}", - request.Method.ToString(), - await request.Content.ReadAsStringAsync()); - - var response = request.CreateResponse(HttpStatusCode.OK); - response.Content = new StringContent(message); - response.Headers.TryAddWithoutValidation("X-Test", "Hello!"); - return response; - } - - public async Task EchoWithResponseMessageChunked(HttpRequestMessage request) - { - var message = string.Format( - "{0} {1}", - request.Method.ToString(), - await request.Content.ReadAsStringAsync()); - - var response = request.CreateResponse(HttpStatusCode.OK); - response.Content = new StringContent(message); - response.Headers.TransferEncodingChunked = true; - response.Headers.TryAddWithoutValidation("X-Test", "Hello!"); - return response; - } - - public HttpResponseMessage GetUser(string mediaType = null) - { - var user = new User() - { - Name = "Test User", - }; - - if (mediaType == null) - { - // This will perform content negotiation - return Request.CreateResponse(HttpStatusCode.OK, user); - } - else - { - // This will use the provided media type - return Request.CreateResponse(HttpStatusCode.OK, user, mediaType); - } - } - - public HttpResponseMessage GetUserJson() - { - var user = new User() - { - Name = "Test User", - }; - - return Request.CreateResponse(HttpStatusCode.OK, user, new JsonMediaTypeFormatter(), "text/json"); - } - - [HttpGet] - public HttpResponseMessage Fail() - { - // This will perform content negotiation - return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, "It failed."); - } - - [HttpGet] - public HttpResponseMessage ReturnByteArrayContent() - { - var response = new HttpResponseMessage(); - response.Content = new ByteArrayContent(Encoding.UTF8.GetBytes("Hello from ByteArrayContent!!")); - response.Content.Headers.ContentType = new MediaTypeHeaderValue("text/plain"); - - return response; - } - - [HttpGet] - public HttpResponseMessage ReturnStreamContent() - { - var response = new HttpResponseMessage(); - response.Content = new StreamContent(new MemoryStream(Encoding.UTF8.GetBytes("This content is from a file"))); - response.Content.Headers.ContentType = new MediaTypeHeaderValue("image/jpeg"); - response.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment"); - - return response; - } - - // NOTE: PushStreamContent's contract is to close the stream in order to signal - // that the user has done writing to it. However, the stream that is provided here is - // a wrapper delegating stream which actually doesn't close the actual response stream. - - [HttpGet] - public HttpResponseMessage ReturnPushStreamContentSync() - { - var response = new HttpResponseMessage(); - // Here we are using a non-Task returning action delegate - response.Content = new PushStreamContent((responseStream, httpContent, transportContext) => - { - using (var streamWriter = new StreamWriter(responseStream)) - { - streamWriter.Write("Hello from PushStreamContent Sync!!"); - } - }); - response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf"); - - return response; - } - - [HttpGet] - public HttpResponseMessage ReturnPushStreamContent() - { - var response = new HttpResponseMessage(); - response.Content = new PushStreamContent(async (responseStream, httpContent, transportContext) => - { - using (var streamWriter = new StreamWriter(responseStream)) - { - await streamWriter.WriteAsync("Hello from PushStreamContent!!"); - } - }); - response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf"); - - return response; - } - - [HttpGet] - public HttpResponseMessage ReturnPushStreamContentWithCustomHeaders() - { - var response = new HttpResponseMessage(); - response.Headers.Add("Multiple", new[] { "value1", "value2" }); - response.Content = new PushStreamContent(async (responseStream, httpContent, transportContext) => - { - using (var streamWriter = new StreamWriter(responseStream)) - { - await streamWriter.WriteAsync("Hello from PushStreamContent with custom headers!!"); - } - }); - - return response; - } - - private async Task Echo(HttpRequestMessage request) - { - var message = string.Format( - "{0} {1} {2} {3} {4}", - request.Method, - request.RequestUri.AbsoluteUri, - request.Headers.Host, - request.Content.Headers.ContentLength, - await request.Content.ReadAsStringAsync()); - - await Context.Response.WriteAsync(message); - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs deleted file mode 100644 index 5f1984664e..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/HttpResponseExceptionController.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) .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; -using System.Net.Http; -using System.Web.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; - -namespace WebApiCompatShimWebSite -{ - public class HttpResponseExceptionController : ApiController - { - [HttpGet] - public object ThrowsHttpResponseExceptionWithHttpStatusCode() - { - throw new HttpResponseException(HttpStatusCode.BadRequest); - } - - [HttpGet] - public object ThrowsHttpResponseExceptionWithHttpResponseMessage(string message) - { - var httpResponse = new HttpResponseMessage(); - httpResponse.Content = new StringContent(message); - throw new HttpResponseException(httpResponse); - } - - [TestActionFilter] - [HttpGet] - public object ThrowsHttpResponseExceptionEnsureGlobalFilterRunsLast() - { - throw new HttpResponseException(HttpStatusCode.BadRequest); - } - - // Runs before the HttpResponseExceptionActionFilter's OnActionExecuted. - [TestActionFilter(Order = int.MaxValue)] - [HttpGet] - public object ThrowsHttpResponseExceptionInjectAFilterToHandleHttpResponseException() - { - throw new HttpResponseException(HttpStatusCode.BadRequest); - } - } - - public class TestActionFilterAttribute : ActionFilterAttribute - { - public override void OnActionExecuted(ActionExecutedContext context) - { - if (!context.ExceptionHandled) - { - var httpResponseException = context.Exception as HttpResponseException; - if (httpResponseException != null) - { - context.Result = new NoContentResult(); - context.ExceptionHandled = true; - - // Null it out so that next filter do not handle it. - context.Exception = null; - } - } - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs deleted file mode 100644 index 46f259fd10..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/MvcController.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite -{ - // This is reachable via our MVC routes, but not webapi routes - public class MvcController : Controller - { - public string Index() - { - return "Hello, World!"; - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs deleted file mode 100644 index 9f02342567..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Controllers/ParameterBinding/EmployeesController.cs +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) .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.Web.Http; -using Microsoft.AspNetCore.Mvc; - -namespace WebApiCompatShimWebSite.Controllers.ParameterBinding -{ - public class EmployeesController : ApiController - { - public IActionResult PostByIdDefault(int id = -1) - { - return Ok(id); - } - - public IActionResult PostByIdModelBinder([ModelBinder] int id = -1) - { - return Ok(id); - } - - public IActionResult PostByIdFromQuery([FromQuery] int id = -1) - { - return Ok(id); - } - - public IActionResult PutEmployeeDefault(Employee employee) - { - return Ok(employee); - } - - public IActionResult PutEmployeeModelBinder([ModelBinder] Employee employee) - { - return Ok(employee); - } - - public IActionResult PutEmployeeBothDefault(string name, Employee employee) - { - employee.Name = name; - return Ok(employee); - } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/Employee.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/Employee.cs deleted file mode 100644 index bb8326bff4..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/Employee.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (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 WebApiCompatShimWebSite -{ - public class Employee - { - public int Id { get; set; } - - public string Name { get; set; } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/User.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/User.cs deleted file mode 100644 index 62b08d1912..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/User.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (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 WebApiCompatShimWebSite -{ - public class User - { - public string Name { get; set; } - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserAddress.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserAddress.cs deleted file mode 100644 index dd8a9a34ad..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserAddress.cs +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (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 WebApiCompatShimWebSite -{ - public class UserAddress - { - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserKind.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserKind.cs deleted file mode 100644 index b8ceb65939..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Models/UserKind.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (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 WebApiCompatShimWebSite -{ - public enum UserKind - { - Normal, - Admin, - SuperAdmin, - } -} \ No newline at end of file diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Startup.cs b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Startup.cs deleted file mode 100644 index b8dda25a9d..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/Startup.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) .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.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.DependencyInjection; - -namespace WebApiCompatShimWebSite -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - // Add MVC services to the services container - services.AddMvc() - .AddWebApiConventions() - .SetCompatibilityVersion(CompatibilityVersion.Latest) - .AddMvcOptions(options => options.EnableEndpointRouting = false); - } - - public void Configure(IApplicationBuilder app) - { - app.UseMvc(routes => - { - // Tests include different styles of WebAPI conventional routing and action selection - the prefix keeps - // them from matching too eagerly. - routes.MapWebApiRoute("named-action", "api/Blog/{controller}/{action}/{id?}"); - routes.MapWebApiRoute("unnamed-action", "api/Admin/{controller}/{id?}"); - routes.MapWebApiRoute("name-as-parameter", "api/Store/{controller}/{name?}"); - routes.MapWebApiRoute("extra-parameter", "api/Support/{extra}/{controller}/{id?}"); - - // This route can't access any of our webapi controllers - routes.MapRoute("default", "{controller}/{action}/{id?}"); - }); - } - - public static void Main(string[] args) - { - var host = CreateWebHostBuilder(args) - .Build(); - - host.Run(); - } - - public static IWebHostBuilder CreateWebHostBuilder(string[] args) => - new WebHostBuilder() - .UseContentRoot(Directory.GetCurrentDirectory()) - .UseStartup() - .UseKestrel() - .UseIISIntegration(); - } -} - diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj deleted file mode 100644 index fa96f2123e..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - netcoreapp3.0 - - - - - - - - - - - diff --git a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/readme.md b/src/Mvc/test/WebSites/WebApiCompatShimWebSite/readme.md deleted file mode 100644 index 2ab97802df..0000000000 --- a/src/Mvc/test/WebSites/WebApiCompatShimWebSite/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -WebApiCompatShimWebSite -=== - -This web site illustrates how to configure and use WebApiCompatShim to get `Web API 2.*` like behavior. Features which -are used include but are not limited to action results, action selection and parameter binding. diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj b/src/Mvc/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj index 8b439ab3b0..70fa3dd1e4 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj @@ -1,14 +1,15 @@  netcoreapp3.0 + true - - + + - - - + + + diff --git a/src/Mvc/version.props b/src/Mvc/version.props deleted file mode 100644 index 43ce0a32a4..0000000000 --- a/src/Mvc/version.props +++ /dev/null @@ -1,21 +0,0 @@ - - - 3.0.0 - alpha1 - t000 - a- - - $(VersionPrefix) - $(VersionPrefix)-$(VersionSuffix)-final - $(FeatureBranchVersionPrefix)$(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-')) - $(VersionSuffix)-$(BuildNumber) - - 0.1.0 - preview1 - - $(ExperimentalVersionPrefix) - $(ExperimentalVersionPrefix)-$(ExperimentalVersionSuffix)-final - $(FeatureBranchVersionPrefix)$(ExperimentalVersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-')) - $(ExperimentalVersionSuffix)-$(BuildNumber) - - diff --git a/src/Servers/IIS/IISIntegration.NoV1.sln b/src/Servers/IIS/IISIntegration.NoV1.sln index 4e82bfbad4..43cbf1fc02 100644 --- a/src/Servers/IIS/IISIntegration.NoV1.sln +++ b/src/Servers/IIS/IISIntegration.NoV1.sln @@ -30,8 +30,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server {46A8612B-418B-4D70-B3A7-A21DD0627473} = {46A8612B-418B-4D70-B3A7-A21DD0627473} EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration.Tests", "test\Microsoft.AspNetCore.Server.IISIntegration.Tests\Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj", "{4106DB10-E09F-480E-9CE6-B39235512EE6}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{7E80C58E-9CC8-450C-8A8D-94FC76428150}" ProjectSection(SolutionItems) = preProject build\applicationhost.config = build\applicationhost.config @@ -54,8 +52,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IISExpress.FunctionalTests" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NativeIISSample", "samples\NativeIISSample\NativeIISSample.csproj", "{9BC4AFCB-325D-4C81-8228-8CF301CE2F97}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InProcessWebSite", "test\testassets\InProcessWebSite\InProcessWebSite.csproj", "{679FA2A2-898B-4320-884E-C2D294A97CE1}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IIS", "src\Microsoft.AspNetCore.Server.IIS\Microsoft.AspNetCore.Server.IIS.csproj", "{46A8612B-418B-4D70-B3A7-A21DD0627473}" ProjectSection(ProjectDependencies) = postProject {EC82302F-D2F0-4727-99D1-EABC0DD9DC3B} = {EC82302F-D2F0-4727-99D1-EABC0DD9DC3B} @@ -64,11 +60,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server {D57EA297-6DC2-4BC0-8C91-334863327863} = {D57EA297-6DC2-4BC0-8C91-334863327863} EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StressTestWebSite", "test\testassets\StressTestWebSite\StressTestWebSite.csproj", "{13FD8F12-FFBE-4D01-B4AC-444F2994B04F}" - ProjectSection(ProjectDependencies) = postProject - {46A8612B-418B-4D70-B3A7-A21DD0627473} = {46A8612B-418B-4D70-B3A7-A21DD0627473} - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebSites", "WebSites", "{744ACDC6-F6A0-4FF9-9421-F25C5F2DC520}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonLibTests", "test\CommonLibTests\CommonLibTests.vcxproj", "{1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}" @@ -81,8 +72,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonLib", "src\AspNetCore EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IISLib", "src\AspNetCoreModuleV2\IISLib\IISLib.vcxproj", "{09D9D1D6-2951-4E14-BC35-76A23CF9391A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OutOfProcessWebSite", "test\testassets\OutOfProcessWebSite\OutOfProcessWebSite.csproj", "{42E60F88-E23F-417A-8143-0CCEC05E1D02}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{622D35C9-627B-466E-8D15-752968CC79AF}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IIS.Performance", "benchmarks\IIS.Performance\IIS.Performance.csproj", "{48F46909-E76A-4788-BCE1-E543C0E140FE}" @@ -113,10 +102,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IIS.BackwardsCompatibility. EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IIS.ForwardsCompatibility.FunctionalTests", "test\IIS.ForwardsCompatibility.FunctionalTests\IIS.ForwardsCompatibility.FunctionalTests.csproj", "{D1EA5D99-28FD-4197-81DE-17098846B38B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InProcessWebSite", "test\testassets\InProcessForwardsCompatWebSite\InProcessWebSite.csproj", "{BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestTasks", "test\testassets\TestTasks\TestTasks.csproj", "{2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InProcessWebSite", "test\testassets\InProcessWebSite\InProcessWebSite.csproj", "{E685D546-FDCD-4A4C-9183-728C308A9A9E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OutOfProcessWebSite", "test\testassets\OutOfProcessWebSite\OutOfProcessWebSite.csproj", "{CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StressTestWebSite", "test\testassets\StressTestWebSite\StressTestWebSite.csproj", "{7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MIcrosoft.AspNetCore.Server.IISIntegration.Tests", "test\IISIntegration.Tests\MIcrosoft.AspNetCore.Server.IISIntegration.Tests.csproj", "{ACCF17D6-CEA0-4008-8F36-70085163CAE7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -151,18 +146,6 @@ Global {8B3446E8-E6A8-4591-AA63-A95837C6E97C}.Release|x64.Build.0 = Release|Any CPU {8B3446E8-E6A8-4591-AA63-A95837C6E97C}.Release|x86.ActiveCfg = Release|Any CPU {8B3446E8-E6A8-4591-AA63-A95837C6E97C}.Release|x86.Build.0 = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|x64.ActiveCfg = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|x64.Build.0 = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|x86.ActiveCfg = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Debug|x86.Build.0 = Debug|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|Any CPU.Build.0 = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|x64.ActiveCfg = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|x64.Build.0 = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|x86.ActiveCfg = Release|Any CPU - {4106DB10-E09F-480E-9CE6-B39235512EE6}.Release|x86.Build.0 = Release|Any CPU {4E3E1F5C-CD52-4CC0-A35F-D1FA1685D2FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4E3E1F5C-CD52-4CC0-A35F-D1FA1685D2FA}.Debug|Any CPU.Build.0 = Debug|Any CPU {4E3E1F5C-CD52-4CC0-A35F-D1FA1685D2FA}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -187,18 +170,6 @@ Global {9BC4AFCB-325D-4C81-8228-8CF301CE2F97}.Release|x64.Build.0 = Release|x64 {9BC4AFCB-325D-4C81-8228-8CF301CE2F97}.Release|x86.ActiveCfg = Release|x86 {9BC4AFCB-325D-4C81-8228-8CF301CE2F97}.Release|x86.Build.0 = Release|x86 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|Any CPU.ActiveCfg = Debug|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|Any CPU.Build.0 = Debug|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|x64.ActiveCfg = Debug|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|x64.Build.0 = Debug|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|x86.ActiveCfg = Debug|x86 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Debug|x86.Build.0 = Debug|x86 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|Any CPU.ActiveCfg = Release|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|Any CPU.Build.0 = Release|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|x64.ActiveCfg = Release|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|x64.Build.0 = Release|x64 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|x86.ActiveCfg = Release|x86 - {679FA2A2-898B-4320-884E-C2D294A97CE1}.Release|x86.Build.0 = Release|x86 {46A8612B-418B-4D70-B3A7-A21DD0627473}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {46A8612B-418B-4D70-B3A7-A21DD0627473}.Debug|Any CPU.Build.0 = Debug|Any CPU {46A8612B-418B-4D70-B3A7-A21DD0627473}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -211,18 +182,6 @@ Global {46A8612B-418B-4D70-B3A7-A21DD0627473}.Release|x64.Build.0 = Release|Any CPU {46A8612B-418B-4D70-B3A7-A21DD0627473}.Release|x86.ActiveCfg = Release|Any CPU {46A8612B-418B-4D70-B3A7-A21DD0627473}.Release|x86.Build.0 = Release|Any CPU - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|Any CPU.ActiveCfg = Debug|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|Any CPU.Build.0 = Debug|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|x64.ActiveCfg = Debug|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|x64.Build.0 = Debug|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|x86.ActiveCfg = Debug|x86 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Debug|x86.Build.0 = Debug|x86 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|Any CPU.ActiveCfg = Release|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|Any CPU.Build.0 = Release|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x64.ActiveCfg = Release|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x64.Build.0 = Release|x64 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x86.ActiveCfg = Release|x86 - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x86.Build.0 = Release|x86 {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|Any CPU.ActiveCfg = Debug|Win32 {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|x64.ActiveCfg = Debug|x64 {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|x64.Build.0 = Debug|x64 @@ -263,18 +222,6 @@ Global {09D9D1D6-2951-4E14-BC35-76A23CF9391A}.Release|x64.Build.0 = Release|x64 {09D9D1D6-2951-4E14-BC35-76A23CF9391A}.Release|x86.ActiveCfg = Release|Win32 {09D9D1D6-2951-4E14-BC35-76A23CF9391A}.Release|x86.Build.0 = Release|Win32 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|Any CPU.ActiveCfg = Debug|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|Any CPU.Build.0 = Debug|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|x64.ActiveCfg = Debug|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|x64.Build.0 = Debug|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|x86.ActiveCfg = Debug|x86 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Debug|x86.Build.0 = Debug|x86 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|Any CPU.ActiveCfg = Release|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|Any CPU.Build.0 = Release|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|x64.ActiveCfg = Release|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|x64.Build.0 = Release|x64 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|x86.ActiveCfg = Release|x86 - {42E60F88-E23F-417A-8143-0CCEC05E1D02}.Release|x86.Build.0 = Release|x86 {48F46909-E76A-4788-BCE1-E543C0E140FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {48F46909-E76A-4788-BCE1-E543C0E140FE}.Debug|Any CPU.Build.0 = Debug|Any CPU {48F46909-E76A-4788-BCE1-E543C0E140FE}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -399,16 +346,6 @@ Global {D1EA5D99-28FD-4197-81DE-17098846B38B}.Release|x64.Build.0 = Release|Any CPU {D1EA5D99-28FD-4197-81DE-17098846B38B}.Release|x86.ActiveCfg = Release|Any CPU {D1EA5D99-28FD-4197-81DE-17098846B38B}.Release|x86.Build.0 = Release|Any CPU - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Debug|Any CPU.ActiveCfg = Debug|x86 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Debug|x64.ActiveCfg = Debug|x64 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Debug|x64.Build.0 = Debug|x64 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Debug|x86.ActiveCfg = Debug|x86 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Debug|x86.Build.0 = Debug|x86 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|Any CPU.ActiveCfg = Release|x86 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x64.ActiveCfg = Release|x64 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x64.Build.0 = Release|x64 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x86.ActiveCfg = Release|x86 - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x86.Build.0 = Release|x86 {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|Any CPU.Build.0 = Debug|Any CPU {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -421,6 +358,48 @@ Global {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x64.Build.0 = Release|Any CPU {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x86.ActiveCfg = Release|Any CPU {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x86.Build.0 = Release|Any CPU + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Debug|Any CPU.ActiveCfg = Debug|x86 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Debug|x64.ActiveCfg = Debug|x64 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Debug|x64.Build.0 = Debug|x64 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Debug|x86.ActiveCfg = Debug|x86 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Debug|x86.Build.0 = Debug|x86 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Release|Any CPU.ActiveCfg = Release|x86 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Release|x64.ActiveCfg = Release|x64 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Release|x64.Build.0 = Release|x64 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Release|x86.ActiveCfg = Release|x86 + {E685D546-FDCD-4A4C-9183-728C308A9A9E}.Release|x86.Build.0 = Release|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Debug|Any CPU.ActiveCfg = Debug|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Debug|x64.ActiveCfg = Debug|x64 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Debug|x64.Build.0 = Debug|x64 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Debug|x86.ActiveCfg = Debug|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Debug|x86.Build.0 = Debug|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Release|Any CPU.ActiveCfg = Release|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Release|x64.ActiveCfg = Release|x64 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Release|x64.Build.0 = Release|x64 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Release|x86.ActiveCfg = Release|x86 + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70}.Release|x86.Build.0 = Release|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Debug|Any CPU.ActiveCfg = Debug|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Debug|x64.ActiveCfg = Debug|x64 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Debug|x64.Build.0 = Debug|x64 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Debug|x86.ActiveCfg = Debug|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Debug|x86.Build.0 = Debug|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Release|Any CPU.ActiveCfg = Release|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Release|x64.ActiveCfg = Release|x64 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Release|x64.Build.0 = Release|x64 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Release|x86.ActiveCfg = Release|x86 + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE}.Release|x86.Build.0 = Release|x86 + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|x64.ActiveCfg = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|x64.Build.0 = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|x86.ActiveCfg = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Debug|x86.Build.0 = Debug|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|Any CPU.Build.0 = Release|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|x64.ActiveCfg = Release|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|x64.Build.0 = Release|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|x86.ActiveCfg = Release|Any CPU + {ACCF17D6-CEA0-4008-8F36-70085163CAE7}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -428,19 +407,15 @@ Global GlobalSection(NestedProjects) = preSolution {E4E2BDC4-A9C6-4AE9-B429-032EC83EDE64} = {C74B8F36-FD2F-45C9-9B8A-00E7CF0126A9} {8B3446E8-E6A8-4591-AA63-A95837C6E97C} = {04B1EDB6-E967-4D25-89B9-E6F8304038CD} - {4106DB10-E09F-480E-9CE6-B39235512EE6} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {4E3E1F5C-CD52-4CC0-A35F-D1FA1685D2FA} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {9BC4AFCB-325D-4C81-8228-8CF301CE2F97} = {C74B8F36-FD2F-45C9-9B8A-00E7CF0126A9} - {679FA2A2-898B-4320-884E-C2D294A97CE1} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} {46A8612B-418B-4D70-B3A7-A21DD0627473} = {04B1EDB6-E967-4D25-89B9-E6F8304038CD} - {13FD8F12-FFBE-4D01-B4AC-444F2994B04F} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {06CA2C2B-83B0-4D83-905A-E0C74790009E} = {04B1EDB6-E967-4D25-89B9-E6F8304038CD} {EC82302F-D2F0-4727-99D1-EABC0DD9DC3B} = {06CA2C2B-83B0-4D83-905A-E0C74790009E} {55494E58-E061-4C4C-A0A8-837008E72F85} = {06CA2C2B-83B0-4D83-905A-E0C74790009E} {09D9D1D6-2951-4E14-BC35-76A23CF9391A} = {06CA2C2B-83B0-4D83-905A-E0C74790009E} - {42E60F88-E23F-417A-8143-0CCEC05E1D02} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} {48F46909-E76A-4788-BCE1-E543C0E140FE} = {622D35C9-627B-466E-8D15-752968CC79AF} {D57EA297-6DC2-4BC0-8C91-334863327863} = {06CA2C2B-83B0-4D83-905A-E0C74790009E} {7F87406C-A3C8-4139-A68D-E4C344294A67} = {06CA2C2B-83B0-4D83-905A-E0C74790009E} @@ -452,8 +427,11 @@ Global {D17B7B35-5361-4A50-B499-E03E5C3CC095} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {582B07BC-73F4-4689-8557-B039298BD82C} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {D1EA5D99-28FD-4197-81DE-17098846B38B} = {EF30B533-D715-421A-92B7-92FEF460AC9C} - {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0} = {EF30B533-D715-421A-92B7-92FEF460AC9C} + {E685D546-FDCD-4A4C-9183-728C308A9A9E} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} + {CFC23E23-7AD5-4D7D-9F3C-DBD241231E70} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} + {7C0B25FC-DADA-489D-A3FB-F3D732FC8ECE} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} + {ACCF17D6-CEA0-4008-8F36-70085163CAE7} = {EF30B533-D715-421A-92B7-92FEF460AC9C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {DB4F868D-E1AE-4FD7-9333-69FA15B268C5} diff --git a/src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/IISExtensionTests.cs b/src/Servers/IIS/test/IISIntegration.Tests/IISExtensionTests.cs similarity index 100% rename from src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/IISExtensionTests.cs rename to src/Servers/IIS/test/IISIntegration.Tests/IISExtensionTests.cs diff --git a/src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/IISMiddlewareTests.cs b/src/Servers/IIS/test/IISIntegration.Tests/IISMiddlewareTests.cs similarity index 100% rename from src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/IISMiddlewareTests.cs rename to src/Servers/IIS/test/IISIntegration.Tests/IISMiddlewareTests.cs diff --git a/src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj b/src/Servers/IIS/test/IISIntegration.Tests/MIcrosoft.AspNetCore.Server.IISIntegration.Tests.csproj similarity index 100% rename from src/Servers/IIS/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj rename to src/Servers/IIS/test/IISIntegration.Tests/MIcrosoft.AspNetCore.Server.IISIntegration.Tests.csproj diff --git a/src/Servers/Kestrel/Kestrel/test/Microsoft.AspNetCore.Server.Kestrel.Tests.csproj b/src/Servers/Kestrel/Kestrel/test/Microsoft.AspNetCore.Server.Kestrel.Tests.csproj index 1a91bad913..cc07e55027 100644 --- a/src/Servers/Kestrel/Kestrel/test/Microsoft.AspNetCore.Server.Kestrel.Tests.csproj +++ b/src/Servers/Kestrel/Kestrel/test/Microsoft.AspNetCore.Server.Kestrel.Tests.csproj @@ -16,7 +16,7 @@ - +