I have just read an msdn article. This article describes how to port the existing Asp.net 1. x web application to Asp.net 2.0 to make full use of the features of Asp.net 2.0.
Specific reference:
Http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnaspp/html/retries tv1_asp
Here we will briefly list the new features and features of Asp.net 2.0 mentioned in the article:
In general, Asp.net 2.0 introduces new architecture ideas, provides more and stronger controls, and enhances the data bonding function, built-in functions of user logon and authentication and user configuration information management are provided, and the concept of page templates is introduced. the following describes how:
1. the provider model is provided in Asp.net 2.0. with support for this mode, you can customize the implementation of functional interfaces, which makes the developed applications more suitable for specific situations and flexible scalability. by packaging the interfaces provided by the previous code into a m provider, You can reuse existing code and logic functions, and make full use of the new features brought by Asp.net 2.0. in Asp.net 2.0, the provider mode is fully supported, including user authentication, user information configuration, site navigation management, and data binding. The provider mode is also supported.
2. to improve the efficiency of developing large Web applications, Microsoft has introduced a new technology, master pages, or page template. (If you have used Macromedia Dreamweaver, you must be familiar with the concept of Web Page Templates ). by defining master pages, you can easily create and maintain a large number of similar web pages, you can use the master page to unify the appearance of all the content pages that reference the master page (the pages that reference the master page are called content pages). When you update the master page, all content pages are updated synchronously. A master page can be applied to any directory and any web page. visual Studio 2005 provides visual support for WYSIWYG on Master page and content page. in fact, Asp.net rutime 2.0 combines the master page and content page when running, and dynamically creates a new page object to respond to the request.
3. Asp.net will provide Web parts framework (WPF), through which you can implement similar functions that provide prompt information for different users in Sharepoint.
4. A large number of new Web controls: used for login and security verification, data source and data display, data binding, information prompts, website navigation, and so on .. themes is introduced, and CSS and control skin technologies are used to set the actual style and interface themes of the entire website. dataview, the substitution of DataGrid, is released in Asp.net, which makes it easier to sort and display data by page. It also supports bidirectional bonding and supports select, insert, delete, update, such as sort and count. similar controls include Treeview, formview, and detailsview. in addition, the Treeview and menu controls also support binding with site navigation.
5. enhanced the data bonding function. Previously, data bonding was generally unidirectional read-only and only supported for data sources that implement the ienumerable interface. In Asp.net, the bonding function is bidirectional by default, in addition, it provides various types of data, including relational data, XML data, and even memory. net object bonding, through the implementation of their own performanceprovider can also achieve more flexible data bonding.
6. asp.net 2.0 has enhanced the cache dependency mechanism. In the past, it only supported simple timeout and cache item dependency. Now Asp.net 2.0 allows you to set custom dependency, for example, it can detect that cache failure occurs when a data record in the database is changed or deleted.
7. in Asp.net 2.0, you can easily read and write xml configuration files (of course, you must have some permissions ). it also supports encryption of any XML block. improves the security of configuration information.
8. In addition, Asp.net also has built-in Site statistics functions such as site technicians. It is really thoughtful to think about it :)
ASP. NET 2.0 based on. net Framework 2.0. At the underlying layer, it naturally supports all new features of Framework 2.0, such as generic (generics), distributed class definition (partial classes), and ADO. NET 2.0.
Read the above ASP. so many exciting new features and features provided by NET 2.0 really applaud Microsoft and hope these features can bring convenience to our developers. NET 2.0 official release!