Partager via


ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles Méthode

Définition

Surcharges

UseBlazorFrameworkFiles(IApplicationBuilder)

Configure l’application pour traiter les fichiers d’infrastructure Blazor WebAssembly à partir du chemin racine « / ».

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

Configure l’application pour servir les fichiers d’infrastructure Blazor WebAssembly à partir du chemin d’accès pathPrefix. Ce chemin doit correspondre à un projet d’application Blazor WebAssembly référencé.

UseBlazorFrameworkFiles(IApplicationBuilder)

Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

Configure l’application pour traiter les fichiers d’infrastructure Blazor WebAssembly à partir du chemin racine « / ».

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

Paramètres

applicationBuilder
IApplicationBuilder

L’IApplicationBuilderopérateur

Retours

IApplicationBuilder.

S’applique à

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

Configure l’application pour servir les fichiers d’infrastructure Blazor WebAssembly à partir du chemin d’accès pathPrefix. Ce chemin doit correspondre à un projet d’application Blazor WebAssembly référencé.

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

Paramètres

pathPrefix
PathString

PathString qui indique le préfixe de l’application Blazor WebAssembly.

Retours

IApplicationBuilder.

S’applique à