.Net Framework 4.0 -New Features in Core Services
THe Visual Studio 2010 Beta and the .Net Framework 4.0 were launched by Microsoft Corporation this week.With the launch comes many new features that will sure take applicatipn and web development to new heights.The basic structure still quite remains the same but still the product does come with many new exciting features.The changes have come mainly in the core services,Ajax,Web Forms etc.
The core services like Output caching and session state storage makes a significant improvement.One of these is the Web.Configminification.The introduction of new features meant that the web.config was becoming harder to configure.But in .Net Framework 4.0,the major configuration elements have been moved to the machine.config file and the application just inherits these settings.It means that the web.config file is nearly empty of configuration elements and we can use it mostly for user defined configuration settings.
Another new feature in the core services is the extensible Output Caching which allows you to configure one or more custom output-cache providers.These providers may be local or remote disks,cloud storages or distributed cache engines.This would mean that the caching ,which was making servers with heavy traffic inefficient, will not have to worry much about the memory.The .Net 4.0 comes with a new System.web.OutputProvider class which allows you to create custom output cache providers.
The new Auto-Start feature for Web applications provides a controlled approach to start an application pool,thus making the process of ‘waking-up’ the application for its first request much faster.
The RedirectPermanent helper class makes it easy to issue HTTP 301 moved Permanently responses,just reducing the number of HTTP round trips that was needed when Response.Redirect() method was used.
The storage of session states could sometimes take up large amount of memory for storing the serialized data..Net 4.0 introduces a new compression option which uses the System.IO.Compression.GZipStream class.
These are some of the many new core services features available in the .Net 4.0.The web forms also has many new features like
- The ability to set meta tags.
More control over view state.
Easier ways to work with browser capabilities.
Support for using ASP.NET routing with Web Forms.
More control over generated IDs.
The ability to persist selected rows in data controls.
More control over rendered HTML in the FormView and ListView controls.
Filtering support for data source controls.
For all the new features and explanation about them,visit asp.net
Related posts:








Leave your response!