This is a sample of the pattern for building a MapRoute method that customizes routing by adding constraints, datatokens, or defaults. This is the replacement for adding data to the route directly. Also fixed up the sample to work. It was massively out of date. |
||
|---|---|---|
| .. | ||
| DelegateRouteEndpoint.cs | ||
| DictionaryExtensions.cs | ||
| PrefixRoute.cs | ||
| RouteBuilderExtensions.cs | ||
| RoutingSample.Web.kproj | ||
| Startup.cs | ||
| project.json | ||