Table of Contents

Class PreviewRoutes

Namespace
Umbraco.Cms.Web.BackOffice.Routing
Assembly
Umbraco.Web.BackOffice.dll

Creates routes for the preview hub

public sealed class PreviewRoutes : IAreaRoutes
Inheritance
PreviewRoutes
Implements
IAreaRoutes
Inherited Members

Constructors

PreviewRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState)

public PreviewRoutes(IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState)

Parameters

globalSettings IOptions<GlobalSettings>
hostingEnvironment IHostingEnvironment
runtimeState IRuntimeState

Methods

CreateRoutes(IEndpointRouteBuilder)

public void CreateRoutes(IEndpointRouteBuilder endpoints)

Parameters

endpoints IEndpointRouteBuilder

GetPreviewHubRoute()

Returns the path to the signalR hub used for preview

public string GetPreviewHubRoute()

Returns

string

Path to signalR hub