A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IEndpointRoutingExtension

Register implementation in IOC container to extend routing for application

Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public interface IEndpointRoutingExtension

Methods

MapEndpoints(IEndpointRouteBuilder)

Called from MapEPiServerExtensionEndpoints(IEndpointRouteBuilder) during endpoint registration to allow for custom modules to extend routing configuration

Declaration
void MapEndpoints(IEndpointRouteBuilder endpointRouteBuilder)
Parameters
Type Name Description
Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpointRouteBuilder

The Microsoft.AspNetCore.Routing.IEndpointRouteBuilder used for the application.

Extension Methods