Chapter 5. Implementing a Three-layer WCF Service

In the previous chapters, we created a basic WCF service. The WCF service we have created, HelloWorldService, has only one method, named GetMessage. As this was just an example, we implemented this WCF service in one layer only. Both the service interface and implementation are within one deployable component.

In the following two chapters, we will implement a WCF service, which will be called LayerNorthwindService, to reflect a real-world service. In this chapter, we will separate the service interface layer from the business logic layer, and in the following chapter, we will add a data access layer to the service.

Note that the service we will create in the next two chapters is only a simplified ...

Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.