Spring.Net 的现状如何?

发布于 2024-10-10 18:51:42 字数 321 浏览 8 评论 0原文

我目前正在评估我们想要在下一个项目中使用的技术。它将主要作为自动数据操作的后端。它有一些依赖项,目前我们只能在 .Net 3.5 之上构建它。

Spring.net 似乎很符合我们的要求,因为它带来了 DI 容器、ADO.Net 帮助程序、NHibernate、单元测试帮助程序和一个维护包中的其他好东西。 Spring.Net 在社区中的地位如何?现状如何?看起来好像正在积极维护,但是谁使用它并可以分享一些经验? 我特别是。对它拥有的 DI 容器和 ADO.Net 模块感兴趣。 DI 容器是否支持正确的自动接线?

I'm currently evaluating the technologies we want to use for our next project. It will mainly be a backend for automatic data manipulation. It has some dependencies and we can only build it on top of .Net 3.5 at the moment.

Spring.net seems like a good match for our requirements, since it brings a DI container, ADO.Net helpers, NHibernate, Unit testing helpers and other goodies in one maintained package.
How established is Spring.Net in the community and what's the state? It seems like being actively maintained, but who uses it and can share some experience?
I'm esp. interested in the DI container it has and the ADO.Net module. Does the DI container support proper auto wiring?

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

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

发布评论

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

评论(2

雨轻弹 2024-10-17 18:51:43

我已经积极使用 spring.net 一年多了,并且非常喜欢它。

我喜欢的是:

  • 不引人注目;为您提供所需的所有自由,
  • 有据可查,
  • 它通过从我的演示文稿和域对象中移出几乎所有基础设施代码,指导我构建可理解、可测试和可维护的软件;我发现我可以轻松可靠地对我的代码进行更改,

我认为它可以进行改进:

  • 一开始的学习曲线可能会很陡峭,
  • xml di 配置对初学者来说并不友好;我认为这并不像许多人建议的那么糟糕,特别是在使用 Resharper 并在 Visual Studio 中安装 xsd 架构时

I've been actively using spring.net for over a year now and like it a lot.

What I like:

  • it is non-obtrusive; gives you all the freedom you need
  • well documented
  • it guides me to building understandable, testable and maintainable software, by moving out almost all infrastructural code from my presentation and domain objects; I find that I can easily and reliably make changes to my code

I think it could use improvement:

  • learning curve at the start can be steep
  • the xml di congfiguration isn't really friendly to starters; I don't think it's as bad as many suggest though, especially when using Resharper and installing the xsd schema's in Visual Studio
虫児飞 2024-10-17 18:51:43

我已经使用 Spring.NET 好几年了。首先从 DI 内容开始,逐渐了解更多技术并应用框架中越来越多的功能。 AoP、服务、ado.net 模板。如果您知道在哪里可以找到您需要的物品,这确实可以节省时间,但需要相当长的时间来熟悉它。尽管有很多文档,但您会发现自己尝试了很多东西。

我在 Spring.NET 的博客上看到了一些帖子: http://blog.bennymichielsen.be/category/春网/

I've used Spring.NET for several years. First starting with just the DI stuff, gradually learning more about the techniques and applying more and more functionality from the framework. AoP, services, ado.net templates. If you know where to find the items you need it really is a time-saver, it takes quite some time though to get acquainted with it. Although there is a lot of documentation, you'll find yourself trying out a lot of things.

I got some posts on my blog on Spring.NET: http://blog.bennymichielsen.be/category/springnet/

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