Aspire for .NET Developers
Define your system architecture with a code-first approach, use production-ready defaults, and deploy everything to Azure via infrastructure as code best practices.
Course introduction
What this course covers
What you need to know first
Software prerequisites
Source code and other resources
Introduction
What is Aspire?
Running the startup project
Adding the Aspire AppHost project
Running an Aspire application
Adding the .NET API to the AppHost
Introduction
Adding the PostgreSQL hosting integration
Connecting the API to the PostgreSQL resource
Using persistent containers
Adding the Storage hosting integration
Adding the Keycloak hosting integration
Testing the Aspire hosted .NET app
Introduction
Adding resiliency to PostgreSQL connections
Using default PostgreSQL health checks
Adding Storage resiliency and health check defaults
Adding a ServiceDefaults project
A few more cleanups
Diagnosing issues across dependencies
How to Get Personal Help While You Learn
Introduction
What is Infrastructure As Code?
Adding Azure Postgres Flexible Server support
Customizing Azure Storage Infrastructure
Customizing Azure Container Apps Infrastructure
Adding deployment parameters
Excluding resources not needed in the cloud
Deploying via the Azure Developer CLI (AZD)
Exploring deployed resources
Testing the deployed API