aspnetcore/test/WebSites/SecurityWebSite
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
..
Controllers Use compatibility switch for auth filters 2018-01-11 17:42:32 -08:00
Views
CountingPolicyEvaluator.cs Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
Program.cs Improvements to the MVC testing package 2018-03-19 12:19:45 -07:00
SecurityWebSite.csproj Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
Startup.cs Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
StartupWithGlobalDenyAnonymousFilter.cs Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
appsettings.json