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.
|
||
|---|---|---|
| .. | ||
| .config | ||
| Components | ||
| Services | ||
| FruitBankHybrid.Web.csproj | ||
| Program.cs | ||
| README.md | ||
| appsettings.json | ||
README.md
FruitBankHybrid.Web
@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)" ] }
ASP.NET Core Blazor Server host. Serves the web interface, hosts SignalR hubs, and supports interactive WebAssembly rendering.
Folder Structure
| Folder | Purpose |
|---|---|
Services/ |
Server-side FormFactor, SecureCredentialService (no-op), SignalR hub setup |
Components/ |
App.razor with DevExpress theme, Error page |
Controllers/ |
Empty placeholder |
Key Files (Root)
Program.cs— DI, SignalR hub mapping (DevAdminSignalRHub, LoggerSignalRHub), 256KB max message size, DevExpress Fluent theme, static asset versioning.