Class UmbracoBackOfficePathGenerator
Inheritance
object
Namespace: Umbraco.Cms.Web.Common.Hosting
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoBackOfficePathGenerator : IBackOfficePathGenerator
Constructors
View SourceUmbracoBackOfficePathGenerator(IHostingEnvironment, IUmbracoVersion)
Declaration
public UmbracoBackOfficePathGenerator(IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion)
Parameters
| Type | Name | Description |
|---|---|---|
| IHostingEnvironment | hostingEnvironment | |
| IUmbracoVersion | umbracoVersion |
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 |
|---|---|
| string |
Examples
/umbraco/backoffice/addf120b430021c36c232c99ef8d926aea2acd6b
View SourceBackOfficeCacheBustHash
Gets the cache bust hash for the BackOffice.
Declaration
public string BackOfficeCacheBustHash { get; }
Property Value
| Type | Description |
|---|---|
| string |
BackOfficePath
Gets the virtual path of the BackOffice.
Declaration
public string BackOfficePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
BackOfficeVirtualDirectory
Gets the virtual directory of the BackOffice.
Declaration
public string BackOfficeVirtualDirectory { get; }
Property Value
| Type | Description |
|---|---|
| string |