今天浏览 Federal Developer Weblog 时候,无意中发现了 .NET Pet Shop 4,
MSDN链接:.NET Pet Shop 4: Migrating an ASP.NET 1.1 Application to 2.0
大概浏览了一下:.NET Pet Shop 4 充分发挥了ASP.NET 2.0的新特性,包括Master Pages、Theme、Membership和Profile,表现层的代码量大约减少了25%(以前不是宣称2.0可以减少75%???),使用了新的的Data Provider模式,数据层的代码量减少了36%,利用Project Conversion Wizard(这个工具目前还没研究过)进行版本升级移植,其中比较显著的改动包括:
System.Transactions instead of Serviced Components.
Generics for strongly typed collections instead of loosely typed ILists.
ASP.NET 2.0 Membership for user authentication and authorization.
Custom ASP.NET 2.0 Membership Provider for Oracle 10g.
ASP.NET 2.0 Custom Oracle and SQL Server Profile Providers for user state management.
Master Pages for consistent look and feel versus ASP.NET Web User Controls.
ASP.NET 2.0 Wizard control.
Database level cache invalidation using SqlCacheDependency instead of timeout based.
Enabling Asynchronous Order Processing built on message queuing.
先记之,漫漫研究。