在MVC项目中创建区域 [英] create area in MVC project

查看:172
本文介绍了在MVC项目中创建区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个MVC4 Web应用程序,什么是创建一个地区最好的方法是什么?它可以是automatted或者是创建控制器的手工工艺,浏览文件夹等?

In an MVC4 web application, what is the best way to create an Area? Can it be automatted or is it a manual process of creating the controller, View folder etc?

推荐答案

右键在Solution Explorer中点击ASP.NET MVC项目,并选择添加区... 在上下文菜单。然后键入区域的名称并进行:

Right click on the ASP.NET MVC project in the solution explorer and select Add Area... in the contextual menu. Then type the name of the area and proceed:

这篇关于在MVC项目中创建区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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