Microsoft boosts MVC Web app development

20.12.2008

"We think this will provide a useful way for developers to more easily create attractive, standards-compliant sites," he said.

The company also is preparing to ship improvements to its MVC platform via an ASP.Net MVC Release Candidate build due in January. ASP.Net MVC was released as a beta technology in October. Improvements in the release candidate build include a change in which MVC view files by default do not have code-behind files.

"This change helps to reinforce the purpose of views in a MVC world (which are intended to be purely about rendering and not contain any non-rendering-related code) and for most people eliminates unused files in the project," Guthrie said.

With the release candidate, Developers also can build strongly typed HTML and AJAX helper extensions that use expression syntax to refer to the View model. Also featured is a top-level model property on views.

An automatic UI scaffolding capability is offered when creating views using a new ASP.Net MVC "Add View" command inside Visual Studio. This support enables automatic generation of views against any .Net type or object.