create Console App (net core 2.1)
Install-Package Microsoft.Azure.WebJobs -Version 3.0.5
Install-Package Microsoft.Azure.WebJobs.Extensions -Version 3.0.2
Install-Package Microsoft.Azure.WebJobs.Extensions.Storage -Version 3.0.4
Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 2.2.2
Install-Package Microsoft.Extensions.Configuration.CommandLine -Version 2.2.0
Install-Package Microsoft.Extensions.DependencyInjection -Version 2.2.0
Install-Package Microsoft.Extensions.Logging.Console -Version 2.2.0
Install-Package Microsoft.Extensions.Options -Version 2.2.0
Install-Package Microsoft.Extensions.Options.ConfigurationExtensions -Version 2.2.0
Docs:
https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started
https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-how-to
Set appsettings json files "Copy to Output Directory" to "always"
Set run.cmd files "Copy to Output Directory" to "always" and Encoding to UTF-8 (not UTF-8-BOM which is Visual Studios default!)