Visual Studio has made it incredibly easy for developers to create WCF Data Services that provide access to databases and other resource types in no time flat. When combined with the OData protocol and Linq, clients are given an easy yet powerful way to perform basic CRUD operations. However, you'll eventually come to a place where the out-of-the-box features don't quite meet your needs. Fortunately, WCF doesn't box you in. In this session you'll learn how to take your Data Services to the next level. You'll see how to leverage the power of custom Interceptors to alter the default behaviors of services. You'll also learn techniques to enforce common generic behaviors which handle such things as data validation, data transformation, caching, and logging. The possibilities for this amazing WCF extensibility mechanism are endless.
You will learn:
- How to use custom Interceptors to alter query behavior and non-safe operations (i.e. Create, Update, Delete, and non-standard HTTP operations)
- How to use custom behaviors to handle such things as data validation, data transformation, caching, and logging
- Understand the advantages and trade-offs of using these techniques