使用 ViewModels、EditModels 和 AutoMapper 的 ASP.NET MVC 参考实现
一个简单的问题:是否有一个使用 ASP.NET MVC 与 ORM、ViewModels 和 EditModels(最好使用 Automapper)的良好参考实现?
我了解使用这些特定于目的的模型的好处,但对迄今为止我编写的使用这些模型的代码的结果不太满意。如果有一个简单的参考应用程序能够展示这些方面在 MVC 工作流程中的应用方式和位置,那就太好了。
A simple question: is there a good reference implementation of using ASP.NET MVC with an ORM, ViewModels, and EditModels (ideally using Automapper)?
I understand the benefits of using these purpose-specific models, but haven't been too happy with the result of the code I've written to use these so far. A simple reference application showing how and where these aspects are applied in the MVC workflow would be great.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Jimmy Bogard 给出了 优秀MVCConf 上的演示,值得一看。
Jimmy Bogard gave an excellent presentation at MVCConf which is worth checking out.
http://whocanhelpme.codeplex.com/
不确定这是否是一个参考实现,但它会尝试收集好的。
http://whocanhelpme.codeplex.com/
Not sure if it's a reference implementation, but it tries to collect good ones.