Introduction
This tutorial is intended to give an introduction to using Akka .NET by creating a simple HelloWorld actor using C#.
Sections
- Introduction
- Messaging with Actors
- Messaging Channels
- Message Construction
- Message Routing
- Message Transformation
- Message Endpoints
- 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:
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