Blazor Microfrontend Library Template¶
ConnectSoft.Blazor.MicrofrontendLibraryTemplate (dotnet new connectsoft-blazor-mfe) scaffolds a multi-project Blazor microfrontend solution: Server shell, WASM feature modules, BFF API, and Shared.Contracts, with UI kit adapter choice and optional tests. Naming follows dotnet new -n and sourceName (ConnectSoft.Blazor.MicrofrontendLibraryTemplate); separate company/project name parameters are not used.
When to use it¶
- You need a full portal slice: host shell, independently deployable MFEs, and a BFF.
- You will standardize on ConnectSoft.Blazor.UIKit and Tailwind-oriented adapters.
When to use Shell Template instead¶
Use Blazor Shell Template when you only need a standalone Blazor Server host and contracts, without the default MFE/BFF layout.
Full specification¶
- Overview and parameters: ConnectSoft.Documentation — Blazor Microfrontend Library and parameters
Quick scaffold¶
dotnet new install ConnectSoft.Blazor.MicrofrontendLibraryTemplate
dotnet new connectsoft-blazor-mfe -n MyCompany.Portal.Mfe --uikit-adapter Flowbite
The authoring solution targets .NET 10 (net10.0). The Framework parameter is still exposed for CLI/IDE consistency (net8.0–net10.0).