FruitBankHybridApp/FruitBankHybrid.Shared
Loretta 42f5c86ce4 Add environment guard & EKÁER NAV submit; test safety
- Integration tests now fail fast if run against PROD, using a new TestServerGuard and async [TestInitialize] methods.
- Test config is unified via shared appsettings.json, loaded at assembly init.
- SignalR protocol extended: server announces environment on connect; client hydrates and verifies environment, logging changes.
- EKÁER grid supports NAV submission with async UI and status updates.
- Backend and protocol updated for SendEkaerToNav support.
- Minor UI and error handling improvements.
2026-07-13 19:00:13 +02:00
..
Components Add environment guard & EKÁER NAV submit; test safety 2026-07-13 19:00:13 +02:00
Databases PartnerDepot API, SignalRTags fixes, and test for duplicates 2026-06-07 07:20:07 +02:00
Extensions Show multiline DevExpress message boxes with CSS fix 2026-07-11 06:55:10 +02:00
Layout Add PartnerDepot grid, EKÁER menu, and test refactor 2026-06-09 14:51:23 +02:00
Models Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Pages Add PartnerDepot to ShippingDocument, EKÁER grid updates 2026-06-16 12:02:24 +02:00
Services Add environment guard & EKÁER NAV submit; test safety 2026-07-13 19:00:13 +02:00
wwwroot Show multiline DevExpress message boxes with CSS fix 2026-07-11 06:55:10 +02:00
FruitBankHybrid.Shared.csproj Refactor: remove Server DLLs, unify SignalR references 2026-06-08 16:53:27 +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 Clarify agent protocol: sequential doc reads required 2026-07-13 14:04:34 +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.