WCF configuration and ISA Proxies
- by Morten Louw Nielsen
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