Microsoft Dev Blogs

.NET Aspire and Azure Functions integration preview

thumbnail

Introduction

The new update in Visual Studio integrates .NET Aspire with Azure Functions, simplifying the process of incorporating serverless technology into .NET projects.

Simplified Project Setup

When creating a new Azure Functions project, developers can now easily include .NET Aspire orchestration by checking a box. This adds an App Host and Service Defaults project to the solution from the start, reducing setup time.

Effortless Integration with Existing Projects

Existing Azure Functions projects can also be enhanced with .NET Aspire support in Visual Studio 2022, similar to ASP.NET Core apps, making integration seamless.

Real-time Monitoring and Debugging

Running or debugging an Azure Functions project with .NET Aspire support launches the .NET Aspire dashboard in the browser. This dashboard allows real-time monitoring of function execution, showing how the orchestrator manages functions and enabling pausing and resuming execution from the dashboard.

Conclusion

The integration of .NET Aspire with Azure Functions in Visual Studio streamlines development processes, providing developers with powerful tools for monitoring and debugging their serverless applications. Your feedback is important for further improvements in Visual Studio.