Datasheet
Alternatively, if you have IIS installed make the OnlineDiary directory you copied over a virtual direc-
tory and then simply browse to SignOn.aspx.
To find out how to modify the Online Diary application, visit
www.wrox.com and download this chapter’s
code, or you can grab it from the companion CD-ROM in the back of the book.
Summary
In this chapter you’ve seen how to create a fully functioning diary and contacts management system, all
with only a little code thanks to ASP.NET 2.0’s new controls and functionality. The new security controls
in particular help save a lot of time and coding. In this chapter they’ve been used to create users and
login control. However, they can also help provide a lot more functionality like creating different types
of user roles, which then allows you to specify what users can and cannot do based on their role. Or you
can let users determine the look and feel of their pages using their account details and ASP.NET 2.0’s
new login and role controls.
Another great control you discovered in this chapter is the
ObjectDataSource control. In the past data
source controls have made life nice and easy. But they were quick and dirty, which meant poor code
design, and you had to wave goodbye to a three-tier architecture. Now with the
ObjectDataSource
control you can have quick and dirty and three-tier architecture — great news for creating easily main-
tainable, well-designed projects.
In the next chapter you will be creating a file sharing project and learning some more about ASP.NET 2.0’s
great new features.
35
The Online Diary and Organizer
04_749516 ch01.qxp 2/10/06 9:11 PM Page 35