Gio*_*lbo 3 azure azure-storage azure-storage-emulator azure-storage-files
我尝试使用最新模拟器 (5.9) 来使用 FileClient for Azure Storage,但出现以下异常:No file endpoint configured.
这是我的代码:
if (CloudStorageAccount.TryParse("UseDevelopmentStorage=true", out var account))
_fileClient = account.CreateCloudFileClient();
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激。
存储模拟器当前不支持文件服务和 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>
Run Code Online (Sandbox Code Playgroud)
更多信息可以在这里找到。
| 归档时间: |
|
| 查看次数: |
654 次 |
| 最近记录: |