This change splits up the conventional routing path from the attribute routing path *inside* routing, instead of inside `MvcRouteHandler`. Each attribute route group now gets its own instance of `MvcAttributeRouteHandler` which just knows about the actions it can reach. This removes the concept of a route-group-token and removes the lookup table entirely for attribute routing. This also means that the `DefaultHandler` on `IRouteBuilder` will not be used for attribute routes, which we are OK with for 1.0.0. The action selector's functionality is now split into two methods. We think this is OK for 1.0.0 because any customization of `IActionSelector` up to now had to implement virtually the same policy as ours in order to work with attribute routing. It should now be possible to customize the selector in a meaningful way without interfering with attribute routing. |
||
|---|---|---|
| samples/MvcSandbox | ||
| src | ||
| test | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| Mvc.NoFun.sln | ||
| Mvc.sln | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| Settings.StyleCop | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| global.json | ||
README.md
ASP.NET Core MVC
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 in ASP.NET Core 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.
Related community projects:
- AspNet.Mvc.TypedRouting: A collection of extension methods providing strongly typed routing and link generation for ASP.NET Core MVC projects.
- ASP.NET MVC Boilerplate: Rich templates for ASP.NET Core MVC.
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.