ASP.NET 4.0改进了许多不同的场景集(set of scenarios),如Webforms ,Dynamic Data以及基于AJAX的Web开发。此外还有许多对支撑ASP.NET的核心运行时环境的改进,比如Caching, Session,还有Request/Response对象。虽然现在MVC是非常流行的,Web Form作为ASP.NET的传统,在企业应用开发中Web Form采用更普遍,Employee Info Starter Kit 虽然简单,数据库只有一个表Employee, 麻雀虽小,五脏俱全,是初学者的好例子,可以从下载 项目的网站,也可以从MSDN Code Gallery 和CodePlex下载。例子演示的Visual Studio 2010和.NET 4的技术如下:
.NET Framework Components
- .NET 4.0 Entity Framework
- .NET 4.0 Optional/Named Parameters
- .NET 4.0 Tuple
- .NET 3.0+ Extension Method
- .NET 3.0+ Lambda Expressions
- .NET 3.0+ Anonymous Type
- .NET 3.0+ Query Expressions
- .NET 3.0+ Automatically Implemented Properties
- .NET 3.0+ LINQ
- .NET 2.0 + Partial Classes
- .NET 2.0+ Generic Type
- .NET 2.0+ Nullable Type
-
ASP.NET 3.5+ List View (TBD)
- ASP.NET 3.5+ Data Pager (TBD)
- ASP.NET 2.0+ Grid View
- ASP.NET 2.0+ Form View
- ASP.NET 2.0+ Skin
- ASP.NET 2.0+ Theme
- ASP.NET 2.0+ Master Page
- ASP.NET 2.0+ Object Data Source
- ASP.NET 1.0+ Role Based Security
Visual Studio Features
- Visual Studio 2010 CodedUI Test
- Visual Studio 2010 Layer Diagram
- Visual Studio 2010 Sequence Diagram
- Visual Studio 2010 Directed Graph
- Visual Studio 2005+ Database Unit Test
- Visual Studio 2005+ Unit Test
- Visual Studio 2005+ Web Test
- Visual Studio 2005+ Load Test
Sql Server Features
- Sql Server 2005 Stored Procedure
- Sql Server 2005 Xml type
- Sql Server 2005 Paging support