Skip to main content

ASP.NET 3.5 For Dummies

ASP.NET 3.5 For Dummies

Ken Cox

ISBN: 978-1-118-05217-4

Feb 2011

436 pages

$20.99

Description

Did you volunteer to create a Web site for the softball team? Is it time to take your small business to the next level and let your customers shop online? Well, you can relax! ASP.NET 3.5 makes creating a dynamic site faster and cleaner than ever before, and ASP.NET 3.5 For Dummies makes it easier.

First, you’ll get an introduction to all the tools and terminology you need to understand ASP.NET. If you’ve used earlier versions of ASP.NET and Visual Web Developer, you can probably skip that part and jump right into what’s new in 3.5. You'll make friends with LINQ and SQL, create sites in Visual Web Developer 2008 Express, and much more. Before you know it, you’ll discover how to:

  • Integrate data, track shopping cart contents, and whisk away bugs
  • Create user interfaces with easy navigation
  • Use the ListView control for sophisticated formatting
  • Write LINQ queries
  • Add a table to a database
  • Create an event handler
  • Take advantage of the drag 'n' drop feature that lets you write less code
  • Put all the features to work to develop dynamic Web applications

The softball team is going to love that Web site, and your customers might enjoy shopping on your site so much that you’ll have to expand your business to fill all the orders! We can’t promise that, of course, but we’re pretty sure that ASP.NET 3.5 For Dummies will make creating Web sites easier and a lot more fun.

Introduction 1

Part I: Getting to Know ASP.NET and

Visual Web Developer 7

Chapter 1: Understanding Microsoft’s Web Technologies 9

Chapter 2: Getting Up and Running  21

Chapter 3: Creating a Useful ASP.NET Site 37

Chapter 4: Managing Data and Other CRUD 47

Chapter 5: Handling User Input and Events 61

Part II: Immersing Yourself in Data 75

Chapter 6: Fetching and Presenting Data with SqlDataSource 77

Chapter 7: LINQ as a Data Language 99

Chapter 8: Using LINQ to SQL and the LinqDataSource 121

Chapter 9: Creating and Consuming Diverse Data 143

Part III: Enhancing the Interface and

User Experience 163

Chapter 10: Common Elements: Style Sheets, Master Pages, and Skins 165

Chapter 11: Adding Navigation with TreeView, Menu,

Breadcrumb, and SiteMap .179

Chapter 12: Web Standards, Page Layout, and Usability  193

Chapter 13: Designing the ListView and Other Templated Controls .207

Chapter 14: Dynamic Effects, Images, and Rollovers 223

Chapter 15: Enhancing Pages with the AJAX Control Toolkit 239

Chapter 16: Creating and Displaying Rich Content 255

Part IV: Tracking Users, Controlling Access,

and Implementing Security 271

Chapter 17: Site Security Using Authentication and Membership 273

Chapter 18: Creating a Shopping Cart with Profiles 291

Chapter 19: Validation in Depth 315

COPYRIGHTED MATERIAL

Part V: Getting the Bugs Out and

Handling Runtime Errors   331

Chapter 20: Debugging and Tracing Pages 333

Chapter 21: Avoiding Crashes by Handling Exceptions 349

Chapter 22: Ten Tips on Deploying Your Web Application 365

Chapter 23: Ten Tips to Success with ASP.NET 379

Index 385

Source Code

Each downloadable archive (.zip) file contains the code, assemblies, style sheets, images, and database (including Northwnd.mdf and JulieDVD.mdf) used in the corresponding chapter. Be sure to retain the folder names when you extract the files to your local drive.

After extracting the files, open the file-based Web site in Visual Web Developer 2008 (Express) by choosing File-->Open Web Site-->File System-->(select the file folder such as c:\CH07\) -->Open. You can usually run the pages from within VWD by pressing Ctrl+F5.

If you find the archive files too large, or prefer to view the code by page number, visit the author's support site at http://www.kencox.ca/sourcecode.aspx.

Obtaining Support, Updates, and Errata
The author, Ken Cox, provides support for the book's content to registered users at http://www.kencox.ca/.

If you have questions about ASP.NET 3.5 programming in general (or need help with your homework!), please visit Microsoft's forums at http://forums.asp.net/.

Download
Chapter 3
Download
Chapter 4
Download
Chapter 5
Download
Chapter 6
Download
Chapter 7
Download
Chapter 8
Download
Chapter 9
Download
Chapter 10
Download
Chapter 11
Download
Chapter 12
Download
Chapter 13
Download
Chapter 14
Download
Chapter 15
Download
Chapter 16
Download
Chapter 17
Download
Chapter 18
Download
Chapter 19
Download
Chapter 20
Download
Chapter 21
Download
Chapter 22
Download