Asp.net – How do I retrieve an environment variable that the underlying value is a boolean in an Azure Cosmos DB Trigger Function?
I have an Azure Function App (>=4.0 version), that has an Azure Cosmos function. I am retrieving the value for the CreateLeaseContainerIfNotExists parameter from the environment. In Program.cs I am retrieving it into builder.Services().Bind() function. The AppConfigClass is: public class…