How to Build Headless Akka.NET Services with IHostedService
Creating Stand-alone Akka.NET Services with Microsoft.Extensions.Hosting and IHostedService
At Akka.NET’s inception, most of the server-side code samples we produced all demonstrated how to build so-called “headless” Akka.NET services as outright Windows Services primarily using libraries like Topshelf.
.NET has changed tremendously since then and become a truly cross-platform runtime that is capable of working with and within all of the amazing innovations that have sprung from the greater global open source community, such as Kubernetes and Docker. Thus, it’s time we modernize our guidance for how to build headless services in the age of .NET Core / .NET 5 and beyond.
We’ve produced a YouTube video demonstrating how to Host Akka.NET using IHostedService
which demonstrates the modern approach to configuring and hosting stand-alone Akka.NET services:
This blog post compliments the YouTube video!