Service Fabric. Building/Deploying only updated services to local cluster.

Jonas 21 Reputation points
2020-10-22T06:52:13.84+00:00

Hello.
It's my first time working on a service fabric project. In our solution we have one sfproj, with several services.
I would like to build and deploy only the updated service on the local cluster, not rebuilding/deploying everything. I figure I can save some time on this.
I've tried to Run the sfproj without debugging and then starting new instances for certain services but they "are not allowed to connect".

Is there a way to do this?

/Jonas

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
261 questions
0 comments No comments
{count} votes

Accepted answer
  1. Esben Bach 236 Reputation points
    2020-10-22T07:56:35.387+00:00

    If you are running a local "1 Node" cluster you could configure you sfproj to "Refresh Application" - it should do something similar to what you want (though not entirely).

    You can read more about it here: https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-manage-application-in-visual-studio

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jonas 21 Reputation points
    2020-10-24T08:19:17.053+00:00

    Hi @Esben Bach

    Thank you for your input. That turned out to be exactly what I wanted!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.