interception programming.

  • Thread starter Thread starter Patrick
  • Start date Start date
P

Patrick

Hi,

I need to be able to, dynamically, call some logic before a method's
execution and upon the completion of a method's execution.

i need this behavior to occur in a way that the client of the service has no
knowledge of the pre and post logic being called.

In Java i have a package called Javassist that allows me to do this at
runtime easily. i'm looking for the same facility in dotnet.

If i haven't explained this sufficiently please let me know and i'll try to
elaborate.

Thanks in advance for any help.
Patrick
(e-mail address removed)
 
Hi,

I need to be able to, dynamically, call some logic before a
method's execution and upon the completion of a method's
execution.

i need this behavior to occur in a way that the client of the
service has no knowledge of the pre and post logic being called.

In Java i have a package called Javassist that allows me to do
this at runtime easily. i'm looking for the same facility in
dotnet.

If i haven't explained this sufficiently please let me know and
i'll try to elaborate.

Patrick,

You might try AOP.Net (http://sourceforge.net/projects/aopnet/).
I've never used it, but it seems to be the beginnings of an AspectJ-
type tool for .Net.
 
Back
Top