Skip to content

Solution structure

Generated solution file: ConnectSoft.Blazor.ShellTemplate.slnx (name does not follow -n). The shell project folder is renamed from Shell.BlazorServer to your -n value (sourceName = Shell.BlazorServer).

src/
├── <Name>/                 # shell host (was Shell.BlazorServer), Microsoft.NET.Sdk.Web
│   ├── Program.cs          # AddShellOptions + AddRazorComponents/InteractiveServer
│   ├── Components/         # App.razor, NavMenu.razor, Pages (Home, Mfe1, Mfe2, Error)
│   ├── appsettings.json    # Shell:MicroFrontends config
│   ├── Styles/             # app.tailwind.css
│   └── package.json        # PostCSS/Tailwind build
└── Shared.Contracts/       # DTOs/events; FrameworkReference Microsoft.AspNetCore.App
tests/                      # if --include-tests
└── <Name>.UnitTests/       # MSTest + bUnit (ShellOptionsRegistrationTests)

Frameworks and dependencies

  • All projects target net10.0.
  • Shell: Microsoft.NET.Sdk.Web, ConnectSoft.Blazor.UIKit 1.0.161, Microsoft.AspNetCore.Components.WebAssembly.Server.
  • Directory.Build.props wires StyleCop globally (CPM lists more analyzers than are referenced).

Frontend toolchain

package.json, postcss.config.js, tailwind.config.js; Styles/app.tailwind.css compiles to wwwroot/css/app.css. npm restore is manual (no npm post-action).

See also