AyCode.Core/AyCode.Services
Loretta 11d76270dc Fix SGen null complex prop bug, add CHUNK_ABORT to SignalR
- Fix SGen-generated writer bug: always null-check reference-type properties before serialization, emitting PropertySkip if null, to prevent runtime NREs.
- Add regression tests for SGen null complex property handling.
- Introduce CHUNK_ABORT ([203]) marker to SignalR binary protocol for graceful mid-stream serialize failure handling; update protocol logic and docs.
- Improve documentation to cover bug, fix, and new protocol marker.
- Minor: remove explicit net10.0 target from test csproj.
2026-05-23 09:26:48 +02:00
..
Loggers [LOADED_DOCS: 4 files, no new loads] 2026-04-24 21:54:04 +02:00
Logins Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
Mvc [LOADED_DOCS: 3 files, no new loads] 2026-05-05 15:06:11 +02:00
SignalRs Fix SGen null complex prop bug, add CHUNK_ABORT to SignalR 2026-05-23 09:26:48 +02:00
docs Fix SGen null complex prop bug, add CHUNK_ABORT to SignalR 2026-05-23 09:26:48 +02:00
AyCode.Services.csproj [LOADED_DOCS: 3 files, no new loads] 2026-05-05 15:06:11 +02:00
README.md [LOADED_DOCS: 3 files, no new loads] 2026-05-05 15:06:11 +02:00

README.md

AyCode.Services

@project { type = "framework" }

Shared service implementations: SignalR communication (custom binary protocol), ASP.NET Core MVC formatters for the AcBinary wire format, login services, and remote log writers.

Documentation

Document Topic
SIGNALR/README.md Client-side SignalR transport (tags, wire protocol, req/resp flow)
SIGNALR_BINARY_PROTOCOL/README.md Binary-over-SignalR wire format, chunked framing
MVC/README.md ASP.NET Core MVC formatters for AcBinary (application/vnd.acbinary) — temporarily disabled
LOGGING/README.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
Mvc/ ASP.NET Core MVC InputFormatter / OutputFormatter for AcBinary wire format — temporarily disabled (block-commented, FrameworkReference removed)
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.App (FrameworkReference) temporarily disabled — see Mvc/README.md
Microsoft.AspNetCore.SignalR.Client SignalR client
Microsoft.AspNetCore.SignalR.Common IHubProtocol for custom binary protocol
Microsoft.AspNetCore.Authentication.JwtBearer JWT authentication