interceptors in c#

  • Thread starter Thread starter akhila.deshpande
  • Start date Start date
A

akhila.deshpande

Hi,

I am looking for jboss like interceptor support in .Net.
In an application, these interceptors werehooked in Jboss/JVM. they
kept track of all methods called and wrote details to log file. This
also tracked calls across JVM's

I am not able to find something similar in dot net. Checked with all
aspect oriented languages.

Contextboundobject and marshalbyref (dynamicproxy realproxy) in
dotnet, keeps track of the classes derived using them. but this not the
solution required as the source code of application that needs to be
tracked needs to change.

Is there anything using which I could track/intercept all the calls
made by the application without changing its source code.

Thanks in Advance,
Aks
 
Hi akhila,
I guess you are trying to do some performance monitoring and want to know
how much time you are spedning in each function. I am not aware of any
namespace in .Net that will let you do this, but if you have a copy of Visual
Studio 2005 they have a perofrmance tool built into the software that will
let you monitor application execution either in sample mode or
instrumentation mode which is what it sounds like you are looking for.

Mark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top