Introduced IAppTitleService for platform-agnostic environment badge in the app title ("[PROD]" or "[DEV] FruitBank"), with implementations for Web (document.title), MAUI (window title), and server (no-op). Registered the service per platform in DI. MainLayout now updates the title reactively on environment changes via FruitBankConstClient.IsProdChanged. Improved event handling and prevented redundant environment hydration calls. No business logic affected; changes are UI/infrastructure only.
|
||
|---|---|---|
| .. | ||
| Services | ||
| wwwroot | ||
| FruitBankHybrid.Web.Client.csproj | ||
| Program.cs | ||
| README.md | ||
| _Imports.razor | ||
README.md
FruitBankHybrid.Web.Client
@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Core.Server, AyCode.Entities, AyCode.Entities.Server, AyCode.Interfaces, AyCode.Interfaces.Server, AyCode.Models, AyCode.Models.Server, AyCode.Services, AyCode.Services.Server, AyCode.Utils (in AyCode.Core repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }
Blazor WebAssembly client running in the browser after server prerendering. .NET 10.0.
Folder Structure
| Folder | Purpose |
|---|---|
Services/ |
WASM-specific: FormFactor, credential storage, console logging |
Key Files (Root)
Program.cs— WASM startup, DI registration._Imports.razor— Global imports.