Book Image

WCF 4.0 Multi-tier Services Development with LINQ to Entities

By : Mike Liu
Book Image

WCF 4.0 Multi-tier Services Development with LINQ to Entities

By: Mike Liu

Overview of this book

WCF is the Microsoft model for building services, whereas LINQ to Entities is the Microsoft ORM for accessing underlying data storage. Want to learn both? You would normally have to dig through huge reference tomes—so wouldn't you agree that a simple-to-follow practical tutorial on WCF and LINQ to Entities is the way to get ahead?This book is the quickest and easiest way to learn WCF and LINQ to Entities in Visual Studio 2010. WCF and LINQ to Entities are both powerful yet complex technologies from Microsoft—but you will be surprised at how easily this book will get you get up and running with them.Mastery of these two topics will quickly enable you to create Service-Oriented applications, and allow you to take your first steps into the world of Service Oriented Architecture without becoming overwhelmed.Through this book, you will learn what's going on behind the scenes with WCF, and dive into the basic yet most useful techniques for LINQ to Entities. You will develop three real-world multi-tiered WCF services from beginning to end, with LINQ to Entities being used in the data access layer of the services. Various clients including windows console applications, the WCF Test Client, Windows Form applications and WPF applications will be created to test these WCF services. By the end of this book, you will be 100% confident that you know WCF and LINQ to Entities, not only in theory, but with sound real-world experience.
Table of Contents (16 chapters)
WCF 4.0 Multi-tier Services Development with LINQ to Entities
Credits
About the Author
About the Reviewers
Preface
Index

WCF production and development environments


WCF was first introduced in Microsoft's .NET Common Language Runtime (CLR) version 2.0. The corresponding framework is .NET 3.0. To develop and run WCF services, Microsoft .NET Framework 3.0 or above is required.

Visual Studio is the preferred IDE for developing WCF service applications. Both Visual Studio 2008 and Visual Studio 2010 support WCF service application development. Visual Studio 2008 also supports application development for .NET Framework 2.0, 3.0, and 3.5 (this is called multi-targeting), and Visual Studio 2010 supports application development for .NET Framework 2.0, 3.0, 3.5, and 4.0.

The following table shows all of the different versions of the .NET runtimes, .NET Frameworks, and Visual Studios, along with their relationships:

CLR

.NET Framework

Components

   

Visual Studio

      

CLR 4.0

.NET 4.0

Parallel Computing

   

2010

      
 

.NET 3.5 SP1

ASP.NET

MVC

LINQ

Entity Framework

LINQ to Entities

Cloud Computing

2008,2010

      

CLR 2.0

.NET 3.5

LINQ to SQL

LINQ to XML

LINQ to Objects

ASP .NET AJAX

REST

RSS

2008,2010

      
 

.NET 3.0

WCF

WPF

WF

CardSpace

      
 

.NET 2.0

Winforms

ASP.NET

ADO.NET

 

2005,2008,2010

     

CLR 1.0

.NET 1.1

Winforms

ASP.NET

ADO.NET

 

2003

      

.NET 1.0

 

2002