Tuning WCF concurrency performance via Visual Studio testing tools
We have discussed WCF throttling settings which can help control the concurrency behavior of WCF services in the Using throttling to control service concurrency recipe of this chapter. However, WCF itself won't tell you what is the best or appropriate throttling setting for your service. It is the developer's or administrator's task to figure out the golden values for a specific WCF service.
In this recipe, you will be introduced to how we can utilize the Visual Studio 2010 testing components to help figure out the appropriate service-throttling settings for a WCF service.
The sample solution we use here consists of two projects—one is the WCF service project and the other is the Visual Studio test project. The following screenshot shows the solution structure in Visual Studio's Solution Explorer.
The WCF service project contains a very typical WSHttpBinding-based service that contains one service operation simulating a time...