Can anyone solve my problem? I am currently developing a WCF application. I am using:[ServiceBehavior(InstanceContextMode =
InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode.Single)]
However, the timeout occurs and hang my application when 11th call from my client application.
The only way I think of is initialze a new WCF service when everytime call from client side, but cannot reuse the WCF service like setting a global WCF variable and reuse within the class. close() the WCF everytime after call the WCF method.
I don't think this is the proper way to do and I guess the problem still occurs if the client application hang when calling the WCF, it will not release the call.
I search online and my people have the same problem, can anyone solve it?
noahplane
Member
70 Points
18 Posts
WCF 10 concurrency timeout problem
Jan 20, 2009 01:17 AM|LINK
Hi,
Can anyone solve my problem? I am currently developing a WCF application. I am using:[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Single)]
However, the timeout occurs and hang my application when 11th call from my client application.
The only way I think of is initialze a new WCF service when everytime call from client side, but cannot reuse the WCF service like setting a global WCF variable and reuse within the class. close() the WCF everytime after call the WCF method.
I don't think this is the proper way to do and I guess the problem still occurs if the client application hang when calling the WCF, it will not release the call.
I search online and my people have the same problem, can anyone solve it?
WCF
derinweb
Member
11 Points
5 Posts
Re: WCF 10 concurrency timeout problem
Jan 20, 2009 08:10 AM|LINK
check out these links:
http://www.iserviceoriented.com/blog/post/Configuring+Performance+Options+-+WCF+Gotcha+3.aspx
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/f305eaae-e30f-427d-ad6a-ec8e530a7cc5/
hope to usefull