azure - pkgs.visualstudio.com 和 pkgs.dev.azure.com 之间有什么区别?

标签 azure azure-devops azure-artifacts

我们在 Azure Artifacts 中为包使用私有(private)源,要连接到此源,我们使用 visualstudio.comazure.com URL。

格式1:

https://[组织名称].pkgs.visualstudio.com/_packaging/[提要名称]/nuget/v3/index.json

格式2:

https://pkgs.dev.azure.com/[组织名称]/_packaging/[源名称]/nuget/v3/index.json

连接到 Feed 按钮显示 Format1 URL,但在其他格式运行良好的某些 PC 上会失败。

这两种格式有什么区别?

最佳答案

What's the difference between these two formats ?

格式 1:https://[org name].pkgs.visualstudio.com/_packaging/[feed name]/nuget/v3/index.json 使用的是 Azure DevOps 旧域名称(visualstudio.com)。

格式 2:https://pkgs.dev.azure.com/[org name]/_packaging/[feed name]/nuget/v3/index.json 使用 Azure DevOps新域名(dev.azure.com)。

当您使用旧域 URL 导航到连接到 Feed 选项时,它将生成 Format1 URL。

更详细的信息,您可以引用这个文档:Switch existing organizations to use the new domain name URL .

这两个 URL 均有效。要解决连接问题,您需要检查服务器上的防火墙。

您需要将旧域名网址添加到白名单。您可以引用这个文档:Allowed IP addresses and domain URLs

关于azure - pkgs.visualstudio.com 和 pkgs.dev.azure.com 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73485145/

相关文章:

java - 如何访问Azure中的其他租户和订阅?

sql-server - 适用于 REST/Swagger API 的 SQL Azure 连接器 - 市场?套餐设置?

azure-devops - 在 Devops 部署期间添加 Azure Web 应用服务自定义域

azure-devops - 我可以将现有的 NuGet 包上传到 Azure DevOps 工件源吗?

Azure 上的 Node.js 远程调试

c# - Azure 搜索 : How to retrieve more than 1000 documents per request?

c# - Azure 上缺少 mvc dll。怎么了?

azure - 如何在 Azure DevOps 中隐藏分支

asp.net-mvc - 响应状态码不表示成功 : 401 in the task "restore" on the azure-pipeline