Go to file
Ryan Nowak 01345eca91 Fix for #92 - Make Constraints, DataTokens, and Defaults readonly
The properties on TemplateRoute for DataTokens and Defaults are now
readonly. This prevents modifying these collections in a way that
invalidates cached data, or violates thread-safety.

To do the same for constraints, this change includes a substantial refactor
of how we realize inline constraints, and moves the constraint resolver
out of the parsing phase.

This allow creates a builder for the constraint map, that will make it
easier to implement features like optional constraints, and is reusable
for anyone building their own type of routing system.
2014-11-18 11:24:25 -08:00
samples/RoutingSample.Web
src/Microsoft.AspNet.Routing Fix for #92 - Make Constraints, DataTokens, and Defaults readonly 2014-11-18 11:24:25 -08:00
test/Microsoft.AspNet.Routing.Tests Fix for #92 - Make Constraints, DataTokens, and Defaults readonly 2014-11-18 11:24:25 -08:00
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE.txt
NuGet.Config Fixing dev NuGet.config 2014-11-06 22:05:03 -08:00
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.