0

I want to deploy a WCF service that utilizes net.tcp port sharing. When running on a normal Windows Server, I make sure that the NET.TCP port sharing service is enabled and running and my application launches without any issues.

When switching to Azure Service Fabric, this service is not running on the node and my application cannot start. How do I make sure that when I deploy my application to a node that the node has WCF.s NET.TCP port sharing service installed and enabled?

Ramon de Klein
  • 5,172
  • 2
  • 41
  • 64
  • Are you seeing any specific errors when deploying? What about in Service Fabric Explorer? Does this work on a local instance of service fabric and not when publishing to Azure? – micahmckittrick Oct 02 '18 at 21:50
  • The problem is that the service isnt't running, so an exception is thrown that the NET.TCP port sharing service is disabled. For now, I enable the service in C# code but it's not very elegant. I would rather provision the VM so the service is running. – Ramon de Klein Oct 02 '18 at 22:02
  • I found the following which might help https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-connect-and-communicate-with-services#reliable-services-built-in-communication-api-options https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-wcf – micahmckittrick Oct 04 '18 at 21:56

0 Answers0