MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Section "Compile the custom handler for Azure" completely out of date #83568

Open MironAtHome opened 3 years ago

MironAtHome commented 3 years ago

[Enter feedback here]


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mikeurnun commented 3 years ago

Hello @MironAtHome - Thank you for your feedback! We will review and update as appropriate.

PramodValavala-MSFT commented 3 years ago

@MironAtHome Thanks for the feedback! We have assigned this issue to the content author to review and update accordingly.

The requirements for running Azure Functions with a Timer Trigger and Custom Handler are all required configuration with the way they are designed. The defaults are indeed fully packed for use cases that can best leverage bindings and other functionality that allow developers to focus on business logic and less on other aspects.

As for the network connection for storage, it is required by the timer trigger to hold a blob lease that is used to ensure only one instance is every running the schedule, especially when a function app scales out.

And for logging, Application Insights is the default and hence the connection. You could just remove the APPINSIGHTS_INSTRUMENTATIONKEY app setting. This would leave only file logging available which you can configure in host.json.