Skip to content

The NuGet packages

Chen edited this page Apr 22, 2019 · 5 revisions

To install the core library of JsonRpc.Standard, run the following command with .NET CLI

dotnet add package CXuesong.JsonRpc.Common

Though most of the following packages have dependency on Common package, it's recommended that you manually install this package to ensure you get the latest update.

To make use of dynamic proxy to build client-side JSON RPC implementations from your stub abstract class or interface (since v0.4),

dotnet add package CXuesong.JsonRpc.DynamicProxy

To implement or consume JSON-RPC methods over Streams, especially if you are working with Language Server Protocol,

dotnet add package CXuesong.JsonRpc.Streams

To implement JSON-RPC methods over HTTP on ASP.NET Core,

dotnet add package CXuesong.JsonRpc.AspNetCore

To consume JSON-RPC methods over HTTP,

dotnet add package CXuesong.JsonRpc.Http

To implement/consume JSON-RPC methods over WebSocket, with the help of CXuesong.JsonRpc.Streams,

dotnet add package CXuesong.JsonRpc.WebSockets

Obsoleted packages

  • CXuesong.JsonRpc.Standard has been superseded by CXuesong.JsonRpc.Commons since v0.5.0.
  • Looking for CXuesong.JsonRpc.Dataflow? Well, unfortunately it has been abandoned since v0.3.0.
Clone this wiki locally