سؤال

I'm looking for a standalone json-rpc server library for c#. I do already know ones that work with ASP.NET but couldn't find one that can be used as standalone.

The closes i could find was http://jsonrpc2.codeplex.com/ which is not actually standalone but works with ASP.Net.

Note: The project we are working on is standalone and we are also targeting mono framework which is the reason we are looking for a stand-alone json-rpc server.

هل كانت مفيدة؟

المحلول

Actually, https://github.com/Astn/JSON-RPC.NET is a stand alone json rpc server. It just happens to have a plugin for ASP.net.

There is no dependency in ASP.net or IIS.

Check out the documentation on running a console server at that link you posted.

There is also a discussion there about hosting that server over raw sockets.

-- Edited url to github instead of codeplex --

نصائح أخرى

SignalR matches those requirements:

http://signalr.net

Although its primary usage is for web, it is not required to run a web server: it can be run in a windows service or a standalone application.

Have you looked at PokeIn? It may suit your needs depending on your requirements.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top