AyCode.Core/AyCode.Services
Loretta cdd54d3196 Refactor SignalR param serialization to pure binary format
Replaces legacy JSON-in-Binary parameter envelopes with a length-prefixed, per-parameter binary format for all client→server calls. Introduces SerializeParametersToBinary and DeserializeParametersFromBinary for type-safe, zero-copy parameter handling. Marks IdMessage, SignalPostJsonDataMessage, and related wrappers as obsolete. Updates all client CRUD/messaging helpers and server-side dispatch to use object[] binary serialization. Adds DataSerializerType to SignalReceiveParams for response format indication. Updates tests and documentation to reflect new protocol. BREAKING CHANGE: not compatible with previous JSON-in-Binary clients/servers.
2026-04-05 17:21:38 +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 Refactor SignalR param serialization to pure binary format 2026-04-05 17:21:38 +02:00
docs Refactor SignalR param serialization to pure binary format 2026-04-05 17:21: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