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.TemplatesIMPORTANT!! Just as with the standard Blazor Web App template, Blazor will use SSR by default. If you want to have interactive components, make sure you add a rendermode to the app, page or component!
Install the templates by running the command:
dotnet new install Microsoft.FluentUI.AspNetCore.Templates
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
The Microsoft Fluent UI Blazor library is an open source project and is not an official part of ASP.NET Core, which means it’s not officially supported and isn’t committed to ship updates as part of any official .NET updates. It is built and maintained by Microsoft employees (and other contributors) and offers support, like most other open source projects, on a best effort base through the GitHub repository only.