Class HostingEnvironmentExtensions
Extension methods for IHostingEnvironment.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Hosting
Assembly: Umbraco.Core.dll
Syntax
public static class HostingEnvironmentExtensions
Methods
View SourceGetBackOfficePath(IHostingEnvironment)
Gets the absolute URL path of the back office.
Declaration
public static string GetBackOfficePath(this IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IHostingEnvironment | hostingEnvironment | The hosting environment. |
Returns
Type | Description |
---|---|
System.String | The absolute URL path of the back office. |