DataServiceProcessingPipeline.ProcessedRequest is called before operation is complete

60 Views Asked by At

I'm using OData over WCF Data service. DataServiceProcessingPipeline.ProcessedRequest event is called before the odata call completion. For example: For the following URI, ProcessedRequest gets called immediately before it returns the data. http://somehost//odata/v3/data/Products()

I'm looking for intercepting the incoming and outgoing request so that I can limit the number of OData calls (method and data calls) coming from the specific client. It's the same issue even with the IDispatchMessageInspector::BeforeSendReply method override.

Can someone help me with this issue?

0

There are 0 best solutions below