This change introduces ControllerContext for inside of Controllers, and controller-specific extensibility points. ControllerContext carries with it the model binding infrastructure needed to do all of the things that controllers need to do. |
||
|---|---|---|
| .. | ||
| Constraints | ||
| Controllers | ||
| Views | ||
| wwwroot | ||
| InlineConstraintsWebSite.xproj | ||
| Startup.cs | ||
| project.json | ||
| readme.md | ||
readme.md
InlineConstraintsWebSite
This web site illustrates how to use inline route constraints with traditional routes. The startup class in its configure method reads the routes which are added to configuration by the test methods.