Azure functions gain its popularity especially with V3 which brings new capabilities including the ability to target .NET Core 3.1 and Node 12.
This sample is updated version of project which was made with Azure functions V2. For DI I've used Autofac extended with excellent Autofac.Extensions.DependencyInjection.AzureFunctions Nuget library made by Marcos Junior. It supports DI as we are used from Asp.Net Core. That means you will be able to create classes with interfaces as parameters of a constructor and passed to the Azure function's constructor just like in a regular Asp.Net Core project. And not just that. Functions are not declared as static anymore. Just perfect!
- Visual Studio 2019 16.5.4 or greater
To create and deploy functions, you also need:
- An active Azure subscription. If you don't have an Azure subscription, free accounts are available.
- An Azure Storage account. To create a storage account, see Create a storage account.
To get started with Azure Functions, you can visit Microsoft Azure Functions portal.
Enjoy!