Aspect Oriented Development/Programming resource [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionRecently, I've had a request to implement logging for all of the Controller 开发者_JAVA百科classes in my ASP.NET project. I've used postsharp and everything is working great! But, usual question: is there any OpenSource component or any pattern? Also, I want to know more about AOP design patterns, resources and real-world application.
I've used Spring.NET AOP features with NHibernate to implement automatic SQL transaction commit/rollback. Depending on how those Controller classes are implemented in your ASP.NET application this might or not be a viable option. Sometimes a custom IHttpModule is sufficient.
精彩评论