- #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` |
||
|---|---|---|
| .. | ||
| Areas | ||
| Controllers | ||
| Conventions | ||
| Models | ||
| Pages | ||
| Services | ||
| TempData | ||
| Views/Shared | ||
| CustomActionResult.cs | ||
| DefaultNamespace.cshtml | ||
| HandlerTestPage.cshtml | ||
| HelloWorld.cshtml | ||
| HelloWorldWithAuth.cshtml | ||
| HelloWorldWithHandler.cshtml | ||
| HelloWorldWithPageModelAttributeModel.cs | ||
| HelloWorldWithPageModelAttributeModel.cshtml | ||
| HelloWorldWithPageModelHandler.cs | ||
| HelloWorldWithPageModelHandler.cshtml | ||
| HelloWorldWithRoute.cshtml | ||
| InjectedPageProperties.cshtml | ||
| ModelAsFilter.cs | ||
| ModelAsFilter.cshtml | ||
| ModelHandlerTestModel.cs | ||
| ModelHandlerTestPage.cshtml | ||
| ModelWithAuthFilter.cs | ||
| ModelWithAuthFilter.cshtml | ||
| ModelWithPageFilter.cs | ||
| ModelWithPageFilter.cshtml | ||
| ModelWithResponseCache.cs | ||
| ModelWithResponseCache.cshtml | ||
| NoPage.cshtml | ||
| OnGetView.cshtml | ||
| PageWithoutContent.cshtml | ||
| PathSet.cshtml | ||
| Program.cs | ||
| RazorPagesWebSite.csproj | ||
| RedirectToController.cshtml | ||
| RouteData.cshtml | ||
| Show.cshtml | ||
| SimpleForms.cshtml | ||
| Startup.cs | ||
| StartupWithBasePath.cs | ||
| TagHelpers.cshtml | ||
| _Root.cshtml | ||
| _ViewStart.cshtml | ||
| readme.md | ||
readme.md
RazorPagesWebSite
This web site is used for functional tests of the Razor Pages feature of MVC.