开发者

Aspect Oriented Development/Programming resource [closed]

开发者 https://www.devze.com 2023-01-08 06:40 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

Recently, 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消