Hi,
Following is a quick list for new features in dotnet framework 4.0
BENEFITS OF DOTNET FRAMEWORK 4.0
1. Parallel Computing
The new programming model in framework 4.0 enables developers to write efficient, fine-grained, and scalable parallel code in a natural idiom without having to work directly with threads or the thread pool. The new Parallel and Task classes, and other related types, support this new model.
2. SEO Improvements
Dotnet framework 4.0 has some new features for SEO optimization which are mentioned here:
a. Page.MetaKeywords and Page.MetaDescription properties
These properties are useful when using masterpages as section ends up being in masterpages. These properties are now set in aspx pages like page.Title and have their values automatically rendered by the control within master page.
Meta Keywords and description can also be set in @Page directive
b. New URL routing support for ASP.NET forms
With Dotnet framework 4.0 URL routing one can use routing to define URLs that are semantically meaningful to users and that can help with SEO. Links will no longer refer to physical file like
http://www.mysite.com/products.aspx?category=software Can be changed to http://www.mysite.com/products/software
c. Response.RedirectPermanent() as replacement of Response.Redirect()
3. Enhancements in ADO.NET
Entity Framework decreases the amount of coding and maintenance required for data-driven applications by enabling you to program against data models defined in terms of entities and relationships. Entity Framework has got some useful features involve in framework 4.0
4. JQuery Included with Webforms
On creation of new website script folder is created with following files
a. jQuery-1.4.1.js
b. jQuery-14.1.min.js
c. jQuery-1.4.1-vsdoc.js – IntelliSense documentation file
5. ScriptManager Explicit Scripts
By taking advantage of the new ScriptManager.AjaxFrameworkMode property, one can control exactly which components of the ASP.NET Ajax Library are loaded and load only the components of the ASP.NET Ajax Library that are needed.
6. New property Control.ViewStateMode
This property is used to disable view state for all controls on a page except those for which you explicitly enable view state.
7. Support for recently introduced browsers and devices
8. Enhancements to data controls
a. Persisting row collection in data controls
A new attribute ‘EnablePersistedSelection’ is added in data controls which is used for selecting rows depending on row datakey instead of row index for better behaviour during paging
b. RenderTable property to generate cleaner HTML
In previous versions of framework most data controls were rendered within table thus imposing styling and other restrictions now controls like FormView and Login has got RenderTable property which is used to hide this table around objects
9. Enhanced support for web standards
Earlier versions of ASP.NET controls sometimes render markup that does not conform to HTML, XHTML, or accessibility standards. ASP.NET 4 eliminates most of these exceptions.
10. New Controls
a. ASP.NET Chart Control
This control enables to create applications that have simple, intuitive charts for complex statistical or financial analysis
b. QueryExtender Control as replacement of where clause
This is a linq based control and can be added to EntityDataSource or LinqDataSource controls in order to filter the data returned by these controls. It has following filter options:
i. Search Expression
ii. RangeExpression
iii. PropertyExpression
iv. OrderByExpression
v. CustomExpression
11. Control Improvements
a. Menu Control
In ASP.NET 4, menu control now renders HTML using semantic markup that consists of an unordered list and list elements instead of rendering in table as in previous versions. In addition to rendering improvements, keyboard navigation of the menu has been improved using focus management. And arrow keys now can be used to navigate
12. JavaScript IntelliSense Enhancements
IntelliSense now recognizes objects that have been dynamically generated by methods such as registerNamespace() etc
13. Application Domain Resource Monitoring
In .NET Framework 4.0, one can get processor usage and memory usage estimates per application domain by using AppDomain class
14. Session State Compression
ASP.NET 4 introduces a new compression for OutProc and SQLServer session modes. When the compressionEnabled configuration option is set to true, ASP.NET compresses (and decompresses) serialized session state by using the .NET Framework System.IO.Compression.GZipStream class.
15. New Caching API
The new System.Runtime.Caching.dll assembly contains a new caching API in the System.Runtime.Caching namespace which is mainly used for non web applications
16. Setting client id
Creating the id attribute for elements that are rendered in controls is now handled with new ClientIDMode property. This property lets you specify more precisely that how this id should be generated rather than auto generation as happened in previous versions.
17. Changes in CAS
Code access security in earlier frameworks is declared difficult to use effectively, and the new CAS security model in the .NET Framework 4.0 with Level 2 transparency completely replaces it.