Wiley ASP.NET 2.0 MVP Hacks and Tips 978-0-7645-9766-4 Benutzerhandbuch

Produktcode
978-0-7645-9766-4
Seite von 24
Hacks Revisited
Hacks exist in an ever-changing world. One day they are the cutting-edge, clever inventions of a
developer with a need. Another day in the future, they can become mainstream code or practices
that are integrated into a product or process. The mark of a successful hack is that one day it will
become the norm.
This chapter is all about hacks that have become successful. We revisit ASP.NET v1.1 to look at a
group of hacks that received much attention. They became so useful that Microsoft felt compelled
to add support for them in ASP.NET v2.0. Rather than redo hacks that have already been invented,
this chapter highlights the pioneers and their work that influenced Microsoft to add support in
ASP.NET v2.0. For those of you making the move to ASP.NET 2.0, you’ll learn how these hacks
have been integrated into the .NET Framework and related Visual Studio 2005 support. Seeing
how previous hacks have positively influenced the current version of ASP.NET can give you and
others a greater appreciation for hacks, and provide motivation for new hacks that will have a pos-
itive influence on future versions of ASP.NET.
Wizards Hacks Replaced by ASP.NET 2.0
Wizards are user interface tools for gently guiding users through a process. This discussion refers to
wizards that you add to your applications. Developers have used them for many years, from instal-
lation programs to simplifying complex activities through a series of steps. They’ve traditionally
been a normal part of client desktop applications, but have surfaced as hacks in Web applications.
ASP.NET Wizard Pioneers
An early ASP.NET v1.1, a wizard hack by John Peterson was published as a sample on ASP101.com
(
asp101.com/samples/wizard_aspx.asp)
titled “ASP.NET version of Wizard (Multi-Page Form).”
This was an update from a previous implementation for classic ASP 3.0. After support for ASP.NET
2.0 wizards was announced, Tom Blanchard wrote the article “CodeSnip: Simulating the ASP.NET 2.0
Wizard Control with ASP.NET 1.x.” at 
123aspx.com/redir.aspx?res=32798
. Another pre-existing
04_597663 ch01.qxp  4/25/06  9:54 PM  Page 1
COPYRIGHTED MATERIAL