How to deploy service fabric application to remote server?

151 views Asked by At

I tried publishing the Service fabric application from Visual studio to remote VM, but it didn't work. Is it possible to deploy the service fabric app from the visual studio to a remote VM? If yes please let me know.

1

There are 1 answers

0
LoekD On

Manually edit the publishprofile xml file:

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

Change the value of yourcluster into the machine name or IP of the VM. Change the thumbprint to match your cluster cert.

  • Make sure to install the cluster certificate on your local machine too.