O'Reilly logo

WCF 4.5 Multi-Layer Services Development with Entity Framework by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required