Condividi tramite


WebHostBuilderExtensions.UseSolutionRelativeContentRoot Metodo

Definizione

Overload

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Imposta la radice del contenuto di rispetto a solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Imposta la radice del contenuto di rispetto a solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs

Imposta la radice del contenuto di rispetto a 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

Parametri

builder
IWebHostBuilder

Oggetto IWebHostBuilder.

solutionRelativePath
String

Directory del file della soluzione.

solutionName
String

Nome del file della soluzione a cui impostare la radice del contenuto in relazione.

Restituisce

Oggetto IWebHostBuilder.

Si applica a

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs
Origine:
WebHostBuilderExtensions.cs

Imposta la radice del contenuto di rispetto a 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

Parametri

builder
IWebHostBuilder

Oggetto IWebHostBuilder.

solutionRelativePath
String

Directory del file della soluzione.

applicationBasePath
String

Radice della directory dell'app.

solutionName
String

Nome del file della soluzione a cui impostare la radice del contenuto in relazione.

Restituisce

Oggetto IWebHostBuilder.

Si applica a