Main differences between ASP. NET 3.5 and ASP. NET 4.0

Source: Internet
Author: User

BKJIA exclusive Article] the following features in ASP. NET 3.5 are not available in previous versions:

  • ASP. NET 3.5 chart controls
  • ChartAreas controls in ASP. NET 3.5
  • Introduction to ASP. NET 3.5 WCF services
  • ASP. NET 4.0 new features preview Enhanced Data Processing
  • Improvement of ClientID in ASP. NET 4.0

◆ Ajax Integration

◆ LINQ

◆ Automatic attributes

◆ Lambda expressions

Similarly, I want everyone to figure out the difference between ASP. NET 3.5 and its next version ASP. NET 4.0. I will first list some of the content and I will sort it out later.

Client Data Access

ASP. NET 3.5: the client cannot directly access data, but there are the following work und.

Script manager PAGE method Pagemethods)

ICallbackEventHandler Interface

XMLHttphanlder component

ASP. NET 4.0: this feature is built in this version. The following describes how to execute them.

◆ Client Data Control

◆ Client Template

◆ Client data context

This means that we access data from the client through the client data view or data context object.

Set Meta keywords and Meta descriptions

Meta keywords and descriptions are useful for search engine optimization.

ASP. NET 3.5: this property has two values: True and False"

ASP. NET 4.0: The ViewStateMode attribute uses the enumeration quantity, which has three values: "Enabled", "Disabled", and "Inherit ". The default value of the Child control of the control is "Inherit", that is, inheritance.

Set Client ID

Previously, developers had some headaches when creating ClientID.

◆ ASP. NET 3.5: we have to use the ClientID attribute to find which ID is dynamically generated.

◆ ASP. NET 4.0: introduces the new ClientIDMode attribute to solve problems existing in previous versions. It can be the following values.

◆ AutoID-similar to ASP. NET 3.5;

◆ Static-no independent ClientID is generated during running;

◆ Predictable-it is particularly useful for datacontrols to make the ClientID value format the same as clientIDrowsuffix;

◆ Inherit-This value specifies that the control generates an ID like its parent object, that is, the inheritance we often call.

Source: http://www.dotnetspark.com/kb/1094-main-differences-between-asp-net-35-and.aspx

Original article name: Main Differences between ASP. NET 3.5 and ASP. NET 4.0-Part 1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.