aspnetcore/test/WebSites/InlineConstraintsWebSite
Doug Bunting 393aa54545 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
..
Controllers Changed to use OptionalRouteConstraint created by Routing to use for inline optional parameters in attribute routing. Also added tests for inline parameters. 2014-12-04 11:00:48 -08:00
Views This additional constraint enables adding a route to the template (and potentially to the UseMvc method) without actually implementing the actual artifact. 2014-06-16 11:24:22 -07:00
wwwroot Fixing Readme 2015-02-19 10:20:16 -08:00
InlineConstraintsWebSite.xproj Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
Startup.cs Quick fixes: Clean up test code 2015-03-24 13:42:27 -07:00
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.