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 (February 29, 2012).
For building mobile Web applications, ASP.Net MVC 4 includes the jQuery Mobile Web framework for smartphones and tablets, and new support for customizing 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.
Sign up for Computerworld eNewsletters.