AyCode.Core/AyCode.Services
Loretta d060508bd8 Add diagnostics for binary SignalR serialization bugs
Enhances debugging of custom binary serialization/deserialization in SignalR by introducing DiagnosticLogger hooks in both AcBinaryDeserializer and AcBinaryHubProtocol. Adds DEBUG-only verification methods to compare array-based and multi-segment deserialization, as well as IBufferWriter and byte[] serialization outputs, logging mismatches for easier bug isolation. Diagnostic loggers are automatically integrated with the hub and client loggers. Also includes extra debug output and a commented workaround for a known serialization issue. Diagnostics are opt-in and only active in DEBUG builds.
2026-04-07 20:53:20 +02:00
..
Loggers Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00
Logins Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SignalRs Add diagnostics for binary SignalR serialization bugs 2026-04-07 20:53:20 +02:00
docs Refactor SequenceBinaryInput: zero-copy, docs, issues 2026-04-07 10:33:38 +02:00
AyCode.Services.csproj Refactor: Split and expand project-level documentation 2026-03-29 22:16:28 +02:00
README.md Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00

README.md

AyCode.Services

@project { type = "framework" }

Shared service implementations: SignalR communication (custom binary protocol), login services, and remote log writers.

Documentation

Document Topic
SIGNALR.md Client-side SignalR transport (tags, wire protocol, req/resp flow)
LOGGING_REMOTE.md Remote log writers (HTTP, browser console, SignalR)

Folder Structure

Folder Purpose
Loggers/ Remote log writers: HTTP, browser console (JS interop), SignalR
Logins/ Base and client-side login service implementations
SignalRs/ Custom binary SignalR protocol, client base, message tagging, serialization

Dependencies

Dependency Purpose
AyCode.Core Core types, serializers, compression
AyCode.Entities Entity base classes
AyCode.Interfaces Service contracts
AyCode.Models DTOs
Microsoft.AspNetCore.SignalR.Client SignalR client
Microsoft.AspNetCore.SignalR.Common IHubProtocol for custom binary protocol
Microsoft.AspNetCore.Authentication.JwtBearer JWT authentication