得到用C#/ ASP.NET创建脚手架code最快的方​​法 [英] Quickest way to get Scaffold code created with C#/ASP.NET

查看:614
本文介绍了得到用C#/ ASP.NET创建脚手架code最快的方​​法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在任何项目的开始,一旦你得到你的对象模型有然后是一段枯燥的,你炮制出所需的骨架code。

At the start of any project, once you've got your object model there then comes a period of tedium as you crank out the skeleton code required.

是否有任何工具,将帮助我完成这个任务(包括单元测试框架如果可能的话),有点像Rails的脚手架功能?

Are there any tools that will help me with this task (including unit test skeletons if possible), a bit like the scaffolding feature in Rails?

感谢。

推荐答案

这真的取决于你所使用的架构堆栈:

It really depends on the framework stack that you're using:

  • Scaffolding for Monorail + ActiveRecord
  • ASP.NET MVC + Linq to SQL
  • Web forms + dynamic data
  • ASP.NET MVC + Subsonic

其他的比,你总是可以code你自己的脚手架使用 $ C $输入csmith 或< A HREF =htt​​p://www.mygenerationsoftware.com> MyGeneration

Other that than, you could always code your own "scaffolding" using CodeSmith or MyGeneration

另请参见

这篇关于得到用C#/ ASP.NET创建脚手架code最快的方​​法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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