Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
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.