Class EndpointRouteBuilderExtensions
Extends Microsoft.
Inheritance
System.Object
EndpointRouteBuilderExtensions
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public static class EndpointRouteBuilderExtensions : Object
Methods
MapEPiServerExtensionEndpoints(IEndpointRouteBuilder)
Maps EPiServer extensions endpoints registered through IEndpoint
Declaration
public static IEndpointRouteBuilder MapEPiServerExtensionEndpoints(this IEndpointRouteBuilder defaultEndpointRouteBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
defaultEndpointRouteBuilder | The endpoint builder |
Returns
Type | Description |
---|---|
Microsoft. |
Remarks
Recommendation is to do additional endpoint registration either before or after this method is called, not both before and after. Reason for that is that can cause endpoints to be duplicate registered