Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (13.1k points)
I want to add keys to appsettings.json and also want to read those values using an Azure functions. Is it possible with azure function? and how I can able to achieve it? Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

In able to read values in C#, you can use System.Environment.GetEnvironmentVariable or ConfigurationManager.AppSettings. You can read those values in your code, it can be seen by environment variables. Also, if you are using JavaScript, then use process.env

I hope this will help.

Want to know more about Azure Developer? Prefer this tutorial on Azure Developer.

Want to become an Azure expert? join azure developer certification.

Related questions

0 votes
1 answer
+3 votes
2 answers
0 votes
1 answer

Browse Categories