So I am trying to get appsetting for BlobTriggerAttribute.Connection
property, and it has hierarchical style name (as I need to map it later to IConfiguration
), and I am struggling with naming conventions. So as far as I know the common approach is to use __
(double underscore) to separate hierarchical sections, but there is one more approach which is :
and it has its own disadvantages (like environment variables names can't contain this symbol). So that's how my blob trigger parameter attribute looks like
That's how I build ConnectionName
constant
And that's the delimiter constant
Here is my settings.local.json
When I am running it locally, I am getting this error
But when I am changing the delimiter to :
it works... But when I am rebuilding my app it gives a warning like this one
Is that some well known issue? And what kind of approach should I use here?
(Running locally on Windows machine, <AzureFunctionsVersion>v3</AzureFunctionsVersion>
)