O'Reilly logo

WCF 4.0 Multi-tier Services Development with LINQ to Entities 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

Creating the test client

Now that the service is ready we need to create a client to test it. 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:

  • In Solution Explorer, right-click the solution item, and select Add | New Project
  • Select Visual C# | Windows Forms Application as the template and change the name to LINQNorthwindClient. Click on the OK button to add the new project.
  • On the form designer, add the following five controls:
    • A label named lblProductID with text, Product ID
    • A textbox named txtProductID
    • A button named btnGetProduct with text, &Get Product Details
    • A label named lblProductDetails with text, Product ...

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