ASP. NET 2.0 Illustrated
Authors: Homer A. Sussman D.
Published year: 2006
Pages: 16-19/147
Buy this book on amazon.com >>


Upgrading and Deploying Applications

The default installation of Visual Studio 2005 supports a different model than that supported in the previous version because it no longer uses a project system. A folder-based approach is used instead, where a Web project consists solely of the files in a folder. This has caused some problems with upgrading existing applications, so the migration wizard has been updated and is available as a separate download. Also available as add-ons to Visual Studio are Web Application projects, which bring back the project-based approach, making migration of projects easier to manage.

Deployment is also eased by another add-on, Web Deployment Projects. This add-on allows more control over the compilation and deployment process, such as the ability to have different configuration files for development and deployment.

All three of these don't change the base framework, and are simply addons for Visual Studio 2005. You can obtain them from http://www.asp.net/.



Installing the Samples

The samples used throughout this book are running live at the Dave and Al Web site, at http://daveandal.net/, where you'll also find a downloadable copy. There is also a full Read Me file detailing the steps required for installation available on the site.



Summary

There are many changes within ASP.NET 2.0too many to mention in this introduction, although some highlights were covered. You can seeeven from just this quick overviewthat there are a large number of great features that ease the development process.

The remainder of the book covers these changes (including items such as changes to existing controls, changes to page attributes, new controls, and so on) in detail.



2. Is It Really This Easy?

In the previous chapter, you saw how ASP.NET 2.0 contains a raft of new features that reduce the code you need to write and save you time and effort when building dynamic and interactive Web pages and applications. To further illustrate this, and so that you get a better feel for the way all these features combine to provide the overall ASP.NET 2.0 development experience, this chapter presents a scenario-based demonstration focused on a day in the life of a developer who is in the process of fulfilling the requirements of a fictional customer.

Although this may seem a contrived approach, it actually follows the general process of evolving your applications to meet the needs of the users. More than that, it shows you how all the various features in ASP.NET 2.0 fit together and interact to give you improved productivity and a simpler development process. Along the way, you will see the process steps required for:

  • Using a data source control and GridView to display data

  • Enabling sorting and paging for the rows

  • Providing a row editing feature

  • Adding filtering to select specific sets of rows

  • Displaying single rows in a form for editing

  • Working with data exposed through a business object

  • Caching the data to reduce database access

  • Using a master page to give a consistent look and feel

  • Adding a menu and other navigation features

By the end of this chapter, you will have a good understanding of the main features in ASP.NET 2.0 that make your life as a developer much easier.


ASP. NET 2.0 Illustrated
Authors: Homer A. Sussman D.
Published year: 2006
Pages: 16-19/147
Buy this book on amazon.com >>