Azure Functions 4 Adds .NET 6 Support
Written by Kay Ewbank   
Thursday, 07 October 2021

Azure Functions 4 has been announced with the main improvement in the new version being support for .NET 6. The new release is now in public preview.

Azure Functions is a service that you can use to set up functions that are activated when specific events happen, such as an HTTP request, an event from a queue, timer or SQL trigger - any event from another service can trigger a function. It fulfills a similar role to AWS Lambda on the Amazon cloud.

azfunc2

Azure Functions has two programming models for .NET, in-process and isolated process. The in-process programming model means that using Azure Functions, you can write .NET 6 function apps that take advantage of advanced features such as durable functions.

 

 

The isolated process support can be used to develop .NET isolated process functions, which run out-of-process in Azure Functions. Microsoft says that running out-of-process lets you decouple your function code from the Azure Functions runtime. It also provides a way for you to create and run functions that target the current .NET 6.0 release.

Until the isolated process model was developed, Azure Functions only supported a tightly integrated mode for .NET functions, which ran as a class library in the same process as the host.

The isolated model provides features such as dependency injection and middleware. Currently, developers can use the command line to create and deploy .NET 6 isolated apps. The .NET 6 isolated process support is "coming soon" to Visual Studio and Visual Studio Code.

The 4.0 runtime supports all Azure Functions languages, including C#, F#, Java, JavaScript, PowerShell, Python and TypeScript.

To try the new version and run your apps locally on the preview runtime, download the Azure Functions Core Tools 4.0 preview.

 

azfunc2

More Information

Azure Functions On GitHub

Azure Functions Core Tools 4.0 preview

Related Articles

Microsoft Previews Azure Web PubSub

Learn How To Do Java On Azure 

Azure Functions 3.0 Goes Live

Azure Functions 2 Supports More Platforms

Azure Functions For Serverless Computing 

Google Takes On Amazon Lambda

AWS Adds Java Lambda Support

Amazon AWS Lambda

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Insights Into Learning Computer Science
18/12/2024

JetBrains Academy has published the results of a worldwide survey that set out to discover current trends in computer science education and the challenges involved in studying computer science. I [ ... ]



Copilot Improves Code Quality
27/11/2024

Findings from GitHub show that code authored with Copilot has increased functionality and improved readability, is of better quality, and receives higher approval rates than code authored without it.

 [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info