Can you become a WCF service client from a process hosting a WCF service? I tried to create separate application domains as part of a single process and still have not succeeded. The service is confirmed to be available on Http, Net.TCP and Net.Pipe.
Thanks for the help!
Nat
I had the same problem even when using InProcFactory from ServiceModelEx.
It turns out, as described here , you need to set the ServiceBehavior not UseSynchronizationContext.
UseSynchronizationContext
[ServiceBehavior(UseSynchronizationContext = false)] public class MyService : IMyService {}
IDesign ServiceModelEx, WCF.
InProcFactory, Net.Pipe .
ServiceModelEx IDesign.net
. WCF .
, , WCF . , , , -. , - , ... , . , .
, , -. . , .
- - Firestrand , . Windows WPF, . Windows - , , WCF, DLL, UI "", Windows . , "" , .. , . UI DLL , Windows, DLL, , , . , , - , .
Source: https://habr.com/ru/post/1726551/More articles:How to determine the location of a user from a web page open in an Android browser? - javascriptLayout multiple models in CakePHP 1.2.5 - phpInheriting an interface implementation in Java - javaHow to use -webkit-appearance: searchfield-results-decoration? - cssStr.format () problem - pythonwhat is SQL Server 2008 r2 compatibility level - sql-serverThe order of preservation of the minimum perfect hash functions - c ++существуют ли книги по разработке высоко масштабируемых веб-сайтов? - scalabilityПолигон для контура в OpenCV? например противоположность cvApproxPoly()? - image-processingGood VPS performance analysis tools (does VPS work on WordPress blogs)? - wordpressAll Articles