Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoBackOfficePathGenerator

    Umbraco-specific settings for static files from the Umbraco.Cms.StaticAssets RCL.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.Hosting
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoBackOfficePathGenerator : IBackOfficePathGenerator

    Constructors

    View Source

    UmbracoBackOfficePathGenerator(IHostingEnvironment, IUmbracoVersion, IOptions<GlobalSettings>)

    Declaration
    public UmbracoBackOfficePathGenerator(IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion, IOptions<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment
    IUmbracoVersion umbracoVersion
    Microsoft.Extensions.Options.IOptions<GlobalSettings> globalSettings

    Properties

    View Source

    BackOfficeAssetsPath

    Gets the virtual path for the Backoffice assets coming from the Umbraco.Cms.StaticAssets RCL. The path will contain a generated SHA1 hash that is based on a number of parameters including the UmbracoVersion and runtime minifier.

    Declaration
    public string BackOfficeAssetsPath { get; }
    Property Value
    Type Description
    System.String
    Examples

    /umbraco/backoffice/addf120b430021c36c232c99ef8d926aea2acd6b

    View Source

    BackOfficeCacheBustHash

    Gets the cache bust hash for the BackOffice.

    Declaration
    public string BackOfficeCacheBustHash { get; }
    Property Value
    Type Description
    System.String
    View Source

    BackOfficePath

    Gets the virtual path of the BackOffice.

    Declaration
    public string BackOfficePath { get; }
    Property Value
    Type Description
    System.String
    View Source

    BackOfficeVirtualDirectory

    Gets the virtual directory of the BackOffice.

    Declaration
    public string BackOfficeVirtualDirectory { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoBackOfficePathGenerator(IHostingEnvironment, IUmbracoVersion, IOptions<GlobalSettings>)
    • Properties
      • BackOfficeAssetsPath
      • BackOfficeCacheBustHash
      • BackOfficePath
      • BackOfficeVirtualDirectory
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX