ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles 方法

定义

重载

UseBlazorFrameworkFiles(IApplicationBuilder)

将应用程序配置为从根路径“/”提供 Blazor WebAssembly 框架文件。

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

将应用程序配置为从路径 pathPrefix提供 Blazor WebAssembly 框架文件。 此路径必须对应于引用的 Blazor WebAssembly 应用程序项目。

UseBlazorFrameworkFiles(IApplicationBuilder)

Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
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)

Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
ComponentsWebAssemblyApplicationBuilderExtensions.cs
Source:
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

适用于