EnvironmentName or context.EnvironmentName Best Practice in Azure functions

Viewed 28

How to get EnvironmentName or context.EnvironmentName in Azure functions ? We will get context.EnvironmentName in startup.cs but how we get same in actual azure function class or other classes through DI in Azure function

Do we need to define variable in appsetting or is there any good way to do this for manage & get enviromentname for QA,UAT or production

0 Answers
Related