用于 .NET 的 JSON Rpc 库

发布于 2025-01-05 18:20:07 字数 1536 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扎心 2025-01-12 18:20:07

JSON-RPC.NET http://jsonrpc2.codeplex.com/ 处于 BSD 许可证下,因此您可以使用它在您的商业应用程序中。它有一个 ASP.net 处理程序,但 ASP.NET 不是必需的。我有从控制台应用程序运行服务器的示例。它可以与插座或管道或任何您想要插入其中的传输设备一起使用。因此,您不会被迫使用 HTTP,但如果您愿意,它就在那里。

你应该发现 json rpc 比 asmx 更紧凑。它应该会减少带宽,并且可以为您提供更好的性能,但您需要对此进行测试。

我是该项目的贡献者,并且有兴趣知道它是否满足您的需求。

JSON-RPC.NET http://jsonrpc2.codeplex.com/ is under a BSD license so you can use it in your commercial application. It has a ASP.net handler, but ASP.NET is not required. I have examples that run the server from a console application. It can work with sockets or pipes, or any transport you would like to plug into it. So you are not forced to use HTTP, but its there if you want to.

You should find that json rpc is more compact then asmx. It should reduce bandwidth, and could perform better for you, but you would want to test that.

I'm a contributer on the project, and would be interested to know if it meets your needs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文