Refactored hub URL handling to use a single BaseUrl property in FruitBankConstClient, set at startup from appsettings ("AyCode:Urls:BaseUrl"). Removed hardcoded and commented-out URLs. All startup files now hydrate BaseUrl and construct hub URLs at runtime, ensuring both fbHub and loggerHub use the same base. The AcHubConnection:Url setting is now ignored in appsettings.json. Added fast-fail if BaseUrl is missing. Also updated PowerShell build/test commands in settings.local.json. This prevents environment mismatches and enforces explicit configuration.
|
||
|---|---|---|
| .. | ||
| Components | ||
| Platforms | ||
| Resources | ||
| Services | ||
| wwwroot | ||
| App.xaml | ||
| App.xaml.cs | ||
| FruitBankHybrid.csproj | ||
| MainPage.xaml | ||
| MainPage.xaml.cs | ||
| MauiProgram.cs | ||
| README.md | ||
| fruitbank.keystore | ||
README.md
FruitBankHybrid
@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Services, AyCode.Entities (in AyCode.Core repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }
.NET MAUI Hybrid cross-platform app hosting Blazor components via BlazorWebView. Targets Android (API 33+), iOS (15.0+), and Windows.
Folder Structure
| Folder | Purpose |
|---|---|
Services/ |
Platform-specific: FormFactor, SecureCredentialService, BrowserConsoleLogWriter |
Platforms/ |
Per-platform entry points: Android, iOS, Windows |
Components/ |
Razor component imports (_Imports.razor) |
Resources/ |
AppIcon, splash screens, fonts, images |
Key Files (Root)
MauiProgram.cs— DI registration, DevExpress init, SignalR client setup.MainPage.xaml.cs— BlazorWebView host page.App.xaml.cs— MAUI Application entry point.