MichelG
05-13-2008, 12:24 PM
Hi,
I have a problem that I would like to solve with AoP, but I'm not sure this will be possible.
We have a series of WCF services.
We have a run of the mill tracing method interceptor that allows us to log operations executed on the different tiers of the application.
However, our customer now wants detailed tracing for certain user accounts. I know that I could inspect every incoming message, but that means user data should be a parameter on every operation, which it isn't. Is there a way to determine at the entrance of a call if it should be traced extensively, then use that in other interceptors that wrap around other components within the same call?
I have a problem that I would like to solve with AoP, but I'm not sure this will be possible.
We have a series of WCF services.
We have a run of the mill tracing method interceptor that allows us to log operations executed on the different tiers of the application.
However, our customer now wants detailed tracing for certain user accounts. I know that I could inspect every incoming message, but that means user data should be a parameter on every operation, which it isn't. Is there a way to determine at the entrance of a call if it should be traced extensively, then use that in other interceptors that wrap around other components within the same call?