Skip to content

Getting started

Prerequisites

  • .NET 10 SDK
  • Node.js + npm (Tailwind/Flowbite build)

Scaffold

dotnet new install <installer-package-or-path>
dotnet new connectsoft-blazor-mfe -n Acme.Portal

Common options (see parameters):

# DaisyUI adapter, dark theme, compact density, RTL on
dotnet new connectsoft-blazor-mfe -n Acme.Portal -ui DaisyUI -th Dark -d Compact -rtl true

# Custom ports
dotnet new connectsoft-blazor-mfe -n Acme.Portal -sp 7000 -bp 7001 -ssp 7002 -ap 7003

The template runs dotnet restore and npm install as post-actions.

Run

cd Acme.Portal
npm install
dotnet run --project src/Shell.BlazorServer

The shell hosts the sample MFEs at /self-service and /admin via catch-all routes in Shell.BlazorServer.Core.

Test

dotnet test    # MSTest + bUnit + NetArchTest architecture tests

When to use the Shell template instead

If you only need a shell host (no sample WASM MFEs, no UIKit adapter choice at generation time), the template's own metadata points you to connectsoft-blazor-shell.

See also