AyCode.Core/AyCode.Services.Server
Loretta 05808d0d13 SignalR: Add raw byte[] fast-path for DataSource GetAll
Implements a high-performance raw byte[] protocol path for SignalR DataSource GetAll/LoadDataSource, using a new IsRawBytesData flag in SignalParams. When enabled, the server pre-serializes response data and sends it as a byte array, which the protocol passes through without further (de)serialization. The client receives the raw bytes and deserializes as needed, avoiding double serialization/deserialization and improving performance for large payloads.

Adds SerializerType selection to DataSource, propagates SignalParams through hub and protocol layers, and updates client/server/test code to support the new path. Also includes diagnostics flags for binary serialization debugging and fixes for multi-segment buffer handling.
2026-04-07 00:20:52 +02:00
..
Emails Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
Logins Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SignalRs SignalR: Add raw byte[] fast-path for DataSource GetAll 2026-04-07 00:20:52 +02:00
docs Switch SignalR payloads to ArrayPool-backed SignalData 2026-04-06 11:17:02 +02:00
AyCode.Services.Server.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.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_SERVER.md Server-side SignalR hub (dispatch, session, broadcast)
SIGNALR_DATASOURCE.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)