Is there a framework like Twisted Matrix for C#?
A fe开发者_运维百科w years ago I experimented with TwistedMatrix for Python and loved it. Unfortunately my current project precludes the use of Python as C# is the only language allowed.
If you're just looking for an asynchronous API for sending data, WCF will work fine. Generate the async bindings when creating your endpoint.
The ServiceStack framework is also fairly close, and a little easier than WCF. As you can see in their C# client example, you can easily do async event handlers:
https://github.com/ServiceStack/ServiceStack/wiki/C%23-client
精彩评论