Dela via


ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles Method

Definition

Overloads

UseBlazorFrameworkFiles(IApplicationBuilder)

Configures the application to serve Blazor WebAssembly framework files from the root path "/".

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

Configures the application to serve Blazor WebAssembly framework files from the path pathPrefix. This path must correspond to a referenced Blazor WebAssembly application project.

UseBlazorFrameworkFiles(IApplicationBuilder)

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

Configures the application to serve Blazor WebAssembly framework files from the root path "/".

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

Parameters

applicationBuilder
IApplicationBuilder

The IApplicationBuilder.

Returns

The IApplicationBuilder

Applies to

UseBlazorFrameworkFiles(IApplicationBuilder, PathString)

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

Configures the application to serve Blazor WebAssembly framework files from the path pathPrefix. This path must correspond to a referenced Blazor WebAssembly application project.

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

Parameters

pathPrefix
PathString

The PathString that indicates the prefix for the Blazor WebAssembly application.

Returns

The IApplicationBuilder

Applies to