Six months after its first preview released during .NET Conf 2023, .NET Aspire becomes generally available (GA) at Microsoft Build 2024. This project, which aims to revolutionize the local development of distributed applications, has unfortunately been overlooked by some due to its preview status. This is good news for those who can now embark on the adventure. Here are some resources to learn how to use .NET Aspire.
.NET Aspire official documentation
The best place to start learning .NET Aspire is the official documentation. It includes an overview, a quickstart guide, dives into conceptual details and much more.
Official videos on the Microsoft YouTube channels
Not a fan of reading? Microsoft has published videos throughout the development of .NET Aspire. You can understand what problem it tries to solve, how the .NET team arrived at this solution, how to use it, and what the vision for the future is.
- Welcome to .NET Aspire video series, a series of 9 videos released at the Microsoft Build 2024.
- Building Cloud Native apps with .NET 8 | .NET Conf 2023, November 15, 2023.
- ASP.NET Community Standup - .NET Aspire Update, January 23, 2024.
- ASP.NET Community Standup - .NET Aspire in action, February 6, 2024.
- ASP.NET Community Standup: .NET Aspire Update, April 16, 2024.
- Deploy distributed .NET apps to the cloud with .NET Aspire and Azure Container Apps, April 10, 2024.
Official code samples on GitHub
The official samples repository contains valuable examples and demonstrates a small portion of the possibilities offered by .NET Aspire:
- A real-world example of a distributed application with microservices,
- JavaScript frontends and Node.js backends integration,
- Desktop apps integration,
- Various databases integration,
- Dapr integration and more.
Community videos
.NET Aspire has generated a lot of enthusiasm in the community. Here are some videos from developers who have experimented with .NET Aspire and share their experiences.
- What Is .NET Aspire? The Insane Future of .NET! by Nick Chapsas, November 19, 2023.
- First Look at .NET Aspire - Distributed Applications in .NET 8 by Milan Jovanović, December 26, 2023.
- WHY and HOW to Add .NET Aspire to ANY .NET API and Web App in Minutes by James Montemagno, April 18, 2024.
- Cloud-native apps with .NET Aspire by Layla Porter, November 26, 2023.
- Learn C# with CSharpFritz: Introducing .NET Aspire by Jeff Fritz, May 8, 2024.
David Fowler's experiments on GitHub
Do you want deep technical content about .NET Aspire? Watch how David Fowler pushes the limits of the .NET Aspire application model in these advanced scenarios. In my opinion, some of this content should be integrated into .NET Aspire.
- How to use .NET Aspire with Redis.
- How to use YARP with .NET Aspire to route between services.
- How to use .NET Aspire to show a Swagger UI for any resource that exposes an OpenAPI endpoint.
- How to extend .NET Aspire application model to enable waiting for dependencies to be available before starting the application.
- How to use .NET Aspire to deploy Event Grid for local use then publish and subscribe events between resources.
- How to use and deploy Event Hubs, which is a resource that doesn't exist in .NET Aspire by default.
- A prototype using Pulumi and .NET Aspire together for local development.
My blog posts
Since the launch of .NET Aspire, I've written several articles on the subject. Here are some of my favorites:
- Exploring the Microsoft Developer Control Plane at the heart of the new .NET Aspire, November 21, 2023.
- .NET Aspire dashboard is the best tool to visualize your OpenTelemetry data during local development, March 25, 2024.
- .NET Aspire is the best way to experiment with Dapr during local development, April 29, 2024.
- Referencing external Docker containers in .NET Aspire using the new custom resources API, April 11, 2024.
- Running Ruby on Rails web apps with .NET Aspire, April 18, 2024.
More blog posts, online resources and projects
There are many other online resources to learn .NET Aspire. Here are some of my recommendations:
- General Availability of .NET Aspire: Simplifying .NET Cloud-Native Development, by Damian Edwards.
- .NET Aspire Learn Path, the official collection of learning resources for .NET Aspire.
- Aspireify.NET, a .NET Aspire content aggregator by Jeff Fritz.
- .NET Aspire announcements & articles on Microsoft's .NET blog.
- JetBrains Rider and the .NET Aspire Plugin, because not everyone uses Visual Studio.
- Using the Aspire Dashboard for Python OpenTelemetry tracing, metrics, and logs by Anthony Shaw.
- Aspirate, a tool that can generate kustomize manifests for deploying aspire apps to Kubernetes, by David Sekula.
Social networks
If you want to stay updated with the latest news on .NET Aspire and discover what the community is building with it, I recommend following the news on X: #aspire and more recently #dotnetaspire.
You can also follow the people who work closely on .NET Aspire:
- David Fowler, Distinguished Engineer at Microsoft.
- Damian Edwards, Principal Architect at Microsoft.
- Tim Heuer, Principal Product Manager Lead at Microsoft.
- David Pine, Senior Content Developer at Microsoft.
- James Newton-King, Principal Software Engineer at Microsoft.
- Eric Erhardt, Principal Software Engineer at Microsoft.
.NET Aspire's source code
The .NET Aspire repository on GitHub is the source of truth for understanding how it works. I strongly encourage you to explore it in your browser or in your IDE via SourceLink.
Cover picture, from left to right: .NET Aspire documentation, David Fowler and Damian Edwards during an ASP.NET Community Standup, Aspireify.NET and Nick Chapsas on YouTube.
Top comments (0)