在哪里建在MVC脚手架T4模板? [英] Where are the built in MVC scaffolding T4 templates?

查看:131
本文介绍了在哪里建在MVC脚手架T4模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过最新的MVC工具,当我添加一个控制器,我得到的控制器code脚手架还有CRUD意见。我不要求有关如何覆盖模板。我知道我可以覆盖T4脚手架模板,但我想看到支持默认code一代现有内置的脚手架模板。

With the newest MVC tools, when I add a controller, I get scaffolding for the controller code as well as the CRUD Views. I'm not asking about how to override templates. I understand that I can override the T4 scaffolding templates, but I would like to see the existing built-in scaffolding templates that support the default code generation.

我在哪里可以找到T4 code,它支持MVC的视图和控制器内置/默认脚手架?

推荐答案

每<一个href=\"http://www.hanselman.com/blog/ModifyingTheDefault$c$cGenerationscaffoldingTemplatesInASPNETMVC.aspx\"相对=nofollow> Hansleman :

C:\Program Files (or x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp (or Visual Basic)\Web\MVC (or 2) 3\CodeTemplates

这篇关于在哪里建在MVC脚手架T4模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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