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