News

Azure Functions Boosted with .NET 7 Support

Azure Functions, Microsoft's serverless cloud computing offering, is previewing new functionality coming with its new support of .NET 7 as a runtime.

"For those customers who are looking into building serverless functions in Azure with the latest innovation from .NET runtime, this makes it possible for all developers on the planet to focus on coding with .NET 7 new features, ready-to-code while on a large scale without worrying about the underlying infrastructure," Microsoft's Melony Qin announced last week.

That new support brings the ability to build serverless applications with .NET 7 (currently in Preview 6) in Azure Functions using the .NET Isolated Worker model.

Azure Functions in a Hybrid Environment
[Click on image for larger view.] Azure Functions in a Hybrid Environment (source: Microsoft).

Running in a .NET isolated process brings benefits beyond the existing tightly integrated model for .NET functions, which run as a class library in the same process as the host. The .NET Isolated Worker decouples that tight integration, separating function code from the Azure Functions runtime. Along with providing flexibility in the choice of .NET versions to work with, Microsoft says isolated process approach results in benefits such as:

  • Fewer conflicts: because the functions run in a separate process, assemblies used in your app won't conflict with different version of the same assemblies used by the host process.
  • Full control of the process: you control the start-up of the app and can control the configurations used and the middleware started.
  • Dependency injection: because you have full control of the process, you can use current .NET behaviors for dependency injection and incorporating middleware into your function app.

"The isolated worker model also allows you to use current .NET behaviors for dependency injection and incorporating middleware into your function app," Qin said. "Choose the isolated model if you're upgrading from .NET 5 Azure functions v3."

The .NET Isolated Worker model is available for preview in all Windows-based plans, Linux dedicated and premium plans, with a Linux consumption plan to be added later.

In May, Microsoft announced the same isolated worker model support for the old .NET Framework (precursor to the open source, cross-platform "Core" .NET versions that evolved into just .NET 5, .NET 6 and so on.).

.NET on Azure Functions Roadmap
[Click on image for larger view.] .NET on Azure Functions Roadmap (source: Microsoft).

Going forward, the .NET on Azure functions roadmap shows various items and initiatives in different stages. In the public preview (dev/test) stage -- along with the isolated worker support announced for .NET 7 and .NET Framework -- are Durable Functions support in .NET Isolated worker and .NET 7.0 support isolated for AF v4. Other items in their respective stages are presented below (along with links for more information).

"We're looking forward to hearing your feedback and your use cases, please feel free to share them on announcement related discussions here," Qin said. "Also, if you discover potential issues, please record them on the Azure Functions .NET language worker GitHub repository."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube