This tutorial is intended to give an introduction to using Akka .NET by creating a simple HelloWorld actor using C#.

Sections

  1. Introduction
  2. Messaging with Actors
  3. Messaging Channels
  4. Message Construction
  5. Message Routing
  6. Message Transformation
  7. Message Endpoints
  8. System Management and Infrastructure

Set up your project

  • Create a new C# Console Application.
  • Open up the Package Manager Console and type:
  • Import the next namespaces:

Sections

Create your first actor

  • Create a message type that our actor will respond to:
  • Create our Hellow World actor:
  • Create an ActorSystem and calling ActorOf
  • For more information read the Akka.Net documentation
  • Download the complete code here

Sections