Go to file
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
.github
.vsts-pipelines/builds
benchmarkapps
benchmarks/Microsoft.AspNetCore.Mvc.Performance
build Update dependencies.props 2018-09-09 12:23:38 -07:00
samples/MvcSandbox
src Fix aspnet/Routing#782 2018-09-09 15:17:05 -07:00
test Fix aspnet/Routing#782 2018-09-09 15:17:05 -07:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
Mvc.NoFun.sln Remove experimental analyzers 2018-09-07 16:03:06 -07:00
Mvc.sln Remove experimental analyzers 2018-09-07 16:03:06 -07:00
NuGet.config
NuGetPackageVerifier.json
README.md
Settings.StyleCop
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-09-09 12:23:38 -07:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props Remove experimental analyzers 2018-09-07 16:03:06 -07:00

README.md

ASP.NET Core MVC

Note: For ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core), see https://github.com/aspnet/AspNetWebStack

Travis: Travis

ASP.NET Core MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. ASP.NET Core MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

ASP.NET Core MVC includes support for building web pages and HTTP services in a single aligned framework that can be hosted in IIS or self-hosted in your own process.

See the ASP.NET Core MVC documentation.

Related community projects:

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.