Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By : Mike Liu
Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By: Mike Liu

Overview of this book

Table of Contents (20 chapters)
WCF Multi-layer Services Development with Entity Framework Fourth Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Hosting the HelloWorld WCF Service
Index

WCF extension points


The client and service runtimes expose various extensibility points that the developer can leverage. These extensibility points can be used to customize various WCF capabilities, such as encoding messages, intercepting parameters, or selecting the operations to invoke on the service side.

Client-side extension points

A client-side extension is also called a proxy extension. Some available client-side extensions are listed as follows:

  • Parameter inspection: Performs custom validation, value modification, or special filtering for method parameters, before these method calls are translated to messages

  • Message formatting for serialization: Customizes the serialization process by using a custom formatter object

  • Message inspection: Implements cross-operation messaging features such as message logging, validation, or transformations functionality

  • Result processing: Inspects the returned result, formats the message, and customizes the deserialization process after the service invocation...