Click here to Skip to main content
14,383,593 members
Rate this:
Please Sign up or sign in to vote.
See more:
In my wpf project I use wcf service for getting service methods from the server. I'm using caliburn framework and the IoC container that is structure map.
In the first time that the client side calls one of services from the server it takes too long time (about 40 seconds) but the query execution time is just 2 seconds. after this first calling, the other request and the rest of service method calling execute as rapid as I expect.
I dont know the reason and will appreciate if any body can help me to resolve this problem.
Posted
Updated 14-Jun-10 10:16am
v2

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

If it's the first call it will take a while as it's a cold startup for WCF, the entire WCF framework gets loaded and initial handshake and setting up the channels is costly. This have been improved in 3.5 SP1, makes sure that SP1 is installed on the machine.

You can have a look to this http://msdn.microsoft.com/en-us/library/aa751883.aspx[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100