且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尝试连接到Blob存储时出现错误

更新时间:2023-02-09 07:48:01

您甚至可以在本地云服务之外运行网站.关键只是在应用程序的web.config上包含值.

You can run your website even outside the local cloud service. The key is simply to have the values on the web.config of your application.

因此,在您的情况下,只需将"StorageAccountName"和"StorageAccountKey"的值添加为AppSettings和CloudConfiguration.GetSetting将找到它们.

So in your case simply add the values for "StorageAccountName" and "StorageAccountKey" as AppSettings and CloudConfiguration.GetSetting will find them.