This is a sample of the pattern for building a MapRoute method that customizes routing by adding constraints, datatokens, or defaults. This is the replacement for adding data to the route directly. Also fixed up the sample to work. It was massively out of date. |
||
|---|---|---|
| samples/RoutingSample.Web | ||
| src/Microsoft.AspNet.Routing | ||
| test/Microsoft.AspNet.Routing.Tests | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| NuGet.Config | ||
| README.md | ||
| Routing.sln | ||
| Settings.StyleCop | ||
| build.cmd | ||
| build.sh | ||
| global.json | ||
| makefile.shade | ||
README.md
ASP.NET Routing
Contains routing middleware for routing requests to application logic.
This project is part of ASP.NET vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.