SaaS CMS has officially launched! Learn more now.

Interface IWebHostingEnvironment

Path information for files served via the wwwroot

Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public interface IWebHostingEnvironment

Properties

WebRootPath

The physical path to the folder serving web content (ie "c:\inetpub\wwwroot")

Declaration
string WebRootPath { get; }
Property Value
Type Description
System.String

WebRootVirtualPath

The virtual path to the folder serving web content (ie "/")

Declaration
string WebRootVirtualPath { get; }
Property Value
Type Description
System.String

Extension Methods