❔ How to use the Azure function I built to retrieve the connection string? cant puzzle the pieces.
I have this function:
The connection string is stored in the local.setting.json file in the function project.
My question is how do I use this:
To read it?
Do I understand correctly that I can store the access information there?
I saw something about creating environment variables in azure and reading it with the function, not sure what's correct.
Any advice would be appreciated
3 Replies
https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-aspnet-core-app?tabs=core6x
It has code examples on setting up your startup.cs.
I dont remember if I used DI in my azure functions so I cant give an azure function example.
Quickstart for Azure App Configuration with ASP.NET Core
Create an ASP.NET Core app with Azure App Configuration to centralize storage and management of application settings for an ASP.NET Core application.
Not sure thats what i need
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.