Class AspNetHostingEnvironment
Default implementation of the IHostingEnvironment interface. It delegates to the ASP.NET HostingEnvironment class to do the "real" work.
Inheritance
System.Object
AspNetHostingEnvironment
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.Framework.dll
Version: 7.19.2Syntax
public class AspNetHostingEnvironment : IHostingEnvironment
Constructors
AspNetHostingEnvironment()
Declaration
public AspNetHostingEnvironment()
Properties
ApplicationID
Declaration
public string ApplicationID { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ApplicationPhysicalPath
Declaration
public string ApplicationPhysicalPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ApplicationVirtualPath
Declaration
public string ApplicationVirtualPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
VirtualPathProvider
Declaration
public VirtualPathProvider VirtualPathProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.Web.Hosting.VirtualPathProvider |
Methods
MapPath(String)
Declaration
public string MapPath(string virtualPath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | virtualPath |
Returns
| Type | Description |
|---|---|
| System.String |
RegisterVirtualPathProvider(VirtualPathProvider)
Declaration
public void RegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Web.Hosting.VirtualPathProvider | virtualPathProvider |