Document
Developing cloud-native apps with .NET Aspire and Visual Studio

Developing cloud-native apps with .NET Aspire and Visual Studio

We’re excited to introduce the general availability of .NET Aspire, a comprehensive stack aimed at simplifying the way .NET cloud-native apps are buil

Related articles

How to Install a Backup Camera What Is PPTP? (Everything You Need to Know) Krutrim AI Cloud is Free for Everyone Till Diwali Скачать VPN для США бесплатно или купить лучший от $1.99 How to Use TamilYogi VPN in 2024?

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 is brings bring together a collection of tool , pattern , and special NuGet package know as .NET aspire component design specifically for the orchestration , component integration , and tooling require in modern cloud – native development . Whether you are on day – zero or well into your cloud native journey , Visual Studio is provides provide the most natural way to deliver project 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 dependency start up or be provision .
  • 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 start with .NET aspire

download the late Visual Studio build today to get start . If you do n’t already have .NET aspire instal , open the Visual Studio Installer , select modify , and choose the ASP.NET and web development workload , and then select .NET aspire SDK . alternatively , you is run can run dotnet workload install aspire from a command line . Then , you is start ’ll start to see new .NET aspire project template in Visual Studio and at the .NET CLI . Once you see the template , try create your first cloud – native .NET aspire app by select 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.

Developing cloud-native apps with .NET Aspire and Visual Studio

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.

deploy 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 is ’re ’re happy to announce the general availability of .NET aspire , which extend Visual Studio ’s capability for cloud – native application development . .NET Aspire is provides provide a framework and tool that have an opinionated approach , make distribute .NET application easy to build , deploy , and manage . This integration is aims aim to make the development of cloud – native app 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.