Implements the modular networking layer for SOR Server: - SOR.Networking.Abstractions: pure interfaces (ITransport, IClientConnection, IMessageSerializer, IMessageDispatcher, IMessageHandler, IEventBus, IClientPush) - SOR.Networking.WebSocket: ITransport + IClientConnection over System.Net.WebSockets - SOR.Networking.Nats: IEventBus over NATS.Net (INatsConnection) - SOR.Networking.Redis: IClientPush over Redis Pub/Sub - SOR.Shared: ServiceResult<T>, RedisKeys, NatsSubjects, ServerMessage, JSON serializer - SOR.Shared.Proto: auth.proto with gRPC AuthService contract - SOR.Gateway: accept loop, auth handshake, dispatcher, Redis push subscriber - SOR.Auth: stub gRPC handler (placeholder responses) - SOR.Host: multi-service runner via ENABLED_SERVICES env var; wires all DI All concrete implementations are wired exclusively in SOR.Host — every transport, broker, and push implementation can be swapped by changing only Program.cs. dotnet build SOR.slnx → 0 errors, 0 warnings Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- Target .NET 8 (LTS) in every project under this directory -->
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
|
|
<!-- Nullable reference types: the compiler warns when a variable that can be null
|
|
is used without a null check. Catches NullReferenceException at compile time. -->
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- Use the latest C# language version (C# 12 with .NET 8) -->
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
<!-- Treat all warnings as errors — keeps code quality high across all projects -->
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
|
|
<!-- Implicit usings: automatically imports System, System.Linq,
|
|
System.Collections.Generic, System.Threading.Tasks, etc.
|
|
into every file so they don't need explicit using directives at the top. -->
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
<!-- Library projects are not packaged as NuGet packages -->
|
|
<IsPackable>false</IsPackable>
|
|
|
|
<!-- Ensure deterministic builds (same input always produces same output binary) -->
|
|
<Deterministic>true</Deterministic>
|
|
</PropertyGroup>
|
|
</Project>
|