AyCode.Core/AyCode.Services/README.md

1.6 KiB

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)
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
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) ASP.NET Core MVC formatter base classes (.NET 9+)
Microsoft.AspNetCore.SignalR.Client SignalR client
Microsoft.AspNetCore.SignalR.Common IHubProtocol for custom binary protocol
Microsoft.AspNetCore.Authentication.JwtBearer JWT authentication