Spring.net 面向方面编程怎么样?您有其他推荐吗?

发布于 2024-09-08 19:58:38 字数 123 浏览 0 评论 0原文

我想选择一个框架来在我的项目中编写横切功能。比如日志记录等。我想使用面向方面的编程。研发后我发现了Spring.net。您能否分享您的经验以及优点和缺点或您喜欢的任何其他方式?或者您有其他推荐的框架吗?我们将不胜感激您的帮助和建议。

I wanted to select a Framework for writing crosscutting functionality in my project. like logging etc. And I thought to use Aspect oriented programming. I found Spring.net after R&D. Can you please share your experience with advantages and Disadvantages or any other way you like? Or do you recommend any other framework? Your help and recommendations will be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请你别敷衍 2024-09-15 19:58:38

Postsharp 刚刚发布了 v2。我已经试用了 PostShart 1.5,但是当我无法让它与 MS Performance 测试工具(该工具也将代码注入到已编译的程序集中)很好地配合时,我放弃了它。

我喜欢 PostShart API,并发现它很容易遵循,但增加的编译时间可能是一个问题(我们有大型项目)。

Postsharp just announced v2. I have trialled PostShart 1.5, but dropped it when I couldn't get it to play nice with the MS Performance testing tools (which also inject code into the compiled assembly).

I liked the PostShart API and found it easy to follow, but the increased compile time could have potentially been an issue (we have large projects).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文