WCF 4.5 Multi-Layer Services
Development with Entity
Framework
Third Edition
Build SOA applications on Microsoft platforms with
this hands-on guide
Mike Liu
PUBLISHING
professional expertise distilled
BIRMINGHAM - MUMBAI
WCF 4.5 Multi-Layer Services Development with
Entity Framework
Third Edition
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: December 2008
Second Edition: June 2010
Third Edition: December 2012
Production Reference: 1101212
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-766-9
www.packtpub.com
Cover Image by Artie Ng (artherng@yahoo.com.au)
Credits
Author
Mike Liu
Reviewers
Chad Gordon Carter
Jason De Oliveira
Andrew Rea
Jeff Sanders
Edward Spencer
Acquisition Editor
Andrew Duckworth
Lead Technical Editor
Azharuddin Sheikh
Technical Editor
Prasad Dalvi
Project Coordinator
Yashodhan Dere
Proofreader
Aaron Nash
Indexer
Tejal Soni
Graphics
Aditi Gajjar
Production Coordinator
Manu Joseph
Cover Work
Manu Joseph
About the Author
Mike Liu studied Mathematics and Software Engineering at Nanjing University
and Brandeis University, graduating with a Bachelor's degree and a Master's degree
respectively. He is a Sun Certied Java Programmer (SCJP), Microsoft Certied
Solution Developer for Visual Studio 6.0, and Microsoft Certied Solution Developer
for .NET. He has been working as a Software Engineer/Architect on various platforms
(DOS, Unix, and Windows), using C/C++, Java, VB/VB.NET, and C#.
Mike started using C# for production development back in the year 2001 when C#
was still in beta stage and he is now working as a Senior Software Engineer for an
investment management rm in Boston Mass.
Mike had his rst book MITT: Multi-user Integrated Table-processing Tool Under Unix
published in 1993, and second book Advanced C# Programming published in 2003.
The previous two versions of this book—WCF Multi-tier Services Development with
LINQ and WCF 4.0 Multi-tier Services Development with LINQ to Entities—were
published in 2008 and 2010.
Many thanks to the editors and technical reviewers at Packt
Publishing. Without their help, this book wouldn't be of such high
quality. And thanks to my wife Julia Guo, and to my two sons,
Kevin and James Liu, for their consideration and sacrices while
I was working on this book.