AppFabric Auto-Start conflicts with wcf services named pipe endpoints
-
22 เมษายน 2555 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)?
ตอบทั้งหมด
-
28 เมษายน 2555 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
- แก้ไขโดย Ben Cline1MVP, Moderator 28 เมษายน 2555 4:43
- แก้ไขโดย Ben Cline1MVP, Moderator 30 เมษายน 2555 13:04
- แก้ไขโดย Ben Cline1MVP, Moderator 30 เมษายน 2555 13:05
- แก้ไขโดย Ben Cline1MVP, Moderator 30 เมษายน 2555 13:07
- เสนอเป็นคำตอบโดย Ben Cline1MVP, Moderator 7 มิถุนายน 2555 21:58