如何创建mvc 4模块化应用程序 [英] how create mvc 4 modular application

查看:109
本文介绍了如何创建mvc 4模块化应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在asp mvc 4中创建模块化应用程序,如joomla cms,我想使用模块区域并为每个模块创建新解决方案,其中每个模块都是3层(服务层 - 统治classe - 模型)。我用户代码第一。



如何实现它?

i want create modular application in asp mvc 4 like joomla cms and i want use area for moduls and create new solution for Each moduls where each moduls is 3layer (service layer- domin classe - Model) . I user Code first.

how implement it?

推荐答案

通过编写代码,设计如此他们是模块化的。这意味着创建一个框架,接受插入基类的插件,并扩展该基类以创建插件。
By writing code, and designing things so that they are modular. That means creating a framework that accepts plugins that impliment a base class, and extending that base class to create plug ins.


这篇关于如何创建mvc 4模块化应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆