Akka Net Aspire Configuration
Configure Akka.NET with .NET Aspire for local development and production deployments.
Install
npx skills add Aaronontheweb/dotnet-skills --skill akka-net-aspire-configuration -g -a claude-code -y- Repository
- Aaronontheweb/dotnet-skills1.2k
- Category
- Engineering
- Updated
- 7d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Configure Akka.NET with .NET Aspire for local development and production deployments. Covers actor system setup, clustering, persistence, Akka.Management integration, and Aspire orchestration patterns.
Configuring Akka.NET with .NET Aspire
When to Use This Skill
Use this skill when:
- Setting up a new Akka.NET project with .NET Aspire orchestration
- Configuring Akka.Cluster with cluster bootstrapping and discovery
- Integrating Akka.Persistence with SQL Server
- Setting up Akka.Management for cluster management
- Configuring multi-replica actor systems in local development
- Deploying Akka.NET applications to Kubernetes with Aspire
Related Skills
akka-net-management- Deep dive into Akka.Management, Cluster Bootstrap, and discovery providers (Kubernetes, Azure, Config)microsoft-extensions-configuration- IValidateOptions patterns for configuration validationakka-net-best-practices- Cluster/local mode abstractions for testable actor systemsaspire-integration-testing- Testing Aspire applications with real infrastructure
Core Principles
- Configuration via Microsoft.Extensions.Configuration - Use strongly-typed settings classes bound from appsettings.json (see
microsoft-extensions-configurationskill) - Akka.Hosting for DI Integration - Use the Akka.Hosting library for seamless ASP.NET Core integration
- Aspire for Orchestration - Let Aspire manage service dependencies, networking, and environment configuration
- Health Checks - Always configure health checks for clustering, persistence, and readiness
- Separate Concerns - Keep actor definitions, configuration, and Aspire orchestration in separate layers
- Validate Configuration at Startup - Use
IValidateOptions<T>and.ValidateOnStart()to fail fast on misconfiguration
