开发者

Define Scaffolding. (with respect to Dynamic Data and ASP.NET MVC)

开发者 https://www.devze.com 2023-02-17 09:40 出处:网络
There is a lot of information about how to implement and customize scaffolding with Dynamic Data and ASP.NET MVC.What exactly is the def开发者_JAVA技巧inition of scaffolding when used in this context?

There is a lot of information about how to implement and customize scaffolding with Dynamic Data and ASP.NET MVC. What exactly is the def开发者_JAVA技巧inition of scaffolding when used in this context?


It means that the Dynamic Data framework will auto-generate a set of routes based on the table names in a data model (e.g. a Linq to SQL data context), and a predefined set of operations (essentially CRUD). When you e.g. visit http://example.com/Products/Details.aspx, where "Products" is the name of a table in your data model, the framework will auto-generate a details page for displaying product details. The generated pages can be customized by providing partial views named according to a convention based on the naming of e.g. columns in the data model.

0

精彩评论

暂无评论...
验证码 换一张
取 消