using Akka.Configuration;
using System.Threading.Tasks;
public string Who { get;private set; }
public class GreetingActor : ReceiveActor
Receive<Greet>(greet => Console.WriteLine("Hello {0}", greet.Who));
public static void Main()
var system = ActorSystem.Create("MySystem",GetConfig());
var greeter = system.ActorOf(Props.Create<GreetingActor>(),"greeter");
greeter.Tell(new Greet("Akka.NET"));
private static Config GetConfig()
return ConfigurationFactory.ParseString(@"
akka.actor.default-dispatcher {
type = ""Akka.Dispatch.TaskDispatcher""