Using Templates in ASP.NET MVC 2.0

Templating is now in the ASP.NET MVC 2.0 framework, for .NET framework 3.5 and 4.0.  Brian Mains explains.

ASP.NET dynamic data featured a new way to develop applications, especially for the UI. The templating feature sets up a new way to render the UI, whether in display or edit mode, based the object to display’s data type. For instance, if you wanted to render a LINQ object in dynamic data, the framework extracts information about all of the properties, looks up the template to for the data type of that property (an in-built user control or possibly a custom template you setup), and renders this UI for that property of a given type.
This feature is now in the ASP.NET MVC 2.0 framework, for .NET framework 3.5 and 4.0. We are going to take a look at these features.


Posted

in

by

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from try {} except

Subscribe now to keep reading and get access to the full archive.

Continue reading