BizTalk 2020与BTDF和Azure Pipelines – 应用程序依赖关系

huangapple go评论61阅读模式
英文:

BizTalk 2020 with BTDF & Azure Pipelines - Application dependencies

问题

目前正在从BizTalk 2013r2迁移到2020,并使用Azure Pipelines自动化部署BTDF。

到目前为止,我们已经能够部署我们的核心应用程序,但我们刚刚意识到存在与“子应用程序”(从核心应用程序获取模式的应用程序)相关的依赖关系。

  • 在我们的开发环境中,我应该如何在Visual Studio中引用核心应用程序(我们过去是从本地存储库解决方案引用.dll)?
  • 我们如何配置BTDF和CI/CD管道以在部署子应用程序时指向正确的应用程序?
  • 如果我们需要通过BTDF/Pipeline更新核心应用程序,我们肯定需要在部署之前卸载所有引用它的子应用程序,这是否可以通过BTDF配置来完成?
英文:

Currently transitioning from BizTalk 2013r2 to 2020, and implementing Azure Pipelines to automate deployment with BTDF.

So far, we're able to deploy our Core applications, but we've just realised there are dependencies with the 'child applications' (applications that take schemas from the Core apps).

  • How should I refer to the Core application within Visual Studio in our dev environment (we used to reference the .dll from the local repos solution)
  • How can we configure BTDF and CI/CD pipelines to point to the correct application when deploying the child?
  • What happens if we need to update the Core application via BTDF/Pipeline - we'll need to undeploy all child applications that reference it before we can deploy surely - can this be done via the BTDF config?

答案1

得分: 0

不,我不相信BTDF能够处理这个。

你应该选择以下方式之一。

增加你的核心应用程序的程序集版本号,并进行并行部署(例如,保留原始版本)。
然后,在依赖的应用程序需要较新版本时,引用较新的DLL(是的,只需将DLL作为解决方案中的外部程序集)。

或者

在取消部署核心应用程序并重新部署它之前,使核心应用程序管道取消部署所有依赖的应用程序,然后重新部署所有依赖的应用程序。

我更偏向第一种选项,因为它更简单。

英文:

No, I don't believe that BTDF can take care of that.

You should either.

Version increase your assembly version number of your Core Application and do a side by side deployment (e.g. leave the original ones in place).
Later on when you need the newer version in the dependent application then reference the later DLL (and yes, just have the DLL as an external assembly in the solution).

Or

Have your Core Application Pipeline undeploy all the dependent applications, before undeploying the Core Application and deploying it, and then re-deploying all the dependent applications.

My preference would be for the first option, less complicated.

huangapple
  • 本文由 发表于 2023年6月1日 22:09:10
  • 转载请务必保留本文链接:https://go.coder-hub.com/76382813.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定