Paul Krill
Editor at Large

.NET Aspire cloud development stack launches

news
May 22, 20242 mins

Microsoft's new cloud-ready stack for building distributed applications unites tools, templates, and NuGet packages and includes an App Host for orchestration within the app model.

shutterstock 1865595781 K2 peak in the Himalayas the second highest mountain in the world
Credit: Hussain Warraich / Shutterstock

Microsoft’s .NET Aspire, an opinionated, cloud-ready stack for building distributed applications, is now generally available.

The .NET Aspire stack was announced on May 21. Intended to simplify cloud-native development, the Aspire stack unites tools, templates, and NuGet packages to build observable, production-ready applications in .NET more easily, the company said. Developers can get started with .NET Aspire now in Visual Studio 2022 17.10, the .NET CLI, or the Visual Studio Code editor. The stack had been in preview since last November.

.NET Aspire is part of an ongoing goal to make .NET one of the most-productive platforms for cloud-native applications, Microsoft said. .NET Aspire features a web-based dashboard that displays details about a running application during the inner development loop, when the developer is writing, building, and debugging code. The dashboard view includes resources in the application model and endpoints, environment variables, and console logs. It also displays OpenTelemetry data sent by resources, such as structured logs, metric information, and distributed traces. Open Telemetry is an open source observability ecosystem.

NET Aspire is launching with components for connecting to database, messaging, cache, and client services. The stack also introduces an App Host project, so developers can use C# and familiar-looking APIs to configure application projects and hosted services that comprise a distributed application. These projects and services collectively are called resources, and code in App Host forms an application model of the distributed application. Launching an App Host project during the inner dev loop ensures all resources in the application model are launched according to how they are described. Adding an App Host project is the first step in adding .Net Aspire to an existing application, Microsoft said.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author