London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IWebHostingEnvironment

Path information for files served via the wwwroot

Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 10.10.4
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