Definition
Assembly: Microsoft.AspNetCore.Routing.dll Namespace: Microsoft.AspNetCore.RoutingSyntax
Summary
This type is defined in Microsoft.AspNetCore.Routing.Remarks
See Microsoft documentation for more information about the rest of the API.Methods
MapODataServiceRoute Extension
Extension method from
Microsoft.Restier.AspNetCore.Restier_IRouteBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
builder | Microsoft.AspNetCore.Routing.IRouteBuilder | The IRouteBuilder to add the route to. |
routeName | string | The name of the route to map. |
routePrefix | string | The prefix to add to the OData route’s path template. |
configureAction | System.Action<Microsoft.OData.IContainerBuilder, string> | The configuring action to add the services to the root container. |
Returns
Type:Microsoft.AspNet.OData.Routing.ODataRoute
The added ODataRoute.
MapRestier Extension
Extension method from
Microsoft.Restier.AspNetCore.Restier_IRouteBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
routeBuilder | Microsoft.AspNetCore.Routing.IRouteBuilder | - |
configureRoutesAction | System.Action<Microsoft.Restier.Core.RestierRouteBuilder> | - |
Returns
Type:Microsoft.AspNetCore.Routing.IRouteBuilder