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 SourceUmbracoBackOfficePathGenerator(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 SourceBackOfficeAssetsPath
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 SourceBackOfficeCacheBustHash
Gets the cache bust hash for the BackOffice.
Declaration
public string BackOfficeCacheBustHash { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
BackOfficePath
Gets the virtual path of the BackOffice.
Declaration
public string BackOfficePath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
BackOfficeVirtualDirectory
Gets the virtual directory of the BackOffice.
Declaration
public string BackOfficeVirtualDirectory { get; }
Property Value
| Type | Description |
|---|---|
| System.String |