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
AddMcpForODataRoute Extension
Extension method from
Microsoft.AspNetCore.Routing.ODataMcp_AspNetCore_RouteBuilderExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
endpointRouteBuilder | Microsoft.AspNetCore.Routing.IEndpointRouteBuilder | The endpoint route builder. |
routeName | string | The OData route name. |
routePrefix | string | The OData route prefix. |
customMcpPath | string? | Optional custom MCP path. |
Returns
Type:Microsoft.AspNetCore.Routing.IEndpointRouteBuilder
The endpoint route builder for chaining.