AyCode.Core/AyCode.Services
Loretta 8e7869b3da Improve JSON deserialization and observable collection handling
- Add batch update support for IAcObservableCollection during deserialization to suppress per-item notifications and fire a single reset event.
- Throw AcJsonDeserializationException with a clear message if a type lacks a parameterless constructor during deserialization.
- Enhance IsGenericCollectionType to recognize more collection types, including ObservableCollection<T> and custom IList<T> implementations.
- Improve array and collection deserialization logic to better handle target types and fall back to List<T> if needed.
- In AcObservableCollection, catch and ignore ObjectDisposedException in event handlers to prevent errors from disposed subscribers.
- Remove redundant batch update logic from AcSignalRDataSource; rely on deserializer's handling.
- Set SkipNegotiation = true in SignalR client options for WebSockets-only optimization and comment out automatic HubConnection.StartAsync() for more controlled connection management.
2025-12-11 23:46:30 +01:00
..
Loggers Implement SignalRLoggerClient 2025-09-02 11:48:05 +02:00
Logins ForgotPassword 2024-08-02 17:58:19 +02:00
SignalRs Improve JSON deserialization and observable collection handling 2025-12-11 23:46:30 +01:00
AyCode.Services.csproj microsoft packages update 2025-12-01 16:18:36 +01:00