Skip navigation.

Jumping Through Hoops with XML SerializationAll recent postsTV Time vs. Reading Time

Not an AOP Book

The subject of Aspect Oriented Programming (AOP) in .NET intrigues me a great deal. In part because there isn’t much written about it, and in part because I see opportunities that are not available with the conventional way of writing code.

Those of you who are regular readers of this blog know me as a book junkie. I headed to Amazon and found a grand total of one (!) eBook on AOP in ASP.NET. It’s distributed as a PDF and it’s only 8 bucks. No big deal.

To my disappointment this publication turned out to be totally misleading. Instead, what it is, is a discussion of HttpModules and HttpHandlers and a weak one at that. The true AOP (context-bound objects) has a by-the-way mention at the end.

Looking into the future, I’d love to see a place for AOP in ASP.NET. It would be immensely helpful to be able to intercept calls to server controls and page life cycle events, for starters. The problem is you can’t make the 800-pound gorilla that the Page class is context-aware. Once we overcome this limitation, I hope we can push AOP beyond mere logging.

Comments

Comment permalink 1 Tony Steele |
You may be interested that the Spring Aspect Oriented Programming (AOP) framework is being ported to dot.net. see:
http://www.springframework.net/
There is also documentation including http://www.springframework.net/doc/reference/html/aop-quickstart.html
which may interest you.
Comment permalink 2 Thomas GIL |
If you can and enjoy to read French, I published an eBook on DotNetGuru.org last year and we decided to make it free just 2 weeks ago. You can now found it here.

Best regards,

Tom
Comment permalink 3 Milan Negovan |
Tom, unfortunately I don't speak or read French. If you happen to translate it, I'll read it! 8-)

Emails and Notifications

Would you like to be notified when somebody responds to this post?  Would you like to have these comments emailed to you?

TrackBacks

Sorry, TrackBacks are not allowed.

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):