You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi community,
Currently I am extending my Azure Function with a SqlTrigger where, of course, one of the attribute-parameters is the ConnectionStringSetting. I am using NET8 dotnet-isolated where my Program.cs (partially) looks like this: var host = new HostBuilder().ConfigureFunctionsWorkerDefaults().ConfigureAppConfiguration(configurationBuilder => {configurationBuilder.AddAzureKeyVault();}.Build(); host.Run();
With the right configuration, having the correct parameters in AddAzureKeyVault I can already use appsettings via IConfiguration. There are already multiple TimerTrigger using AKV-settings via IConfiguration.
Do I miss anything in the SqlTrigger-configuration, or is this not yet implemented?
I have tried some debugging by myself, but I can't get the repo to work. Also I do see that my breakpoint in Program.cs is hit before I hit the first line of my SqlTrigger-method. But I cannot debug the SqlTriggerBindingProvider, but I would not be surprised due to how Azure Functions work it is hit earlier and/or has a different context.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi community,
Currently I am extending my Azure Function with a SqlTrigger where, of course, one of the attribute-parameters is the ConnectionStringSetting. I am using NET8 dotnet-isolated where my Program.cs (partially) looks like this:
var host = new HostBuilder().ConfigureFunctionsWorkerDefaults().ConfigureAppConfiguration(configurationBuilder => {configurationBuilder.AddAzureKeyVault();}.Build(); host.Run();
With the right configuration, having the correct parameters in AddAzureKeyVault I can already use appsettings via IConfiguration. There are already multiple TimerTrigger using AKV-settings via IConfiguration.
Do I miss anything in the SqlTrigger-configuration, or is this not yet implemented?
I have tried some debugging by myself, but I can't get the repo to work. Also I do see that my breakpoint in Program.cs is hit before I hit the first line of my SqlTrigger-method. But I cannot debug the SqlTriggerBindingProvider, but I would not be surprised due to how Azure Functions work it is hit earlier and/or has a different context.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions