其他分享
首页 > 其他分享> > JsonRPC 入门

JsonRPC 入门

作者:互联网

=========================================

选择 edjCase 的 JsonRPC 类库

=========================================

从nuget查看 json RPC 下载量, 下面几个库比较靠前,

https://github.com/edjCase/JsonRpc

https://github.com/microsoft/vs-streamjsonrpc

https://github.com/Astn/JSON-RPC.NET

其中有微软开源的 StreamJsonRPC , 但看起来像是用于 VS code 的 LSP 通讯, 和 Asp.net core的结合度不高,   edjCase 的 JsonRPC 库, 有很好的入门教程, 编程风格也是目前主流的DI风格, star 和发布历史都OK, 所以选择它了.

 

edjCase 的 JsonRPC  包含两个核心组件:

EdjCase.JsonRpc.Router  服务端
EdjCase.JsonRpc.Client 客户端

标签:github,JsonRpc,入门,edjCase,https,JsonRPC,com
来源: https://www.cnblogs.com/harrychinese/p/jsonrpc.html