Compartir a través de


WebHostBuilderExtensions.UseSolutionRelativeContentRoot Método

Definición

Sobrecargas

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Establece la raíz de contenido de relativa a solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Establece la raíz de contenido de relativa a solutionRelativePath.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs

Establece la raíz de contenido de relativa 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

Parámetros

solutionRelativePath
String

Directorio del archivo de solución.

solutionName
String

Nombre del archivo de solución al que se va a convertir la raíz de contenido en relación.

Devoluciones

IWebHostBuilder.

Se aplica a

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs
Source:
WebHostBuilderExtensions.cs

Establece la raíz de contenido de relativa 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

Parámetros

solutionRelativePath
String

Directorio del archivo de solución.

applicationBasePath
String

Raíz del directorio de la aplicación.

solutionName
String

Nombre del archivo de solución al que se va a convertir la raíz de contenido en relación.

Devoluciones

IWebHostBuilder.

Se aplica a