This is the routing part of the fix. MVC will be updated as well (attribute routing). As the graph of routers is traversed, routers add themselves to the current 'path', which unwinds on a failed path. This mechanism is opt-in. Whoever adds something needs to remove it as part of cleanup. If a router in the tree doesn't interact with the .Routers property, then there are no consequences for those that do. Additionally, fixing #116 as part of the same change. This means that we create a nested 'RouteData' and then restore it on the way out. This is simpler than just dealing with the .Routers property in isolation. |
||
|---|---|---|
| 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.