Project templates for creating a Fluent UI Blazor Web app, Blazor WebAssembly Standalone app, Blazor Hybrid and Web App or .NET Aspire Starter app. These templates are pure copies of the original templates but use the Fluent UI Blazor library for building the user interface (UI).
$ dotnet add package Microsoft.FluentUI.AspNetCore.TemplatesInstall 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.
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.FluentUI.AspNetCore.Templates