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 WCF Test Client

Now we have concurrent support added to the service let's test it with the built-in WCF Test Client.

Press Ctrl + F5 to start the program. Click on GetProduct, enter a valid product ID, and then click on the Invoke button to get the product details. You should have a screen like the following image.

Testing concurrency with WCF Test Client

From this image we know the product, RowVersion, is returned from the database to the client. It is of the Byte[] type.

Now click on UpdateProduct and enter the same product ID, a new name, quantity per unit, and unit price. However, you can't enter a value to the RowVersion field for this update because it is of ...

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