WebRazorHostFactory.CreateDefaultHost Method

Definition

Overloads

CreateDefaultHost(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 path.

CreateDefaultHost(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.

CreateDefaultHost(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 path.

public static System.Web.WebPages.Razor.WebPageRazorHost CreateDefaultHost (string virtualPath);
static member CreateDefaultHost : string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateDefaultHost (virtualPath As String) As WebPageRazorHost

Parameters

virtualPath
String

The virtual path of the file.

Returns

A default host.

Applies to

CreateDefaultHost(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.

public static System.Web.WebPages.Razor.WebPageRazorHost CreateDefaultHost (string virtualPath, string physicalPath);
static member CreateDefaultHost : string * string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateDefaultHost (virtualPath As String, physicalPath As String) As WebPageRazorHost

Parameters

virtualPath
String

The virtual path of the file.

physicalPath
String

The physical file system path.

Returns

A default host.

Applies to