我有两个插槽 Prod 和 PreProd。如何交换 azure devops 发布管道中的插槽?第一个是成功后部署到预生产,然后将获得批准(如果获得批准),然后部署到生产。但我需要在 preprod 和 prod 之间交换插槽。
从单元测试注入时出现此错误。
System.InvalidOperationException: ''NavigationManagerProxy' has not been initialized.'
Run Code Online (Sandbox Code Playgroud)
我的代码:
Services.AddSingleton<NavigationManager>(Mock.Of<NavigationManager>());
Run Code Online (Sandbox Code Playgroud) Azure DevOps/Pipeline IP 随机变化,因此由于防火墙规则,我无法使用 Azure SQL 数据库。
这种情况下的解决办法是什么?
azure azure-sql-database azure-devops azure-pipelines azure-pipelines-release-pipeline
azure ×2
azure-devops ×2
azure-pipelines-release-pipeline ×1
blazor ×1
bunit ×1
c# ×1
devops ×1
xunit ×1