aspnetcore/test
Ryan Nowak f573b8840a Fix aspnet/Routing#782
Currently MVC is still running the IActionConstraint implementations for
features that we've already moved into the routing layer. This has a
significant perf cost associated with, and so we want to skip it because
it's redundant. However if anyone has implemented their own
`IActionConstraint`-based features, they still need to just work.

This change takes the approach of skipping the action constraint phase
at runtime unless we see something 'unknown'. This is an all or nothing
choice, and will run action constraints if **any** action constraint we
don't special case exists. This is the most compatible behavior (running
redundant constraints) when the application is using constraints that
the developer implemented.

Another approach I considered was to eliminate these constraints as part
of the process of building ADs. I don't think that's ideal because
people have written code that introspects action constraints. We should
consider something like this in 3.0.
2018-09-09 15:17:05 -07:00
..
Microsoft.AspNetCore.Mvc.Abstractions.Test
Microsoft.AspNetCore.Mvc.ApiExplorer.Test
Microsoft.AspNetCore.Mvc.Core.Test Fix aspnet/Routing#782 2018-09-09 15:17:05 -07:00
Microsoft.AspNetCore.Mvc.Core.TestCommon
Microsoft.AspNetCore.Mvc.Cors.Test
Microsoft.AspNetCore.Mvc.DataAnnotations.Test
Microsoft.AspNetCore.Mvc.Formatters.Json.Test
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test
Microsoft.AspNetCore.Mvc.FunctionalTests Include diagnosticMessages from xunit for Functional tests 2018-09-07 15:00:33 -07:00
Microsoft.AspNetCore.Mvc.IntegrationTests
Microsoft.AspNetCore.Mvc.Localization.Test
Microsoft.AspNetCore.Mvc.Razor.Test Add a feature to disable file watching in Razor pages (#8369) 2018-09-06 10:16:31 -07:00
Microsoft.AspNetCore.Mvc.RazorPages.Test Action endpoint metadata contains attributes from action and controller (#8395) 2018-09-07 10:01:40 +12:00
Microsoft.AspNetCore.Mvc.TagHelpers.Test
Microsoft.AspNetCore.Mvc.Test Fix aspnet/Routing#782 2018-09-09 15:17:05 -07:00
Microsoft.AspNetCore.Mvc.TestDiagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures.Test
Microsoft.AspNetCore.Mvc.Views.TestCommon
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
Mvc.Analyzers.Test
Mvc.Api.Analyzers.Test
WebSites [Fixes #8250] Improve the error message when TEntryPoint is not in an entry point assembly 2018-09-06 18:02:21 -07:00
Directory.Build.props
MvcTests.ruleset