更改ASP.NET MVC默认文件夹结构 [英] Changing ASP.NET MVC default folder structure

查看:72
本文介绍了更改ASP.NET MVC默认文件夹结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将文件夹组织更改为以下内容,并且仍然可以使用MVC.

Is it possible to change around the folder organization to the following and still have MVC work.

P1

  • 控制器
  • 模型
  • 观看次数

P2

  • 控制器
  • 模型
  • 观看次数

等.

推荐答案

这看起来很像新功能区域,可在

This looks a lot like the new feature area's which is available in MVC 2 though it is currently in preview and will be release with VS 2010.

如果您想自己做而不使用区域,请查看

If you want to do it yourself without using areas then check out this article on view engines

这篇关于更改ASP.NET MVC默认文件夹结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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