다음을 통해 공유


WebHostBuilderExtensions.UseStaticWebAssets(IWebHostBuilder) 메서드

정의

참조된 WebRootFileProvider 프로젝트 및 패키지에서 정의한 정적 웹 자산을 사용하도록 을 구성합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseStaticWebAssets(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
static member UseStaticWebAssets : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseStaticWebAssets (builder As IWebHostBuilder) As IWebHostBuilder

매개 변수

반환

IWebHostBuilder

적용 대상