AyCode.Core/AyCode.Services.Server.Tests
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
..
LoginServices 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
AyCode.Services.Server.Tests.csproj Update dependencies and expand README documentation 2026-03-20 16:42:51 +01:00
InvokeMethodExtensionTests.cs Refactor JSON/SignalR infra; add full test & benchmark suite 2025-12-11 21:25:50 +01:00
README.md Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
TestLogger.cs Refactor JSON/SignalR infra; add full test & benchmark suite 2025-12-11 21:25:50 +01:00

README.md

AyCode.Services.Server.Tests

@project { type = "test" }

Comprehensive server-side tests for SignalR communication, DataSource operations, login services, and reflection-based method invocation.

Folder Structure

Folder Purpose
SignalRs/ Full SignalR client→hub→service test infrastructure
LoginServices/ Login service test base classes

Key Files (Root)

  • TestLogger.cs — Re-exports TestLogger from AyCode.Core.Tests.
  • InvokeMethodExtensionTests.cs — Tests MethodInfo.InvokeMethod: sync, async Task unwrapping, Task.FromResult (production bug fix), non-generic Task, complex objects.