Share via


ASP.NET 2.0中的一些新特性

Master Page – 这个其实在很早以前就已经看到了,只是当时没有在Whidbey上跑成功。Master Page就是一个模版,给人的感觉是以后ASP.NET中的开发就像使用FrontPage来编辑页面一样,会越来越简单。

这里有一篇不错的文章,可以看看:

Master Pages in ASP.NET 2.0

https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/masterpages.asp

当然,我最喜欢的,还是下面一篇文章:

ASP.NET 2.0 Internals

https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/internals.asp

在这里,可以看到ASP.NET 2.0的一些很有趣的新特性:

Code-behind 模式的改变

页面的Compilation模式的改进

新的Event和Post-back到其他页面上

新的Cache模式

……

在网上,还发现了一篇文章,介绍了对ASP.NET 2.0产品的测试。很详细,也提到了微软自己的测试方式。感觉在国内,测试一直是被大家忽视的一块内容。感兴趣的可以看看:

Testing ASP.NET 2.0 and Visual Web Developer

https://weblogs.asp.net/scottgu/archive/2004/10/28/249458.aspx