2

I am looking for a simple .NET library that implements a concept of async message passing similar to Erlang OTP platform. So far, I have only found RetLang to be somewhat similar, but

  1. It seems to be abandoned, and
  2. It only supports message passing within one process.
Josh Darnell
  • 11,304
  • 9
  • 38
  • 66

6 Answers6

1

Microsoft research developed and proved out (with EA/Bioware) a project called Orleans. It has been used in production and is being actively developed.

Quick Summary

Intro on Pluralsight

https://github.com/dotnet/orleans

Sean Anderson
  • 614
  • 8
  • 20
1

You can try with MSMQ .you can use for single or a group of messages you want to put in the queue and read from it later asynchronously. :)

Milee
  • 1,191
  • 1
  • 11
  • 29
1

In my opinion the easiest way to do this in .net (aside from F# ;) ) is the TPL dataflow - lib

Random Dev
  • 51,810
  • 9
  • 92
  • 119
1

Use MSMQ which is quite simple to implement. It is exactly what you need - asynchronous messaging system. WCF is also good but is more complex to manage (config files) and adds a bit of overhead. MSMQ is a standard (and free) Windows component but to use it you need to enable it. MSMQ can be used for local communication (same process or any 2 processes within the same Windows domain)

Read this answer for more details and code examples.

Community
  • 1
  • 1
Maciej
  • 7,871
  • 1
  • 31
  • 36
0

You can use WCF to send and receive asynchronous messages. you can read more at msdn

daryal
  • 14,643
  • 4
  • 38
  • 54
0

Please have a look at spring messaging, this might be useful for you.

vinodpthmn
  • 1,062
  • 14
  • 28