- 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. |
||
|---|---|---|
| .. | ||
| AcWebSignalRHubWithSessionBase.cs | ||
| DevAdminSignalRhub.cs | ||
| LoggerSignalRHub.cs | ||
| README.md | ||
| SignalRSendToClientService.cs | ||
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>. ALogItemClientwire-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.