FruitBankHybridApp/FruitBank.Common.Server/Services/SignalRs
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
..
AcWebSignalRHubWithSessionBase.cs SignalR improvements; etc... 2025-10-30 14:54:47 +01:00
DevAdminSignalRhub.cs Add environment guard & EKÁER NAV submit; test safety 2026-07-13 19:00:13 +02:00
LoggerSignalRHub.cs Update logger SignalR hub to use LogItemClient wire type 2026-07-13 08:38:37 +02:00
README.md Update logger SignalR hub to use LogItemClient wire type 2026-07-13 08:38:37 +02:00
SignalRSendToClientService.cs imporvements, fixes, etc... 2025-10-31 05:37:12 +01:00

README.md

SignalRs

SignalR hub implementations and real-time broadcast service.

Key Files

  • DevAdminSignalRHub.cs — Main admin hub. Dependencies: IConfiguration, IFruitBankDataControllerServer, ICustomOrderSignalREndpointServer, IStockSignalREndpointServer. Registers all three endpoint interfaces with DynamicMethodRegistry. Uses AcBinary serialization.
  • AcWebSignalRHubWithSessionBase.cs — Generic base hub with session management (OnConnected/OnDisconnected hooks).
  • SignalRSendToClientService.cs — Broadcasts real-time notifications to all clients: SendOrderChanged, SendOrderItemChanged, SendShippingChanged, SendProductChanged, etc.
  • LoggerSignalRHub.cs — A kliens-log feltöltés fogadó hubja (/loggerHub): AcLoggerSignalRHub<LoggerToLoggerApiController, LogItemClient>. A LogItemClient wire-típusnak azonosnak KELL lennie a kliens-writerével (SignaRClientLogItemWriter : AcSignaRClientLogItemWriter<LogItemClient>) — a SignalR erre deserializál, AcBinary-protokollon a generált serializere fut. Kapcsolat-életciklust logol (Logger client connected/disconnected), így a halott feltöltő-csatorna a szerver-konzolból látszik.