Project templates for creating a Blazor Web app or Blazor WebAssembly app that uses the Fluent UI Blazor library. These templates can be used for web apps with rich dynamic user interfaces (UIs).
Install
| Product | Versions |
|---|---|
| .NET |
README
Installation
Install the templates by running the command:
dotnet new install {path to package}\Microsoft.FluentUI.AspNetCore.Templates.{version}.nupkg
The current version can be found on the NuGet page.
Usage
After installing the templates you can create new a project from either the CLI or by creating a new project in Visual studio 2022.
For creating a Blazor Server project from the CLI
dotnet new fluentuiblazorserver -o {your project name}
For creating a Blazor WebAssembly project from the CLI:
dotnet new fluentuiblazorwasm -o {your project name}
In Visual Studio you can create a new project by selecting either the FluentUI Blazor Server App template or the FluentUI Blazor WebAssembly template in the 'File->New->Project'-dialog.
Uninstalling the templates
If you want to uninstall the templates, both from the CLI and Visual Studio 2022, run the following command:
dotnet new uninstall Microsoft.FluentUI.AspNetCore.Templates
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.