我正在尝试使用最新仿真器(5.9)将fileclient用于Azure存储,并得到以下例外:No file endpoint configured.
这是我的代码:
if (CloudStorageAccount.TryParse("UseDevelopmentStorage=true", out var account))
_fileClient = account.CreateCloudFileClient();
任何帮助将不胜感激。
当前在存储模拟器中不支持文件服务和SMB协议服务端点,截至目前,目前支持使用存储模拟器的唯一端点如下:
Blob service: http://127.0.0.1:10000/<account-name>/<resource-path>
Queue service: http://127.0.0.1:10001/<account-name>/<resource-path>
Table service: http://127.0.0.1:10002/<account-name>/<resource-path>
可以找到更多信息在此处。