【问题标题】:How to deploy service fabric application to remote server?如何将服务结构应用程序部署到远程服务器?
【发布时间】:2021-10-13 09:37:29
【问题描述】:

我尝试将 Service Fabric 应用程序从 Visual Studio 发布到远程 VM,但没有成功。是否可以将服务结构应用程序从 Visual Studio 部署到远程 VM?如果是,请告诉我。

【问题讨论】:

    标签: azure-service-fabric service-fabric-on-premises


    【解决方案1】:

    手动编辑 publishprofile xml 文件:

    <ClusterConnectionParameters
    ConnectionEndpoint="yourcluster:19000"
    X509Credential="true"
    ServerCertThumbprint="0123456789012345678901234567890123456789"
    FindType="FindByThumbprint"
    FindValue="9876543210987654321098765432109876543210"
    StoreLocation="CurrentUser"
    StoreName="My" />
    

    yourcluster的值更改为VM的机器名或IP。 更改 thumbprint 以匹配您的集群证书。

    • 确保在本地计算机上也安装集群证书。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-02
      • 1970-01-01
      • 1970-01-01
      • 2019-01-10
      • 1970-01-01
      • 2019-08-31
      • 1970-01-01
      • 2018-06-05
      相关资源
      最近更新 更多