Summary
In this chapter, we learned the basic concepts of the WCF extension and extended service behavior of the HelloWorld
service. In this sample extension, we just logged all incoming and outgoing messages, but in your environment, you can do much more than just logging messages. There are many extension points and you should examine the needs of your WCF service and pick the most appropriate extension points according to your application requirements.
This is the last chapter of the book. Through this book, we learned how to create, host, and debug a WCF service, whether on-premise or in the cloud. We also learned WCF exception handling and applied best practice to our WCF service development. As Entity Framework is now the standard data access ORM, we explored Entity Framework, LINQ to Entities, and replaced our data access layer with LINQ to Entities. We also learned WCF transaction management by using LINQ to Entities and configured the security for our WCF service. In addition to...