This is a comprehensive Aspire workshop to get you up-and-running with both development time and deployment skills. Learn how to build, orchestrate, and deploy cloud-native applications using Aspire.
.NET Aspire is an opinionated, cloud-ready stack for building observable, production-ready, distributed applications. Aspire simplifies the development of cloud-native apps by providing:
- Service Orchestration: Start all your services (APIs, databases, message queues) with one click
- Service Discovery: Services automatically find each other without hard-coded URLs
- Telemetry: Built-in OpenTelemetry for logs, traces, and metrics
- Deployment: Generate deployment artifacts for Docker Compose, Kubernetes, and Azure Container Apps
- Developer Dashboard: A helpful UI showing all your services, logs, traces, and health checks
Head to Chapter 0 to set up your development environment.
This workshop provides hands-on experience with Aspire through a series of progressive tutorials:
- Chapter 0: Installation: install the prerequisites
- Chapter 1: Everything Sample: a comprehensive example
- Chapter 2: Greenfield App: get your feet wet with the new project templates
- Chapter 3: Brownfield App: upgrade an existing project to include Aspire
- Chapter 4: Advanced Aspire: play with a lot of Aspire components and integrations
- Chapter 5: Deployment
- Docker Compose: Prop up other dependencies during development
- Azure Container Apps: ACA is great when Kubernetes YAML is too confusing
- Kubernetes: Deploy to any Kubernetes cluster using Helm
- Or you could use Aspire to scaffold files and manually adjust them.
- Or don't use Aspire for deployment and deploy with existing patterns.
- Chapter 6: Resources: More learnings
Rob Richardson is a software craftsman building web properties in ASP.NET and Node. He's a frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high-quality software development.
Barry Stahl is a .NET Software Engineer who has been creating business solutions for enterprise customers for more than 35 years. Barry is also an election-qualified independent for-profit corporate moderator and facilitator.
We welcome your contributions, corrections, and feedback! Please give us a pull request or an issue on how we can improve.
MIT License
