ComponentsWebAssemblyApplicationBuilderExtensions.UseBlazorFrameworkFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
UseBlazorFrameworkFiles(IApplicationBuilder)
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
Applies to
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.
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
- builder
- IApplicationBuilder
The IApplicationBuilder.
- pathPrefix
- PathString
The PathString that indicates the prefix for the Blazor WebAssembly application.