WCF configuration and ISA Proxies

Posted by Morten Louw Nielsen on Stack Overflow See other posts from Stack Overflow or by Morten Louw Nielsen
Published on 2010-05-07T07:41:17Z Indexed on 2010/05/07 7:48 UTC
Read the original article Hit count: 487

Filed under:
|
|
|

Hi,

I have a setup with a .NET WCF Service hosted on IIS. The client apps are connecting to the service through a set of ISA proxy's. I don't know how many and don't know about their configuration etc.

In the client apps I open a client to the service and make several calls via the same client. It works great in my office, but when I deploy at the customer (using the ISAs), after some calls, the connection breaks. In a successfull case, the client will maximum live a few seconds, but is that too much? I think there might be several proxyes. Maybe it's using load ballancing.

pseudo code is something like this:

WcfClient myClient = new WcfClient();

foreach (WorkItem Item in WorkItemsStack)
   myClient.ProcessItem(Item);

myClient.Close();

I am thinking whether I have to do something like this

foreach (WorkItem Item in WorkItemsStack)
{    
   WcfClient myClient = new WcfClient();
   myClient.ProcessItem(Item);
   myClient.Close();
}

Any one with experience with this field?

Kind Regards, Morten, Denmark

© Stack Overflow or respective owner

Related posts about wcf

Related posts about proxy