FruitBankHybridApp/FruitBankHybrid.Shared
Loretta a32f91271d Refactor partner model, add CargoPartner/Truck entities
- Refactored entity classes to be sealed and use new PartnerBase
- Introduced CargoPartner and CargoTruck entities with associations
- Centralized partner properties in abstract PartnerBase
- Updated IPartner, added IPartnerBase and ICargoPartner interfaces
- Added table name constants for new entities in FruitBankConstClient
- Changed AcBinaryHubProtocol FlushPolicy to "Coalesced"
- Cleaned up unused table item classes in DatabaseClient.cs
- Added serialization and documentation attributes to entities
- Updated Preorder and PreorderItem with new structure and docs
2026-05-28 17:47:53 +02:00
..
Components Add preorder entities, enums, and UI/admin updates 2026-05-26 17:04:07 +02:00
Databases Refactor partner model, add CargoPartner/Truck entities 2026-05-28 17:47:53 +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 Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Services Framework-first doctrine, DI logger factory, config refactor 2026-04-23 16:11:22 +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.