In this chapter, we completed the EasyNorthwind WCF service. We added the business entities, the business logic layer, and the data access layer. We modeled the host application, created the test client, and tested the WCF service. The key points in this chapter include:
For business entities, the business logic layer, and the data access layer, Service Factory creates the projects for you, but does not generate the source code
Service Factory generates translators between business entities and data contracts
Business entities, the business logic layer, and data access layer objects are just Plain Old C# Objects (POCO) with no WCF attribute added to them and there is no need to add a reference to the ServiceModel namespace
When customizing a generated class, you should add a new partial class instead of modifying the generated class directly
Connection strings can be included in a separate XML file rather than the main configuration file
In addition to the Service Contract Model, and the Data Contract Model, there is a Host Model in the Service Factory that allows you to model a host application and generate source code for the host application
The Host Model can also generate proxy files for a client application