An asynchronous .NET Standard 1.3 & .NET Framework 4.5 library for JSON RPC client & server implementation. The package focuses on the implementation of JSON RPC 2.0, while 1.0 support might be offered in the future.
The CXuesong.JsonRpc.*
packages are now available on NuGet. To decide which package(s) you should install, please refer to the topic page on repository wiki. For example, you may install the CXuesong.JsonRpc.Commons
package with the following command
# Package Management Console
Install-Package CXuesong.JsonRpc.Commons
# .NET CLI
dotnet add package CXuesong.JsonRpc.Commons
Package | Status |
---|---|
Superseded by CXuesong.JsonRpc.Commons |
|
CXuesong.JsonRpc.Commons | |
CXuesong.JsonRpc.DynamicProxy | |
CXuesong.JsonRpc.Streams | |
CXuesong.JsonRpc.AspNetCore | |
CXuesong.JsonRpc.Http | |
CXuesong.JsonRpc.WebSockets |
For a walkthrough of the packages, see repository wiki. For complete documentation on the classes, see library reference.
For an example based on FullDuplexStream
, please dive into ConsoleTestApp
.
For an example JSON-RPC server over HTTP with WebSocket support set up on ASP.NET Core, see WebTestApplication
.
For the (WIP) implementation of Mircosoft Language Server Protocol on the top of this library, please take a look at CXuesong/LanguageServer.NET. And a step further, for a WIP Wikitext language server, please take a look at CXuesong/MwLanguageServer.