How should I structure a simple ASP.NET MVC app?

女生的网名这么多〃 提交于 2019-11-30 07:03:53

Ian Cooper had a good post on exactly this recently:

The Fat Controller

Simple recipe: (view)Presentation Layer using ASP.NET, (controller)Code Behinds or AJAX Services Layer, (model)Application Services layer, Business Model layer, and Persistance/Data Access layer.

Of course you can slice and dice numerous ways to deal with complexities in order to build a clearly readable and understandable application.

For a recent discourse on the subject, which I have found to be very good, check out this newly published book: Microsoft .NET: Architecting Applications for the Enterprise.

Rob Conery has the best answer IMO.

Check out his MVC Storefront Application, which comes with complete source code and video tutorials.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!