WebHostBuilderExtensions.UseStaticWebAssets(IWebHostBuilder) メソッド

定義

参照先の WebRootFileProvider プロジェクトとパッケージによって定義された静的 Web 資産を使用するように構成します。

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

IWebHostBuilder

適用対象