- Use
DisposeAsync
across the libraries since .NET Standard 2.1 (.NET Core 3.0).
CXuesong.JsonRpc.AspNetCore
- Use asynchronous overloads to access HTTP request/response (#13)
- Thus ASP.NET Core 3+ will not complain about you are using synchronous HTTP stream overloads.
- You will not need to enable
AllowSynchronousIO
in your config.
- Use HTTP 200 status code for error JSON RPC response. (#14)
- Library consumer can still derive from
AspNetCoreRpcServerHandler
and override AspNetCoreRpcServerHandler.GetStatusCodeFromResponse to customize the status code mapping.
- Library consumer can still derive from