ASP.Net 3.5和4.0之间的区别

时间:2020-12-30 02:01:26

What are some key Difference between ASP.Net 3.5 and 4.0

ASP.Net 3.5和4.0之间的关键区别是什么?

3 个解决方案

#1


2  

Read the whitepaper of what's new in ASP.NET 4.0: http://www.asp.net/learn/whitepapers/aspnet4.

阅读ASP.NET 4.0中新增内容的白皮书:http://www.asp.net/learn/whitepapers/aspnet4。

#2


1  

Here are a few from a quick search on Google:

以下是Google快速搜索的一些内容:

1) Client Data access:

1)客户数据访问:

ASP.NET 3.5: There is no direct method to access data from client side. We can go for any of these methods ASP.NET 4.0: In this framework there is an inbuilt feature for this. Following are the methods to implement them.

ASP.NET 3.5:没有直接的方法来从客户端访问数据。我们可以使用ASP.NET 4.0中的任何一种方法:在这个框架中有一个内置的功能。以下是实现它们的方法。

2) Setting Meta keyword and Meta description:

2)设置Meta关键字和Meta描述:

Meta keywords and description are really useful for getting listed in search engine.

元关键字和描述对于在搜索引擎中列出非常有用。

ASP.NET 3.5: It has a feature to add meta as following tag ASP.NET 4.0: Here we can add the keywords and description in Page directives itself as shown below.

ASP.NET 3.5:它有一个功能,可以将meta添加为以下标记ASP.NET 4.0:这里我们可以在Page指令本身中添加关键字和描述,如下所示。

3) Enableviewstage property for each control

3)每个控件的Enableviewstage属性

ASP.NET 3.5: this property has two values “True” or “false”

ASP.NET 3.5:此属性有两个值“True”或“false”

ASP.NET 4.0: ViewStateMode property takes an enumeration that has three values: Enabled, Disabled, and Inherit.

ASP.NET 4.0:ViewStateMode属性采用具有三个值的枚举:Enabled,Disabled和Inherit。

4) Setting Client IDs

4)设置客户端ID

Some times ClientID property creates head ach for the programmers.

有时ClientID属性为程序员创建头部ach。

ASP.NET 3.5: We have to use ClientID property to find out the id which is dynamically generated ASP.NET 4.0: The new ClientIDMode property is introduced to minimize the issues of earlier versions of ASP.NET.

ASP.NET 3.5:我们必须使用ClientID属性来查找动态生成的id ASP.NET 4.0:引入新的ClientIDMode属性以最小化早期版本的ASP.NET的问题。

SOURCE: http://www.dotnetspider.com/resources/34755-Main-Differences-between-ASP-NET-ASP-NET.aspx

消息来源:http://www.dotnetspider.com/resources/34755-Main-Differences-between-ASP-NET-ASP-NET.aspx

#3


0  

1) Chart Controls are integrated

1)图表控件是集成的

2) PermanentRedirect()- It removes round trips.

2)PermanentRedirect() - 它删除往返。

3) MVC,WCF tepmplates integrated.

3)MVC,WCF tepmplates集成。

#1


2  

Read the whitepaper of what's new in ASP.NET 4.0: http://www.asp.net/learn/whitepapers/aspnet4.

阅读ASP.NET 4.0中新增内容的白皮书:http://www.asp.net/learn/whitepapers/aspnet4。

#2


1  

Here are a few from a quick search on Google:

以下是Google快速搜索的一些内容:

1) Client Data access:

1)客户数据访问:

ASP.NET 3.5: There is no direct method to access data from client side. We can go for any of these methods ASP.NET 4.0: In this framework there is an inbuilt feature for this. Following are the methods to implement them.

ASP.NET 3.5:没有直接的方法来从客户端访问数据。我们可以使用ASP.NET 4.0中的任何一种方法:在这个框架中有一个内置的功能。以下是实现它们的方法。

2) Setting Meta keyword and Meta description:

2)设置Meta关键字和Meta描述:

Meta keywords and description are really useful for getting listed in search engine.

元关键字和描述对于在搜索引擎中列出非常有用。

ASP.NET 3.5: It has a feature to add meta as following tag ASP.NET 4.0: Here we can add the keywords and description in Page directives itself as shown below.

ASP.NET 3.5:它有一个功能,可以将meta添加为以下标记ASP.NET 4.0:这里我们可以在Page指令本身中添加关键字和描述,如下所示。

3) Enableviewstage property for each control

3)每个控件的Enableviewstage属性

ASP.NET 3.5: this property has two values “True” or “false”

ASP.NET 3.5:此属性有两个值“True”或“false”

ASP.NET 4.0: ViewStateMode property takes an enumeration that has three values: Enabled, Disabled, and Inherit.

ASP.NET 4.0:ViewStateMode属性采用具有三个值的枚举:Enabled,Disabled和Inherit。

4) Setting Client IDs

4)设置客户端ID

Some times ClientID property creates head ach for the programmers.

有时ClientID属性为程序员创建头部ach。

ASP.NET 3.5: We have to use ClientID property to find out the id which is dynamically generated ASP.NET 4.0: The new ClientIDMode property is introduced to minimize the issues of earlier versions of ASP.NET.

ASP.NET 3.5:我们必须使用ClientID属性来查找动态生成的id ASP.NET 4.0:引入新的ClientIDMode属性以最小化早期版本的ASP.NET的问题。

SOURCE: http://www.dotnetspider.com/resources/34755-Main-Differences-between-ASP-NET-ASP-NET.aspx

消息来源:http://www.dotnetspider.com/resources/34755-Main-Differences-between-ASP-NET-ASP-NET.aspx

#3


0  

1) Chart Controls are integrated

1)图表控件是集成的

2) PermanentRedirect()- It removes round trips.

2)PermanentRedirect() - 它删除往返。

3) MVC,WCF tepmplates integrated.

3)MVC,WCF tepmplates集成。