';未配置文件终结点;尝试使用模拟器在azure存储中使用文件客户端时
我试图使用最新的emulator(5.9)使用FileClient for Azure存储,但遇到以下异常:';未配置文件终结点;尝试使用模拟器在azure存储中使用文件客户端时,azure,azure-storage,azure-storage-files,azure-storage-emulator,Azure,Azure Storage,Azure Storage Files,Azure Storage Emulator,我试图使用最新的emulator(5.9)使用FileClient for Azure存储,但遇到以下异常:未配置文件端点。 这是我的密码: if (CloudStorageAccount.TryParse("UseDevelopmentStorage=true", out var account)) _fileClient = account.CreateCloudFileClient(); 非常感谢您的帮助。storage emulator当前不支持文件服务
未配置文件端点。
这是我的密码:
if (CloudStorageAccount.TryParse("UseDevelopmentStorage=true", out var account))
_fileClient = account.CreateCloudFileClient();
非常感谢您的帮助。storage emulator当前不支持文件服务和SMB协议服务终结点,到目前为止,当前支持使用storage emulator的唯一终结点如下所示:
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>
Blob服务:http://127.0.0.1:10000/