I have a client-server application, in which the client communicates with the server using WCF (WCF is used both in the client and the server). My problem is, that instantiating the auto-generated proxy in the client, in the following way:
new Service1Client()
takes constantly 15.xxx seconds. I tried to solve this problem, and came to the following results:
1) Compiling and running the same code on other computers, ends up in the same way (always 15.xxx seconds).
2) Instantiating the proxy using ChannelFactory.CreateChannel< IService1 >() doesn’t help (it gives the same result).
My guess, is that whenever the channel factory creates a channel, it tries to do something with a 15 seconds timeout, and when it fails, it continues with creation.
By the way, I use .Net 3.5 without SP1, and cannot upgrade to SP1 🙁
Thanks ahead
I’ve seen this before, where the time was being taken in looking for a proxy server. Check your WinINET (Internet Explorer) proxy settings.
My specific reason for thinking ‘proxy server’ is that it takes 15s. 15s sounds like a nice round number for a network timeout.