AppFabric Auto-Start conflicts with wcf services named pipe endpoints

Uzamčený AppFabric Auto-Start conflicts with wcf services named pipe endpoints

  • 2012年4月22日 15:30
     
     

    I have an Application with WCF services, each one of them have netNamedPipe endpoint.

    When I enable Auto-Start, the endpoints are not available (timeout).

    When I disable Auto-Start, everything works fine.

    I understand that Auto-Start uses named pipes to start services. But why does that conflict with regular named pipe endpoints?

    How can I avoid thoses conflicts (and still can use both Auto-Start and named pipe endpoints)?

全部回复

  • 2012年4月28日 4:42
    版主
     
     建议的答复

    I think this is because with auto start the management of the endpoints uses the net named pipe binding. I tried to think through this scenario a couple times and was wondering if you could expose more than one base address from your service and then use one address for auto start requests and the other for regular service requests.

    If you created a custom workflow service host you could be more selective in choosing which addresses are used for auto start management. The following sample gives you a starting point: http://code.msdn.microsoft.com/Windows-Workflow-6b4ffbe8.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline