473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

interceptors in c#

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

Feb 22 '06 #1
1 4411
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.
--
http://www.markdawson.org
"ak**************@gmail.com" wrote:
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

Feb 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Fritz Bosch | last post by:
Hi group I'm looking for a Python interceptor package, which will allow me to intercept the invocation of any function or method call. For those familiar with CORBA interceptors, this should...
15
by: christopher diggins | last post by:
I have written an article on how to do Aspect Oriented Programming in vanilla C++ (i.e. without language extensions or other tools such as AspectC++). The article is available at...
6
by: Querejeto | last post by:
Hello: Is it possible to detect programmatically the constness of a member function when it is called? That is, I would like to see a generic implementation (i.e. it does not depend on the...
22
by: Nimmi Srivastav | last post by:
Can someone kindly clarify the distinction between long jumps and gotos? Why is one frowned upon and not the other? Is there really any situation where use of longjmp becomes inevitable? A...
4
by: Marc E | last post by:
All, I'm coming from java and coldfusion, where one can set a "global" variable in one place (the servletcontext in java, Application.cfm in coldfusion) and all files in that site can then take...
3
by: gregturn | last post by:
Spring Python is an offshoot of the Java-based SpringFramework and AcegiSecurityFramework, targeted for Python. Spring provides many useful features, and I wanted those same features available when...
3
by: =?ISO-8859-1?Q?Gregory_Pi=F1ero?= | last post by:
Need some decorator help. I have a class. And I want to add behavior to one of this class's methods to be run before the class runs the actual method. Is this what decorators are for? So...
126
by: Dann Corbit | last post by:
Rather than create a new way of doing things: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2497.html why not just pick up ACE into the existing standard:...
17
by: raylopez99 | last post by:
What good is C# Reflection, other than to find out what types are in an assembly? And to dynamically invoke methods in an assembly (.dll or .exe)? Also, bonus question, can you use Reflection...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.