WebHostBuilderExtensions.UseSolutionRelativeContentRoot Metoda

Definicja

Przeciążenia

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Ustawia katalog główny zawartości względem elementu solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Ustawia katalog główny zawartości względem elementu solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs

Ustawia katalog główny zawartości względem elementu solutionRelativePath.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string solutionName = "*.sln");
static member UseSolutionRelativeContentRoot : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSolutionRelativeContentRoot (builder As IWebHostBuilder, solutionRelativePath As String, Optional solutionName As String = "*.sln") As IWebHostBuilder

Parametry

builder
IWebHostBuilder

Element IWebHostBuilder.

solutionRelativePath
String

Katalog pliku rozwiązania.

solutionName
String

Nazwa pliku rozwiązania, który ma być powiązany z katalogiem głównym zawartości.

Zwraca

Element IWebHostBuilder.

Dotyczy

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs
Źródło:
WebHostBuilderExtensions.cs

Ustawia katalog główny zawartości względem elementu solutionRelativePath.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSolutionRelativeContentRoot (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, string solutionRelativePath, string applicationBasePath, string solutionName = "*.sln");
static member UseSolutionRelativeContentRoot : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string * string * string -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSolutionRelativeContentRoot (builder As IWebHostBuilder, solutionRelativePath As String, applicationBasePath As String, Optional solutionName As String = "*.sln") As IWebHostBuilder

Parametry

builder
IWebHostBuilder

Element IWebHostBuilder.

solutionRelativePath
String

Katalog pliku rozwiązania.

applicationBasePath
String

Katalog główny katalogu aplikacji.

solutionName
String

Nazwa pliku rozwiązania, który ma być powiązany z katalogiem głównym zawartości.

Zwraca

Element IWebHostBuilder.

Dotyczy