FruitBankHybridApp/FruitBankHybrid.Shared
Loretta 33d84a8257 [LOADED_DOCS: .github\copilot-instructions.md, C:\Users\Fullepi\copilot-instructions.md]
Refactor SignalR client DI and config, add test factory

Refactored FruitBankSignalRClient construction to use DI and centralized configuration from appsettings.json across all platforms. Introduced TestSignalRClientFactory for consistent test setup. Added FruitBankHubConnectionExtensions for reusable SignalR connection and logging configuration. Updated Program.cs and MauiProgram.cs to register logger factories, log writers, and IHubConnectionBuilder via DI. Embedded appsettings.json in MAUI and updated .csproj references for build flexibility. No business logic changes; all updates are infrastructure and test setup.
2026-04-22 22:45:32 +02:00
..
Components Document FruitBankGridBase and update grid conventions 2026-03-29 18:30:33 +02:00
Databases Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +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 [LOADED_DOCS: .github\copilot-instructions.md, C:\Users\Fullepi\copilot-instructions.md] 2026-04-22 22:45:32 +02:00
wwwroot Add MgCardView component & refactor MeasuringOut to tabs 2026-03-22 20:01:49 +01:00
FruitBankHybrid.Shared.csproj Refactor MgGridDataColumn URL templating & update csproj refs 2026-03-24 18:38:44 +01:00
README.md Add structured metadata and update doc references 2026-03-30 08:54:33 +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

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.

Target Framework

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