共用方式為


ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles 方法

定義

多載

UseBlazorFrameworkFiles(IApplicationBuilder)

將應用程式設定為從根路徑 「/」 提供 Blazor WebAssembly 架構檔案。

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

設定應用程式以從路徑 pathPrefix 提供 Blazor WebAssembly 架構檔案。 此路徑必須對應至參考的 Blazor WebAssembly 應用程式專案。

UseBlazorFrameworkFiles(IApplicationBuilder)

來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

將應用程式設定為從根路徑 「/」 提供 Blazor WebAssembly 架構檔案。

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

參數

傳回

IApplicationBuilder

適用於

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
來源:
ComponentsWebAssemblyApplicationBuilderExtensions.cs

設定應用程式以從路徑 pathPrefix 提供 Blazor WebAssembly 架構檔案。 此路徑必須對應至參考的 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

參數

pathPrefix
PathString

PathString 表示 Blazor WebAssembly 應用程式的前置詞。

傳回

IApplicationBuilder

適用於