Using ASP.NET Sessions from WCF

This is not a new topic. But interestingly I could not find a good example on the web while I wanted to find one for some other investigation. So I decided to create a sample here to show the following scenario: ·        A WCF service has the access to a ASP.NET session. Different WCF client…

5

Why Does WCF Become Slow After Being Idle For 15 Seconds?

Customers reported the following WCF performance issue recently: ·        A WCF service over TCP or Named Pipe idles for over 15 seconds and the first request after that becomes very slow. Why? This can be easily reproduced. Basically, if you send two consecutive requests to a WCF service over TCP or Named Pipe transport, you…

14

Why Are WCF Responses Slow and SetMinThreads Does Not Work?

Customers reported the following WCF performance issue recently: ·        A WCF client sends 10 requests concurrently to a self-hosted WCF service on 10 different threads. The service operation is very simple and it simply sleeps for 1 second. But the latencies for the 10 requests on the client side were distributed from 1 to 3.3…

2