aspnetcore/test/WebSites
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
..
ApiExplorerWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ApplicationModelWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
BasicWebSite Set model prefix for [ApiController] 2018-03-23 14:49:54 -07:00
ControllersFromServicesClassLibrary
ControllersFromServicesWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
CorsWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
ErrorPageMiddlewareWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
FSharpWebSite
FilesWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
FormatterWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
HtmlGenerationWebSite Add model attribute for PartialTagHelper. 2018-03-23 16:13:55 -07:00
RazorBuildWebSite ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
RazorBuildWebSite.PrecompiledViews ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
RazorBuildWebSite.Views ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
RazorPageExecutionInstrumentationWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RazorPagesWebSite Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
RazorWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
RoutingWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
SecurityWebSite Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
SimpleWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
TagHelpersWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
VersioningWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
WebApiCompatShimWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
XmlFormattersWebSite Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
Directory.Build.props