
Configuration Done Right: Settings, Secrets, and Key Vault
Azure Functions for .NET Developers: Series Part 1: Why Azure Functions? Serverless for .NET Developers Part 2: Your First Azure Function: HTTP Triggers Step-by-Step Part 3: Beyond HTTP: Timer, Queue, and Blob Triggers Part 4: Local Development Setup: Tools, Debugging, and Hot Reload Part 5: Understanding the Isolated Worker Model Part 6: Configuration Done Right: Settings, Secrets, and Key Vault ← you are here You add a Service Bus connection string to appsettings.json . You deploy. The trigger fails at startup with something like: Microsoft.Azure.WebJobs.Host.Listeners.FunctionListenerException: The listener for function 'ProcessMessage' was unable to start. Microsoft.Azure.WebJobs.ServiceBus.Listeners.ServiceBusListener: Connection string not found. Your code reads it fine. But the trigger cannot start because the host never sees appsettings.json . Azure Functions has two distinct configuration surfaces that solve different problems: The host process ( func.exe ) resolves trigger an
Continue reading on Dev.to
Opens in a new tab



