用于基于约定的 ASP.NET MVC 开发的软件堆栈
除了 ASP.NET MVC 明显的约定之外,您还利用哪些库来最大限度地减少引导、映射对象、数据访问等?我想花更多的精力开发领域逻辑,而不是处理对象持久性的细节(例如)。
我过去使用过 StructureMap 和 NHibernate,效果非常好。我是否应该考虑使用其他工具或其他库来进一步简化流程?
Besides ASP.NET MVC's obvious conventions, what libraries do you take advantage of that minimize boot strapping, mapping objects, data access and such? I want to spend more energy developing domain logic as opposed to dealing with the details of object persistence (for example).
I have used StructureMap and NHibernate in the past to great effect. Are there other tools or other libraries I should consider that further streamline the process?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以查看以下示例:http://whocanhelpme.codeplex.com/(它基于 S #arp 架构框架)。我实际上还没有尝试过,但我自己确实使用了很多提到的库,并且它在 S#arp google groups 中得到了很好的反馈。
You can check out this example: http://whocanhelpme.codeplex.com/ (it is based on S#arp Architecture framework). I haven't actually tried it but I do use a lot of the mentioned libraries myself, and it got very good feedback in S#arp google groups.
您可以使用以下方式编写自己的项目核心:
您想要的或简单地使用一个:
S#arp 架构
You can write own core of project using:
that like you want or simply use one:
S#arp Architecture
我们是 Autofac、NHibernate + FluentNHibernate 的非常非常满意的用户 :-)
但从 StructureMap 切换到 Autofac 或反之亦然并没有什么区别。
我喜欢查看的下一个库之一是 AutoMapper。
FluentNHibernate + Schema 生成非常值得。
We are very, very happy users of Autofac, NHibernate + FluentNHibernate :-)
But to switch from StructureMap to Autofac or vice verca does not make difference.
One of the next libraries I like to check out is AutoMapper.
FluentNHibernate + Schema generation is very worthwhile.
从我的角度以及在 .NET 和 .NET 的长期经验来看,我推荐的 .NET Core 项目:
与:
From my perspective and from long-time experience at .NET & .NET Core projects I recommend:
together with: