'No file endpoint configured.' 尝试使用模拟器在 Azure 存储中使用文件客户端时
'No file endpoint configured.' when trying to use file client in azure storage using the emulator
我正在尝试使用最新的模拟器 (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>
可以找到更多信息here.
我正在尝试使用最新的模拟器 (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>
可以找到更多信息here.