WCF Exception Handling proxy
-
18-09-2019 - |
Question
I am using the ErrorHandlingProxy from here and had a coupla questions. I noticed that the ExceptionHandlingProxyBase executes all calls in the main thread. What do I need to do to initialize and run in the background? I am using it like in the examples in form load
private MyServiceProxy _proxy = null;
private void Form1_Load(object sender, EventArgs e)
{
_proxy = new MyServiceProxy("MyBinding");
}
Also if possible,I would to generate it without adding a service reference, does anyone know what switches I can use and call svcutil manually?
Regards
_Eric
Solution 2
It appears to be unable to do @ this time. link text
OTHER TIPS
To get the switches for svcutil just type:
svcutil /?
However, we have found that it is better to build the proxy classes from scratch, see:
http://www.dnrtv.com/default.aspx?showNum=122
Note this only works if you have control of both the client and the server.