다음을 통해 공유


WebHostBuilderExtensions.UseSolutionRelativeContentRoot 메서드

정의

오버로드

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)

에 상대적인 의 콘텐츠 루트를 solutionRelativePath설정합니다.

UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)

에 상대적인 의 콘텐츠 루트를 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

에 상대적인 의 콘텐츠 루트를 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

매개 변수

solutionRelativePath
String

솔루션 파일의 디렉터리입니다.

solutionName
String

콘텐츠 루트를 상대적으로 만들 솔루션 파일의 이름입니다.

반환

IWebHostBuilder

적용 대상

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

에 상대적인 의 콘텐츠 루트를 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

매개 변수

solutionRelativePath
String

솔루션 파일의 디렉터리입니다.

applicationBasePath
String

앱 디렉터리의 루트입니다.

solutionName
String

콘텐츠 루트를 상대적으로 만들 솔루션 파일의 이름입니다.

반환

IWebHostBuilder

적용 대상