News

Azure Functions 4.0 Preview Out with Support for .NET 6

Azure Functions 4.0 is out in a public preview, complete with support for the upcoming .NET 6.

The offering is used for serverless cloud computing, wherein chunks of code -- functions -- respond to events, triggering some type of functionality. It's the Azure equivalent of AWS Lambda and Google Cloud Functions.

After providing support for .NET 5 in March, the dev team gave developers a sneak peek of Azure Functions on .NET 6 in June.

That .NET 5 support, for technical reasons, had to move to an out-of-process model that runs a .NET 5 worker process alongside the runtime. Thus the new public preview comes with two programing models, one in-process (the model in .NET Core 3.1) and one isolated.

Differences with .NET Class Library Functions
[Click on image for larger view.] Differences with .NET Class Library Functions (source: Microsoft).

"With the in-process programming model and Azure Functions 4.0, you can write .NET 6 function apps that take advantage of advanced features such as Durable Functions," Microsoft's Anthony Chu said in a recent blog post. "".NET 6 is also supported in Azure Functions 4.0 using the isolated process programming model. The isolated model gives you full control over the language worker startup configuration and provides useful features like dependency injection and middleware. Currently, you can use the command line to create and deploy your .NET 6 isolated apps. .NET 6 isolated process support is coming soon to Visual Studio and Visual Studio Code."

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

Azure Functions 4.0 supports these programming languages and runtimes:

  • NET 6.0 (in-process and isolated process)
  • Node.js 14
  • Python 3.7, 3.8, 3.9
  • Java 8, 11
  • PowerShell 7.0
  • Custom Handlers

While the team works to provide a ready-to-go product in time for the general availability release of .NET 6 next month, some breaking changes will be introduced, which can be tracked with the help of a subscription to App Service Announcements.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events