Is there a way to pause an endpoint?

Francesc,

To clarify, what process are you talking about?

When you use Service Fabric SDK with stateful or stateless services those will be co-hosted inside the same “process” and share a common x64 address space. So any static data is shared. That is by design.

Endpoint Communication listeners are designed to deal with things starting, stopping and restarting or being made primary. Anything that needs to hook into that lifecycle should be implemented as a communication listener as shown in our hosting guidance.

Does that help?

Regards
Daniel