Sdílet prostřednictvím


ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles Metoda

Definice

Přetížení

UseBlazorFrameworkFiles(IApplicationBuilder)

Nakonfiguruje aplikaci tak, aby poskytovala soubory architektury Blazor WebAssembly z kořenové cesty "/".

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

Nakonfiguruje aplikaci tak, aby poskytovala soubory architektury Blazor WebAssembly z cesty pathPrefix. Tato cesta musí odpovídat odkazovanému projektu aplikace Blazor WebAssembly.

UseBlazorFrameworkFiles(IApplicationBuilder)

Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

Nakonfiguruje aplikaci tak, aby poskytovala soubory architektury Blazor WebAssembly z kořenové cesty "/".

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseBlazorFrameworkFiles(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBlazorFrameworkFiles (this Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder);
static member UseBlazorFrameworkFiles : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseBlazorFrameworkFiles (applicationBuilder As IApplicationBuilder) As IApplicationBuilder

Parametry

applicationBuilder
IApplicationBuilder

Hodnota IApplicationBuilder

Návraty

Parametr IApplicationBuilder nahraďte názvem sestavy.

Platí pro

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Zdroj:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

Nakonfiguruje aplikaci tak, aby poskytovala soubory architektury Blazor WebAssembly z cesty pathPrefix. Tato cesta musí odpovídat odkazovanému projektu aplikace Blazor WebAssembly.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseBlazorFrameworkFiles(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder, Microsoft::AspNetCore::Http::PathString pathPrefix);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBlazorFrameworkFiles (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Http.PathString pathPrefix);
static member UseBlazorFrameworkFiles : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.PathString -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseBlazorFrameworkFiles (builder As IApplicationBuilder, pathPrefix As PathString) As IApplicationBuilder

Parametry

pathPrefix
PathString

Označuje PathString předponu aplikace Blazor WebAssembly.

Návraty

Parametr IApplicationBuilder nahraďte názvem sestavy.

Platí pro