Development¶
Build and run¶
Registering ECS MFEs¶
Edit the MicroFrontends section in appsettings.json. Each entry has a Name, Path, and BaseUrl; MicroFrontendPlaceholder resolves by longest path prefix and embeds the MFE via iframe (BuildExternalMfeUrl). Replace the sample AIChat/Logistics entries with the ECS Admin, Monitoring, and Self-Service MFE URLs.
Authentication¶
AddEcsAuthentication() and MapEcsAuthenticationEndpoints() wire OIDC from the EcsAuthentication section. The default authority is the Duende demo server (https://demo.duendesoftware.com, client interactive.public); point it at your real IdP. EcsOidcTokenRefresher handles token refresh.
Notes for productionizing¶
The shell is iframe-only today (WebAssembly.Server is referenced but not wired). The docs/ folder currently contains generic shell docs - update it for ECS specifics. See repo status for the full gap list before packaging as a template.
Testing¶
ConnectSoft.ECS.Shell.UnitTests (MSTest + bUnit) has no test classes yet - add tests for MFE resolution and auth wiring.