Implementing Query Interceptors

In the previous section I covered service operations, which act on the server side. But they are not the only server-side feature in Data Services. Another interesting feature is known as query interceptors. Basically interceptors are .NET methods exposed by the service class enabling developers to intercept Http requests and to establish how such requests must be handled, both in reading (query interceptors) and in writing (change interceptors) operations. This section describes both query interceptors and change interceptors.

Get Visual Basic® 2010 Unleashed 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.