KestrunHostMapExtensions.AddElementsUiRoute method

Adds an Elements UI route to the KestrunHost for the specified pattern and OpenAPI endpoint.

public static IEndpointConventionBuilder AddElementsUiRoute(this KestrunHost host, 
    MapRouteOptions options, Uri openApiEndpoint)
parameter description
host The KestrunHost instance.
options The route mapping options.
openApiEndpoint The OpenAPI endpoint URI.

Return Value

An IEndpointConventionBuilder for the mapped route.

See Also