You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
By default, the route for each page is mapped at it's application relative path (with the cshtml extension). The file name Index is optional and has the same behavior as routing to an action named Index in conventional routing i.e.
/Home/Index and /Home are equivalent. The optional value of the@page directive can be used to append a suffix to this route. Consider,
Associated with each page is an application model type similar to ControllerModel. We'd build on top of this to provide simple runtime configuration of routes. For instance, to configure an additional route to the /Catalog/Books.cshtml, here's what the Startup code might look like: