aspnetcore/test/WebSites/RazorPagesWebSite
Doug Bunting 5e245da326
Add compatibility switch controlling parameter metadata and top-level validation
- #7413 part 1 of 2
- made all `ModelMetadataProvider` and `ObjectModelValidator`-specific code conditional
  - fortunately, `MvcOptions` easy to get; affected code is primarily `internal` or pub-`Internal`
  - remove unnecessary `ModelMetadataProvider` use in `ApiBehaviorApplicationModelProvider`
- run integration and functional tests with `CompatibilityVersion.Version_2_1`
  - functional test change depends on @javiercn's recent #7541 fix
  - remove test code now redundantly turning compatibility switches on

nits:
- correct spelling errors in `CompatibilitySwitch`
- take VS suggestions, mostly in test code
- rename methods in `ControllerBinderDelegateProviderTest` to match current API
- slightly refactor in `ApiBehaviorApplicationModelProvider`
2018-03-26 12:29:04 -07:00
..
Areas Add PageConvention overloads for areas 2018-01-18 08:21:21 -08:00
Controllers
Conventions Add DeclaredModelType to Razor pages 2018-01-25 16:00:54 -08:00
Models
Pages Add support for top level validation to Razor Pages 2018-02-14 14:39:25 -08:00
Services
TempData Make handler selector more flexible 2018-03-23 14:22:48 -07:00
Views/Shared Add support for areas to Razor Pages 2017-12-19 15:03:05 -08:00
CustomActionResult.cs
DefaultNamespace.cshtml
HandlerTestPage.cshtml
HelloWorld.cshtml
HelloWorldWithAuth.cshtml
HelloWorldWithHandler.cshtml
HelloWorldWithPageModelAttributeModel.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
HelloWorldWithPageModelAttributeModel.cshtml
HelloWorldWithPageModelHandler.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
HelloWorldWithPageModelHandler.cshtml
HelloWorldWithRoute.cshtml
InjectedPageProperties.cshtml
ModelAsFilter.cs
ModelAsFilter.cshtml
ModelHandlerTestModel.cs
ModelHandlerTestPage.cshtml
ModelWithAuthFilter.cs
ModelWithAuthFilter.cshtml
ModelWithPageFilter.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
ModelWithPageFilter.cshtml
ModelWithResponseCache.cs
ModelWithResponseCache.cshtml
NoPage.cshtml
OnGetView.cshtml
PageWithoutContent.cshtml
PathSet.cshtml
Program.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesWebSite.csproj
RedirectToController.cshtml
RouteData.cshtml
Show.cshtml Fix issues with RazorCompileOnBuild=true being default 2018-03-09 14:39:18 -08:00
SimpleForms.cshtml
Startup.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
StartupWithBasePath.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
TagHelpers.cshtml
_Root.cshtml
_ViewStart.cshtml Add support for areas to Razor Pages 2017-12-19 15:03:05 -08:00
readme.md

readme.md

RazorPagesWebSite

This web site is used for functional tests of the Razor Pages feature of MVC.