Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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