FruitBankHybridApp/FruitBankHybrid.Shared
Loretta 3e4d3260f0 Add logger support to grids, data sources, and helpers
- Added optional logger to TaskHelper.Forget for fire-and-forget error logging
- Updated MgGridBase and data sources to accept and use logger instances
- Refactored AcSignalRDataSource to log deserialization faults
- Modified constructors and usages of SignalRDataSourceList/Observable for logger injection
- Added CountryCode to CargoTruck and displayed in new GridCargoTruck
- Introduced GridCargoTruck.razor and base class with logger integration
- Updated GridCargoPartner to use new cargo truck grid as detail row
- Improved code style and ensured consistent error handling throughout
2026-05-30 06:47:06 +02:00
..
Components Add logger support to grids, data sources, and helpers 2026-05-30 06:47:06 +02:00
Databases Add logger support to grids, data sources, and helpers 2026-05-30 06:47:06 +02:00
Extensions Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Layout Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Models Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Pages Add CargoPartner management UI and API integration 2026-05-28 19:48:18 +02:00
Services Add logger support to grids, data sources, and helpers 2026-05-30 06:47:06 +02:00
wwwroot Add MgCardView component & refactor MeasuringOut to tabs 2026-03-22 20:01:49 +01:00
FruitBankHybrid.Shared.csproj [LOADED_DOCS: 3 files, no new loads] 2026-04-26 13:44:12 +02:00
README.md [LOADED_DOCS: 3 files, no new loads] 2026-04-26 13:44:12 +02:00
Routes.razor Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
_Imports.razor .Net10, VS2026; StockTaking in progress... 2025-12-01 16:18:47 +01:00
appsettings.json Refactor partner model, add CargoPartner/Truck entities 2026-05-28 17:47:53 +02:00

README.md

FruitBankHybrid.Shared

@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Entities, AyCode.Interfaces, AyCode.Models, AyCode.Services, AyCode.Services.Server, AyCode.Utils (in AyCode.Core repo)", "AyCode.Blazor.Components (in AyCode.Blazor repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }

Main Blazor UI library shared across all three deployment targets (Server, WASM, MAUI). Contains pages, DevExpress grid components, SignalR client, measurement service, and layout.

Folder Structure

Folder Purpose
Components/ DevExpress grid wrappers, pallet components, notifications
Pages/ Routed pages: Login, ShippingsAdmin, OrdersAdmin, MeasuringIn/Out, StockTaking
Services/ SignalR client, measurement service, form factor, loggers
Layout/ MainLayout with navigation, auto-login, toast notifications
Models/ Date selector model for measuring pages
Extensions/ DevExpress MessageBox/ConfirmBox helpers
Databases/ Client-side ConcurrentDictionary table cache

Key Files (Root)

  • _Imports.razor — Global Blazor imports.
  • Routes.razor — Route definitions.
  • appsettings.json — Canonical configuration source for all three hosts (Web, Web.Client, MAUI). Edit ONLY here. Pull mechanism per host: see docs/ARCHITECTURE.md (in repo root) → "Shared Configuration".

Target Framework

.NET 10.0 with AOT compilation and WASM IL stripping enabled.