What's New in ASP.NET 2.0? ASP.NET is a programming framework built on the common language runtime that can be used on a server to build powerful Web applications. The first version of ASP.NET offered several important advantages over previous Web development models . ASP.NET 2.0 improves upon that foundation by adding support for several new and exciting features in the areas of developer productivity, administration and management, extensibility, and performance: Developer Productivity ASP.NET 2.0 encapsulates common tasks into building block services or controls that can be easily reused across Web sites. with these basic building blocks, many scenarios can now be implemented with far less custom code than was required in previous versions. The overall goal for ASP.NET 2.0 is to reduce custom application code by as much as 70%.
New Server Controls. ASP.NET 2.0 introduces over 45 new server controls in ASP.NET 2.0 that enable powerful declarative support for data access, login security, wizard navigation, image generation, menus, treeviews, portals, and more. Many of these controls Take Advantage Of Core Application Services in ASP.NET for Scenarios Like Data Access, Membership and Roles, and Personalization. Some of the New Families of Controls in Asp.Net 2.0 Are Described Below.
Data Controls. Data access in ASP.NET 2.0 can be accomplished completely declaratively (no code) using the new data-bound and data source controls. There are new data source controls to represent different data backends such as SQL database, business objects, and XML, and there are new data-bound controls for rendering common UI for data, such as grids, details, and data-bound forms. Navigation Controls. The navigation controls provide common UI for navigating between pages in your site, such as treeviews, menus, and breadcrumbs. These controls use the site navigation service in ASP.NET 2.0 to retrieve the custom structure you have defined for your site. Login Controls. The new login controls provide the building blocks to add authentication and authorization-based UI to your site, such as login forms, create user forms, password retrieval, and custom UI for logged in users or roles. These controls use the built-in membership and role services in ASP.NET 2.0 to interact with the user a nd role information defined for your site. Web Part Controls. Web parts are an exciting new family of controls that enable you to add rich, personalized content and layout to your site, and well as the ability to edit that content and layout directly from your application pages. These controls rely on the personalization services in ASP.NET 2.0 to provide a unique experience for each user in your application. Master Pages. This feature provides the ability to define common structure and interface elements for your site, such as a page Header, Footer, or Navigation Bar, In A Common Location Called A "Master Page"
, To be shared by many pages in your site. This improves the maintainability of your site and avoid unecessary duplication of code for shared site structure or behavior. Themes and Skins. The themes and skins features in ASP.NET 2.0 allow for easy customization of your site's look-and-feel. You can define style information in a common location called a "theme", and apply that style information globally to pages or controls in your site. Like Master Pages, this improves the maintainability of your site and avoid unecessary duplication of code for shared styles. Mobile Device Support. All standard ASP.NET 2.0 controls are now built with a rich UI adapter extensibility architecture that enables rich customization of output for different browsers and devices. All built-in ASP.NET controls with Theprefix Are Now Mobile Enabled in ASP.NET 2.0, Which Allows Developers to Automatical Target More Than 300 Unique Devices That Support a Variety of Different Markup Standards (WAP / WML, XHTML MOB Ile, Chtml, etc). The Standard ASP.NET Controls Will Automatically Send Down The Appropriate Markup for a Browsing Client Device Enabling Web Developers to more Easily Target New Mobile and Client Markets.
Administration and Management ASP.NET 2.0 is designed with administration and manageability in mind. We recognize that while simplifying the development experience is important, deployment and maintenance in a production environment is also a key component of an application's lifetime. ASP.NET 2.0 introduces several NEW FEATURES THAT FURTHER ENHANCE The Deployment, Management, And Operations of Asp.net Servers.
Configuration API. ASP.NET 2.0 contains new configuration management APIs, enabling users to programmatically build programs or scripts that create, read, and update Web.config and machine.config configuration files. ASP.NET MMC Admin Tool. ASP.NET 2.0 provides a new comprehensive admin tool that plugs into the existing IIS Administration MMC, enabling an administrator to graphically read or change any setting within our XML configuration files. Pre-compilation Tool. ASP.NET 2.0 delivers a new application deployment utility that enables both developers and administrators to precompile a dynamic ASP.NET application prior to deployment. This precompilation automatically identifies any compilation issues anywhere within the site, as well as enables ASP.NET applications to be deployed without any source being stored on the server (even the content of. ASPX Files Is Removed As Part of The Compile Phase, Further Protecting Your Intellectual Property. Health Monitoring and Tracing. ASP.NET 2.0 also provides new health-monitoring support to enable administrators to be automatically notified when an application on a server starts to experience problems. New tracing features will enable administrators to capture run-time and request data from a production server to better diagnose issues. ASP .NET 2.0 is delivering features that will enable developers and administrators to simplify the day-to-day management and maintenance of their Web applications. Flexible Extensibility ASP.NET 2.0 is a well-factored and open system, where any component can be easily replaced With A Custom Implementation. WHETHER IT IS Server Controls, Page Handlers, Compilation, Or Core Application Services, You '
Ll Find That All Are Easily Customizable and Replaceable To Tailor to your Needs.
Provider-driven Application Services. ASP.NET 2.0 now includes built-in support for membership (user name / password credential storage) and role management services out of the box. The new personalization service enables quick storage / retrieval of user settings and preferences, facilitating rich customization with minimal code. The new site navigation system enables developers to quickly build link structures consistently across a site. The site counters service enables rich logging and instrumentation of client browser access patterns. Because all of these services are provider-driven, they can be easily swapped out and replaced with your own custom implementation. Server Control Extensibility. ASP.NET 2.0 includes improved support for control extensibility, such as more base classes that encapsulate common behaviors, improved designer support, more APIs for interacting with client-side Script, Metadata-Driven Support for New Features Like Themes and Accessibility Verification, Better state management, and more. Data Source Controls. Data access in ASP.NET 2.0 is now performed declaratively using data source controls on a page. In this model, support for new data backend storage providers can be easily added by implementing custom data source controls . Additionally, the SqlDataSource control that ships in the box has built-in support for any ADO.NET managed provider that implements the new provider factory model in ADO.NET. Compilation Build Providers. Dynamic compilation in ASP.NET 2.0 is now handled by EXTENSIBLE COMPILATE A HANDLER That Knows How To Compile That Extension Dynamically at runtime.
For example, .resx files can be dynamically compiled to resources, .wsdl files to web service proxies, and .xsd files to typed DataSet objects. In addition to the built-in support, it is easy to add support for additional extensions by implementing a custom build provider and registering it in Web.config. Expression handlers. ASP.NET 2.0 introduces a declarative new syntax for referencing code to substitute values into the page, called Expression handlers. ASP.NET 2.0 includes expression handlers for referencing string resources for localization, connection strings, application settings, and profile values. You can also write your own expression handlers to create your own custom syntax to substitute values in a page rendering. Performance and Scalability ASP.NET is built to perform, using a compiled execution model For Handling Page Requests and Running On The World's Fastest Web Server, Internet Information Services. ASP.NET 2.0 Also Introduces Key Performance Benefits over Previous Versions.