{"id":252964,"date":"2025-04-09T05:00:19","date_gmt":"2025-04-09T12:00:19","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=252964"},"modified":"2025-04-08T18:48:16","modified_gmt":"2025-04-09T01:48:16","slug":"net-aspire-and-azure-functions-integration-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/net-aspire-and-azure-functions-integration-preview\/","title":{"rendered":".NET Aspire and Azure Functions integration preview"},"content":{"rendered":"<p>Have you ever struggled with integrating serverless technology into your existing .NET projects? The new update in Visual Studio has got you covered. Say hello to the powerful integration of .NET Aspire with Azure Functions, making your development process smoother than ever before.<\/p>\n<p>With this release of Visual Studio, Azure Functions developers can enlist in .NET Aspire orchestration when creating a new Azure Functions project. This simple addition transforms your workflow by including an App Host and a Service Defaults project in your solution right from the get-go. Check out this video by James Montemagno showing you how to integrate .NET Aspire with Azure Functions today.<\/p>\n<p><iframe title=\"Build your first Azure Function with .NET Aspire support\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/g-fKXzrNOhI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Gone are the days of tedious configurations. Now, setting up a new isolated Azure Functions project with .NET Aspire integration is as easy as checking a box. Upon creation, you&#8217;ll find an App Host and Service Defaults project seamlessly included in your solution, streamlining your development process and reducing setup time.<\/p>\n<h2>Effortless integration with existing projects<\/h2>\n<p>But what if you have an existing Azure Functions project that you want to enhance with .NET Aspire? Visual Studio 2022 has you covered. Just like with ASP.NET Core apps, you can now add .NET Aspire support to your existing Azure Functions projects effortlessly. This ensures that you can leverage the power of .NET Aspire orchestration without having to start from scratch.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252966\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-2.png\" alt=\"Right click solution to show a .NET Aspire Orchestrator Support option\" width=\"602\" height=\"532\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-2.png 602w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-2-300x265.png 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<h2>Real-time monitoring and debugging<\/h2>\n<p>The integration doesn&#8217;t just stop at setup. Running or debugging an Azure Functions project with .NET Aspire support will launch the .NET Aspire dashboard in your browser. This powerful tool allows you to monitor the execution of your Azure Functions in real-time. You&#8217;ll see exactly how the .NET Aspire orchestrator is managing your functions, and you&#8217;ll have the ability to pause and resume execution directly from the dashboard.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252967\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-3.png\" alt=\".NET Aspire dashboard\" width=\"1100\" height=\"498\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-3.png 1100w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-3-300x136.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-3-1024x464.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/04\/word-image-252964-3-768x348.png 768w\" sizes=\"(max-width: 1100px) 100vw, 1100px\" \/><\/p>\n<p>We&#8217;re incredibly excited to bring this feature to you and can&#8217;t wait to see the innovative ways you&#8217;ll use Azure Functions within your .NET Aspire projects. Your continuous <a href=\"https:\/\/developercommunity.microsoft.com\/dotnet\">feedback<\/a> has been instrumental in making Visual Studio better, and we look forward to your thoughts on this new integration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever struggled with integrating serverless technology into your existing .NET projects? The new update in Visual Studio has got you covered. Say hello to the powerful integration of .NET Aspire with Azure Functions, making your development process smoother than ever before. With this release of Visual Studio, Azure Functions developers can enlist in [&hellip;]<\/p>\n","protected":false},"author":2046,"featured_media":252975,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6887,1030,6963,155],"tags":[237,6947,1380],"class_list":["post-252964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","category-data","category-productivity","category-visual-studio","tag-net","tag-aspire","tag-azure-functions"],"acf":[],"blog_post_summary":"<p>Have you ever struggled with integrating serverless technology into your existing .NET projects? The new update in Visual Studio has got you covered. Say hello to the powerful integration of .NET Aspire with Azure Functions, making your development process smoother than ever before. With this release of Visual Studio, Azure Functions developers can enlist in [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/2046"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=252964"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252964\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/252975"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=252964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=252964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=252964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}