AyCode.Core/AyCode.Services.Server
Loretta b1cdf80fad Fix SignalR binary protocol: VarUInt framing & type-safe ser
- Add type-explicit ToBinary/SerializeToBinary overloads to preserve runtime type info for object? serialization, fixing deserialization bugs.
- Refactor VarUInt encoding/decoding to a prefix-tiered scheme (1–5 bytes), replacing LEB128 and preventing buffer overrun/corruption.
- Update all SignalR and serialization call sites to use new overloads.
- Sync SignalR binary protocol VarUInt decoding logic; fix test regressions.
- Add SIGNALR_BINARY_PROTOCOL_VARUINT.md with new wire-format spec and rationale.
- Add debug logging for argument serialization.
- Update .gitignore to not ignore itself.
- Resolves 65 KB value cap and missing in-band abort marker; requires both sender/receiver to use new framing for full compatibility.
2026-05-27 05:47:23 +02:00
..
Emails Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
Logins [LOADED_DOCS: 3 files, no new loads] 2026-04-25 20:24:32 +02:00
SignalRs Fix SignalR binary protocol: VarUInt framing & type-safe ser 2026-05-27 05:47:23 +02:00
docs [LOADED_DOCS: 3 files, no new loads] 2026-05-01 14:01:23 +02:00
AyCode.Services.Server.csproj [LOADED_DOCS: 4 files, no new loads] 2026-04-24 21:54:04 +02:00
README.md [LOADED_DOCS: 3 files, no new loads] 2026-04-28 06:36:39 +02:00

README.md

AyCode.Services.Server

@project { type = "framework" }

Server-side service implementations: JWT authentication, SendGrid email delivery, SignalR hub infrastructure with binary protocol, session management, and change-tracked data sources.

Documentation

Document Topic
SIGNALR/README.md Server-side SignalR hub (dispatch, session, broadcast)
SIGNALR_DATASOURCE/README.md Real-time DataSource with CRUD & change tracking

Folder Structure

Folder Purpose
Emails/ SendGrid email service (registration, password reset)
Logins/ Server-side login with JWT token generation
SignalRs/ SignalR hub base, session service, data source with change tracking, client broadcast

Dependencies

Dependency Purpose
AyCode.Core Core types, serializers
AyCode.Core.Server GlobalLogger
AyCode.Database Data access layer
AyCode.Entities / AyCode.Entities.Server Entity types
AyCode.Interfaces / AyCode.Interfaces.Server Service contracts
AyCode.Models / AyCode.Models.Server DTOs, dynamic method dispatch
AyCode.Services Client-side SignalR base, tag attributes
SendGrid Email delivery
Microsoft.AspNetCore.SignalR.* SignalR server
Microsoft.AspNetCore.Cryptography.KeyDerivation Password hashing
Microsoft.AspNetCore.Authentication.JwtBearer JWT auth (transitive)