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 Fluent Blazor Web App project from the CLI
dotnet new fluentblazor -o {your project name}
For creating a Fluent Blazor WebAssembly Standalone App project from the CLI:
dotnet new fluentblazorwasm -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