WebRazorHostFactory.CreateDefaultHost Method (String, String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a default host with the specified virtual and physical path.
Assembly: System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)
public static WebPageRazorHost CreateDefaultHost( string virtualPath, string physicalPath )
Parameters
- virtualPath
- Type: System.String
The virtual path of the file.
- physicalPath
- Type: System.String
The physical file system path.
Show: