Click here to Skip to main content
15,900,591 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 9:16am
v2

1 solution

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[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900