Microsoft ASP.Net model view controller updated for mobile web
Web application toolkit builds faster loading programs
By Paul Krill | InfoWorld | Published: 10:19, 28 February 2012
Microsoft is upgrading its ASP.Net MVC software, adding mobile web functionalty as well as capabilities for building web applications that load faster, a company official said.
ASP.Net MVC 4 Beta was released earlier this month. ASP.Net MVC enables development of web applications via the popular Model-View-Controller architectural pattern. The beta release will be built into the beta version of Visual Studio 11/Net Framework 4.5, which is due to be released on Wednesday.
"ASP.Net MVC 4 includes the new bundling and minification we are also adding to ASP.Net 4.5," said Scott Guthrie, corporate vice president in Microsoft's server and tools business. "These features enable you to build web applications that load faster and feel more responsive to users by minimising the number and size of HTTP requests that your pages make."
For building mobile web applications, ASP.Net MVC 4 includes the jQuery Mobile web framework for smartphones and tablets, and new support for customising which view templates are used depending on the type of device accessing an application. Also featured in version 4 is new support for developing Web APIs for building HTTP services and APIs that can be programmatically called from clients including browsers, native applications, and mobile/client platforms.
Web API support also provides a platform for building RESTful services. Database migration capabilities are offered via Entity Framework 4.3. "This enables you to easily evolve your database schema using a code-focused migration approach, and do so while preserving the data within your database," said Guthrie.
Other capabilities in ASP.Net MVC 4 include version 2 of Microsoft's Razor view engine. "Razor V2 includes enhancements that enable you to make your view templates even cleaner and more concise, including better support for resolving URL references and selectively rendering HTML attributes," Guthrie said.
Async support and WebSockets capabilities are featured in the release as well. With async backing, developers can write scalable applications by leveraging the ASP.Net MVC runtime and C# VB async language enhancements, Guthrie said. WebSockets support built into .Net 4.5 can be leveraged also, providing richer browser-server communication, he said.