Add scaffolding after separating Controllers-views project for ASP.net MVC rc (i.)

Source: Internet
Author: User

Busy for several months, a long time did not write something, recently a little bit empty, free time back to the ASP.net MVC RC (hereinafter referred to as MVC RC) research. MVC RC "Scaffolding (Scaffold)" function can be said to be the development of MVC RC, but the application to the real development environment seems to have some regrets: many times we do not want to put models, views and controllers in the same project, Instead, they are separated into different projects, and all other project assemblies are referenced uniformly by one project (such as views). But after doing so, the scaffolding function in the controllers project is "Gone".

In the Web (MVC RC) project, we can use scaffolding in a Web project to create a view page:

or create a controller file:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.