danno8524
❔ Accessing StorageConnectionString from AppSettings.json Asp.net core 6.0
Attempting to get access to my Azure Table connection string using
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
I am recieving error
"System.DllNotFoundException: 'Unable to load DLL 'fusion.dll' or one of its dependencies: The specified module could not be found."
What is going on here?
7 replies
Get Environment Variables...
I am trying to get the connection string for my Azure Tables with the following code.
TableServiceClient tableServiceClient = new TableServiceClient(Environment.GetEnvironmentVariable("StorageConnectionString"));
This is returning a null value... My question is where should I be storing this connection string in a ASP.net core 6.0 app?
27 replies