Search Results for

    Show / Hide Table of Contents
    View Source

    Class FrontEndRoutes

    Creates routes for surface controllers

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Website.Routing
    Assembly: Umbraco.Web.Website.dll
    Syntax
    public sealed class FrontEndRoutes : IAreaRoutes

    Constructors

    View Source

    FrontEndRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, SurfaceControllerTypeCollection, UmbracoApiControllerTypeCollection)

    Initializes a new instance of the FrontEndRoutes class.

    Declaration
    public FrontEndRoutes(IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState, SurfaceControllerTypeCollection surfaceControllerTypeCollection, UmbracoApiControllerTypeCollection apiControllers)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<GlobalSettings> globalSettings
    IHostingEnvironment hostingEnvironment
    IRuntimeState runtimeState
    SurfaceControllerTypeCollection surfaceControllerTypeCollection
    UmbracoApiControllerTypeCollection apiControllers

    Methods

    View Source

    CreateRoutes(IEndpointRouteBuilder)

    Create routes for an area

    Declaration
    public void CreateRoutes(IEndpointRouteBuilder endpoints)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints

    The endpoint route builder

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • FrontEndRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, SurfaceControllerTypeCollection, UmbracoApiControllerTypeCollection)
    • Methods
      • CreateRoutes(IEndpointRouteBuilder)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX