Testing concurrency with our own client

From an earlier section, we know that with WCF Test Client we cannot test the UpdateProduct method, nor can we test the concurrency support of the WCF service, because with WCF Test Client, we cannot update products. To test the concurrency support of the Entity Framework, we have to use our own test client.

Creating the test client

In this section, we will create a WinForm client to get the product details and update price for a product.

Follow these steps to create the test client:

  1. In the Solution Explorer, right-click on the solution item, and select Add | New Project….
  2. Select Visual C# | Windows Forms Application as the template and change the name to LINQNorthwindClient. Click on the OK button to add the ...

Get WCF 4.5 Multi-Layer Services Development with Entity Framework now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.