Print Search
帖子排序:    
帖子发起人: dcding   发起时间: 2005-08-26 17:13 下午   回复: 0
dcding 离线,最后访问时间: 2006-11-7 13:48:14 dcding

发帖数前10位
注册: 2005-07-23
发 贴: 279
Major Changes in Web Development from Whidbey Beta 2 to RTM
 2005-08-26, 17:13 下午

This news is from TheServerSide.net.

MSDN has published a document outlining the major changes to the programming model and APIs used by developers working in ASP.NET between Beta 2 and the final RTM. Changes include disabled controls no longer raising events, the ability to exclude files from builds, and the removal of disk based caching.

The changes are grouped into several categories such as Migration and Compilation, Standards, Security, IDE and Project System, etc. Of significant note are changes in how derived classes are handled as well as how file names are generated.

Beta 2 Behavior
If a page is derived from another base page class and the base class contained control definitions or event handlers, when ASP.NET generated a page class dynamically, it was not able to see existing definitions in the base class and would potentially hide members in the base class.

RTM Behavior
The @ Page and @ Control directives now support the new attribute CodeFileBaseClass. These attribute allow you to specify the grandparent class for a page. The attribute values can be fully qualified. The compiler uses the information in this attribute during class generation to get a reference to the page's base type and to generate code that does not hide definitions in the base type.

View Major Changes for Visual Web Developer 2005 and ASP.NET 2.0 from Whidbey Beta 2 to RTM
IP 地址: 已记录   报告
合肥微软技术中心社区 » 技术讨论区 » .NET 2.0相关 » Major Changes in Web Development from Whidbey Beta 2 to RTM

Powered by Community Server Powered by CnForums.Net