Production-ready dotnet new
templates for Akka.NET.
All of these templates are designed to be simple and provide you with a relatively complete structure to get started developing your own Akka.NET applications from scratch.
Upon installing these templates via the dotnet
CLI, you will have access to them from both the dotnet
CLI itself and as "new project" template options in any .NET IDE - such as Visual Studio and JetBrains Rider!
To install these templates, just install the Akka.Templates
package from NuGet:
dotnet new install "Akka.Templates::*"
To upgrade these templates to a newer version:
dotnet new update
To uninstall these templates from your local machine:
dotnet new uninstall Akka.Templates
The following templates are available as part of the Akka.Templates
package:
Template | Short Name | Description |
---|---|---|
Akka.WebApi | akkawebapi | A template for building ASP.NET HTTP APIs on top of an Akka.NET Cluster. Uses Akka.Cluster.Sharding and, optionally: Akka.Management + Akka.Persistence.Azure + Akka.Azure.Discovery. This template is meant as a starter for building distributed systems with Akka.NET |
Akka.Console | akkaconsole | This is a simple template designed to incorporate local Akka.NET into a console application. |
Akka.Streams | akkastreams | This is a simple template designed to incorporate Akka.NET's Akka.Streams APIs into a local console template. |
See the official dotnet new
documentation for more information on the sorts of options that are available when using project templates.
We accept pull requests! Please let us know what we can do to make these templates more useful, extensible, or easier to use.