Category: Features

Microsoft ASP.NET 4.5 Features

Microsoft’s ASP.NET, a standout amongst the best web application development framework ever. You can utilize ASP.NET to quickly create and convey very versatile, elite web applications in a managed situation. In this article, we will talk about the best 10 best highlights in ASP.NET 4.5 for developers:

Bundling and Minification Feature

With the help of Bundling and Minification Feature, you can bundle and minimize the script’s size and style the sheets in your application. It plays an important role in the performance of web application. You will notice the following lines in your Global.asax document, once create a new project in ASP.NET 4.5.

protected void Application_Start()

{

 //Some code

 BundleTable.Bundles.RegisterTemplateBundles();

}

Strongly Typed Data Controls

With ASP.NET 4.5, lets you strongly typed data controls. Simply, assign the item type property to a model, which is connected to data controls in .aspx pages. Following code illustrate the method:

          <%# Item.Name.ToString() %>

          

Value Providers 

 It provides numerous Value Providers like Cookie, Querystring, Control Value and Session to filter the data. Even, it lets you create custom value providers.

Support for OpenID in OAuth Logins

With the help of ASP.NET 4.5, external services can be used to login to your application, like you can register OAuth provider in the App_Start/AuthConfig.cs file. The data dictionary can also be used to pass additional data.

Support for improved paging in ASP.NET 4.5 GridView control

Paging support in ASP.NET 4.5 has been enhanced. GridView control has been enhanced. ASP.NET 4.5 GridView.AllowCustomPaging property gives awesome help to paging and dealing with a lot of information productively.

Enhanced support for asynchronous programming

ASP.NET 4.5 provides asynchronous programming support. It lets you read and write HTTP requests without OS threads and provides await and async keywords support.

Support for HTML5 form types

It also provides support to HTML5 form types like color, range, Date pickers, email, URL, number etc.

ASP.NET Web API

This is included in ASP.NET MVC 4 and ASP.NET Web Forms. ASP.NET Web API helps in building and consuming HTTP services easily.

Advertisements