Compartir a través de


WebHostBuilderExtensions.UseStaticWebAssets(IWebHostBuilder) Método

Definición

Configura para WebRootFileProvider usar recursos web estáticos definidos por proyectos y paquetes a los que se hace referencia.

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

Parámetros

Devoluciones

IWebHostBuilder.

Se aplica a