We’re excited to introduce the general availability of .NET Aspire, a comprehensive stack aimed at simplifying the way .NET cloud-native apps are built and managed. .NET Aspire offers developers like you an improved, opinionated framework for constructing distributed applications, ensuring a seamless and consistent development experience.
This new stack brings together a collection of tools, patterns, and special NuGet packages known as .NET Aspire Components designed specifically for the orchestration, component integration, and tooling required in modern cloud-native development. Whether you are on day-zero or well into your cloud native journey, Visual Studio provides the most natural way to deliver projects to Azure.
If you’re a distributed application developer .NET Aspire brings something you’ve always wanted: –
- The ability to select F5 and have all the dependencies start up or be provisioned.
- Your projects are automatically configured between significant, distributed changes in the app.
- Deployment of these multi-node apps into a live development or test environment are a one-click gesture.
- .NET Aspire’s built-in service discovery capabilities enable your front-end apps to find your back-end APIs with less friction and almost zero configuration.
Getting started with .NET Aspire
Download the latest Visual Studio build today to get started. If you don’t already have .NET Aspire installed, open the Visual Studio Installer, select Modify, and choose the ASP.NET and web development workload, and then select .NET Aspire SDK. Alternatively, you can run dotnet workload install aspire from a command line. Then, you’ll start to see new .NET Aspire project templates in Visual Studio and at the .NET CLI. Once you see the templates, try creating your first cloud-native .NET Aspire app by selecting the .NET Aspire Starter Application template.
If you’ve ever had to build a front-end app that accessed a REST API back end and needed caching to enhance the app’s performance, you’ll recognize the topology of the app right away. Once you select F5 to start the debugger, the familiarity will end and the excitement will start – without needing to configure anything in your project or set startup order, the whole application will start up.
The .NET Aspire Dashboard opens and from there you’ll have access to deep telemetry, metrics, and distributed traces where you can see how the entire app is working end-to-end.
Deploying to Azure Container Apps
If you’re an Azure customer, you’ll be happy to know we’ve applied this same sort of one-click joy to our publishing experience, too. From within Visual Studio, you can right-click-publish an entire multi-node app to Azure Container Apps in one click. With “whole-app provision-and-publish” capabilities provided by the Azure Developer CLI (azd), from right within Visual Studio you can create new development environments in Azure Container Apps with one click.
This makes it easier than ever to spin up – and down – whole new copies of your application in isolated environments in your Azure subscription. Within minutes, your projects – and the dependencies they require to run – are all deployed successfully to Azure Container Apps.
We’re happy to announce the general availability of .NET Aspire, which extends Visual Studio’s capabilities for cloud-native application development. .NET Aspire provides a framework and tools that have an opinionated approach, making distributed .NET applications easier to build, deploy, and manage. This integration aims to make the development of cloud-native apps more straightforward and productive.
We are hearing great things from our .NET Aspire customers! They appreciate how Aspire simplifies deployment and refactoring, and how it provides a rich telemetry dashboard that gives them valuable insights in any environment. With the help of .NET Aspire, developers are improving their workflow, spending more time on innovation and less time on the complexities of operations.
We appreciate the time you’ve spent reporting issues/suggestions and hope you continue to give us feedback when using Visual Studio on what you like and what we can improve. Your feedback is critical to help us make Visual Studio the best tool it can be! You can share feedback with us via Developer Community: report any bugs or issues via report a problem and share your suggestions for new features or improvements to existing ones.
Stay connected with the Visual Studio team by following us on YouTube, Twitter, LinkedIn, Twitch and on Microsoft Learn.