Project templates for creating a Blazor Server or Blazor WebAssembly app that uses the Fluent UI Web Components for Blazor library. These templates can be used for web apps with rich dynamic user interfaces (UIs).
$ dotnet add package Microsoft.Fast.Templates.FluentUIInstall the templates by running the command:
dotnet new install {path to package}\Microsoft.Fast.Templates.FluentUI.{version}.nupkg
The current version can be found on the NuGet page.
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.
If you want to uninstall the templates, both from the CLI and Visual Studio 2022, run the following command:
dotnet new uninstall Microsoft.Fast.Templates.FluentUI