Blazor Microfrontend Library Template¶
The ConnectSoft Blazor Microfrontend Library Template produces a Blazor Server solution: a Shell host that composes one or more microfrontends (MFEs) in-process, as referenced Razor Class Libraries — not separate WebAssembly hosts, and not fronted by a BFF API. There is no Bff.Api project and no Shared.Contracts project; these do not exist in current template output. With optional tests (MSTest + bUnit) and a UI kit adapter choice at generation time.
CLI¶
- Identity:
ConnectSoft.Blazor.MicrofrontendLibraryTemplate - Short name:
connectsoft-blazor-mfe
For a standalone shell-only app, use ConnectSoft.Blazor.ShellTemplate (connectsoft-blazor-shell).
The authoring repository builds on .NET 10 (net10.0); global.json pins the 10.x SDK with rollForward.
Engine model¶
sourceName:ConnectSoft.Blazor.MicrofrontendLibraryTemplateAuthoringMode: reserves authoring-only projects (including ScaffoldTests) in the template repo; theScaffoldTestsproject itself is excluded from generated output viatemplate.jsonsource exclusion.- Ports:
ShellPort(default7000) uses a numericreplacesand does affect the generatedlaunchSettings.json.BffApiPort,SelfServiceMfePort,AdminMfePortstill carry a numericreplacesintemplate.jsontoo (defaults7001/7002/7003), but predate the current in-process composition model: there is no separate BFF project or separate MFE host process for them to configure. The only7001literal that exists in generated output is the Shell's own HTTPS port inlaunchSettings.json(which coincidentally shares BffApiPort's default value) — not a distinct BFF endpoint. Treat these three as vestigial.
Parameter reference: parameters.md.