It’s been a fantastic journey of innovation for both .NET and Azure Functions by far this year. I’m excited to share that you can now build serverless applications with Azure Functions in .NET 7 in an isolated process and .NET Framework 4.8 in an isolated process both in public preview with Visual Studio 2022 17.4 Preview 1.0. Visual Studio makes it easier for all developers to build serverless applications with Azure functions by streamlining the function creation workflow, with rich local development and debugging experience, and quickly publishing your .NET applications to Microsoft Azure.
Update your Visual Studio 2022 to 17.4 Preview 1.0
Follow the Visual Studio update process on the official documentation, and ensure you’re compliant with all the prerequisites before you update. Note that, you need to set your update channel to Preview in your More -> Update settings from Visual Studio Installer as the following :
Make sure you have set the Modify -> Individual Component to include .NET 7 SDK ( Preview ), and .NET 7.0 Runtime ( Preview ) :
Create your Azure Functions with Visual Studio 2022 17.4 Preview 1.0
When you create a new Azure Function in Visual Studio where you’ll find two new options for .NET 7 isolated and .NET Framework isolated as shown as follows :
Deploy your Azure Functions with Visual Studio 2022 to Microsoft Azure
Visual Studio provides a simple way to publish your application to Microsoft Azure. Azure Functions support .NET 7 and .NET Framework 4.8 in an isolated framework for all SKUs.
You can deploy your serverless application to Azure by simply right-clicking on your functions application in Visual Studio and then Publish. Select your publish target and publish your functions to Azure :
We’re looking forward to hearing your feedback and your use cases, please feel free to share them on announcement-related discussions here. Also, if you discover potential issues, please record them on the Azure Functions .NET language worker GitHub repository.
We’re also closely collaborating with the community. Your insights matter! Check out our public-facing product roadmap from: http://aka.ms/af-dotnet-roadmap.
Start to build your serverless applications with .NET 7. Check out the official documentation:
- Getting started with Azure functions in an isolated process from here
- Create your first .NET 7 and .NET Framework 4.8 functions with Azure Core tools from here
- Create your first .NET 7 and .NET Framework 4.8 functions with Visual Studio from here
We’re thrilled about the path forward with the continued innovation from .NET on Azure Functions and continuously delivering our promises to empower every developer on the planet to achieve more. Stay tuned!