Azure-docs: Guidance for Functions V3 with FunctionsStartup class

Created on 26 Mar 2020  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Is there any official guidance on how best to use the Azure AppConfig configuration provider with the Dependency Injection support in Azure Functions V3 (as opposed to the old static methods approach illustrated in this document)?

I've got it working using an approach inspired by this Stack Overflow answer https://stackoverflow.com/a/60349484 , but am unsure if this will continue working without official guidance.


Document Details

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

Pri2 azure-app-configuratiosvc cxp product-question triaged

All 3 comments

@DarranShepherd , Thanks for brining this to our attention. We will investigate it further and update you shortly.

The Azure Functions example on the Azure App Configuration GitHub repo has bee updated to use v3 and FunctonsStartup. Please see my comments in the issue below for more details.

https://github.com/Azure/AppConfiguration/issues/221#issuecomment-602113631

@zhenlan , Thank you for providing the details.

@DarranShepherd, I hope the solution provided @zhenlan answers your question.

Thanks again for bringing this to our attention. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monteledwards picture monteledwards  Â·  3Comments

varma31 picture varma31  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

Ponant picture Ponant  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments