Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Services are a critical part of today’s (and tomorrow’s) application environments. You can use entities in service applications, and depending on your needs you can approach the task of using the Entity Framework with services in a number of ways. You can build your own Entity Framework logic into a Windows Communication Foundation (WCF) service, or use a framework that leverages it, such as WCF Data Services or WCF Rich Internet Applications (RIA) Data Services.
Note:
It is also possible to use entities in Active Server Method (ASMX) web services, which are still supported in Visual Studio 2010. You can download the ASMX sample created in the first edition of this book from the downloads page of the book’s website. Note, however, that the sample does not benefit from any of the new features of Entity Framework, such as foreign keys or POCO support.