Cover image for Sams teach yourself ASP.NET 4 in 24 hours complete starter kit
Title:
Sams teach yourself ASP.NET 4 in 24 hours complete starter kit
Personal Author:
Series:
Sams teach yourself in 24 hours

Sams teach yourself in 24 hours series
Publication Information:
Indianapolis, Ind. : Sams Pub., c2010
Physical Description:
1 DVD-ROM ; 12 cm.
ISBN:
9780672333057
General Note:
Accompanies text entitled : Sams teach yourself ASP.NET 4 in 24 hours complete starter kit (TK5105.8885.A26M58 2010)
Title Subject:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010267232 CP 027953 Computer File Accompanies Open Access Book Compact Disc Accompanies Open Access Book
Searching...

On Order

Summary

Summary

DVD includes Visual Web Developer 2010 Express and ASP.NET 4

 

In just 24 sessions of one hour or less, you'll learn how to build complete, professional-quality web solutions with ASP.NET 4 and Microsoft Visual Web Developer 2010. Using this book's straightforward, step-by-step approach, you'll master the entire process, from site design through data collection, user management through debugging and deployment. Scott Mitchell, editor of top ASP.NET resource site 4GuysFromRolla.com, shows how to use the newest ASP.NET 4 enhancements and make the most of free tools like ASP.NET Ajax and Microsoft SQL Server 2008 Express Edition. Each lesson builds on what you've already learned, giving you a strong, practical foundation for success!

 

Step-by-step instructions carefully walk you through the most common ASP.NET 4 development tasks.

 

Quizzes and Exercises at the end of each chapter help you test your knowledge.

 

By the Way , Did You Know? , and Watch Out! boxes point out shortcuts and solutions.

 

Learn how to...

Get started fast with ASP.NET 4 and Visual Web Developer 2010 Use Visual Web Developer 2010 to quickly build professional-quality ASP.NET websites Design, create, and test ASP.NET web pages Collect, process, and validate input from your site's visitors Build a website that supports user accounts Create web pages that access, display, and edit database data using Microsoft SQL Server 2008 Express Edition Define site maps to provide efficient, easy navigation Use master pages to build more consistent and well-designed sites Create more responsive and interactive web pages with ASP.NET Ajax Host, upload, deploy, and update production web sites  

 


Author Notes

Scott Mitchell is founder, editor, and main contributor of 4GuysFromRolla.com, a popular ASP.NET resource website. Scott has authored thousands of articles and tutorials on Microsoft web technologies. In addition to his vast collection of online articles, Scott has written seven previous books on ASP and ASP.NET: Sams Teach Yourself Active Server Pages 3.0 in 21 Days (Sams); Designing Active Server Pages (O'Reilly); ASP.NET: Tips, Tutorials, and Code (Sams); ASP.NET Data Web Controls Kick Start (Sams); Teach Yourself ASP.NET in 24 Hours (Sams); Teach Yourself ASP.NET 2.0 in 24 Hours (Sams); and Teach Yourself ASP.NET 3.5 in 24 Hours (Sams).

Scott regularly speaks at ASP.NET user groups and conferences across the country and teaches classes on ASP.NET and related web technologies at the University of California-San Diego University Extension. Scott also works as an independent software developer. Scott can be reached at mitchell@4GuysFromRolla.com; his blog is available at www.ScottOnWriting.NET.


Table of Contents

Introductionp. 1
Part I Getting Started with ASP.NETp. 4
Hour 1 Getting Started with ASP.NET 4p. 7
What Is ASP.NET?p. 8
Installing the .NET Framework, Visual Web Developer, and SQL Server 2008p. 14
A Brief Tour of Visual Web Developerp. 16
Q&Ap. 23
Workshopp. 24
Hour 2 Understanding the ASP.NET Programming Modelp. 25
Examining the HTML Portion of an ASP.NET Pagep. 25
Examining the Source Code Portion of an ASP.NET Pagep. 44
Q&Ap. 53
Workshopp. 53
Hour 3 Using Visual Web Developerp. 57
Creating a New Websitep. 58
Opening Existing Websitesp. 60
Working with Web Pages and Other Contentp. 61
Customizing the Visual Web Developer Experiencep. 65
Viewing, Moving, and Resizing Windowsp. 68
A World of Help at Your Fingertipsp. 69
Q&Ap. 70
Workshopp. 71
Hour 4 Designing, Creating, and Testing ASP.NET Pagesp. 73
Specifying the Design Requirementsp. 73
Creating the User Interfacep. 76
Writing the Source Code for the ASP.NET Pagep. 82
Testing the Financial Calculatorp. 86
Examining the Source Codep. 92
Using the Debuggerp. 93
Q&Ap. 97
Workshopp. 98
Hour 5 Understanding Visual Basic's Variables and Operatorsp. 101
The Purpose of Programming Languagesp. 102
Declaring and Using Variablesp. 103
Examining Visual Basic's Operatorsp. 110
Learning Visual Basic's Type Rulesp. 116
Q&Ap. 118
Workshopp. 118
Hour 6 Managing Program Flow with Visual Basic's Control Structuresp. 121
Understanding Control Structuresp. 122
Exploring the Conditional Control Structurep. 123
Working with Visual Basic's Looping Control Structuresp. 128
Exploring the Modularizing Control Structures: Subroutines and Functionsp. 131
Q&Ap. 142
Workshopp. 144
Hour 7 Working with Objects in Visual Basicp. 147
Reexamining the Role of Classes and Objectsp. 148
Creating an Objectp. 150
Setting an Object's Propertiesp. 151
Calling an Object's Methodsp. 152
Creating Event Handlers for an Object's Eventsp. 153
Q&Ap. 155
Workshopp. 155
Hour 8 ASP.NET Web Controls for Displaying Textp. 157
Examining the Web Controls Designed for Displaying Textp. 157
Using the Literal Web Controlp. 158
Using the Label Web Controlp. 163
Q&Ap. 172
Workshopp. 173
Part II Collecting and Processing User Input
Hour 9 Web Form Basicsp. 179
Gathering User Input in an HTML Web Pagep. 180
Dissecting ASP.NET Web Formsp. 186
Q&Ap. 198
Workshopp. 199
Hour 10 Using Text Boxes to Collect Inputp. 201
Learning About the TextBox Web Control Basicsp. 202
Creating Multiline and Password Text Boxesp. 205
Examining the TextBox Web Control's Propertiesp. 211
Q&Ap. 216
Workshopp. 218
Hour 11 Collecting Input Using Drop-Down Lists, Radio Buttons, and Check Boxesp. 221
Examining the Different Types of User Input Classificationsp. 222
Examining the DropDownList Web Controlp. 224
Selecting One Option from a List of Suitable Choices with RadioButton Web Controlsp. 233
Using the CheckBox Web Controlp. 238
Q&Ap. 243
Workshopp. 244
Hour 12 Validating User Input with Validation Controlsp. 247
Examining the Need for User Input Validationp. 248
Validating User Input in an ASP.NET Pagep. 250
Examining the RequiredFieldValidator Validation Controlp. 253
Examining the CompareValidatorp. 261
Using the RangeValidatorp. 268
Validating Input with the RegularExpressionValidatorp. 269
Formatting Properties for the Validation Web Controlsp. 272
A Look at the Remaining Validation Controlsp. 274
Q&Ap. 276
Workshopp. 277
Part III Working with Databases
Hour 13 Introducing Databasesp. 283
Examining Database Fundamentalsp. 284
Storing Structured Datap. 285
Creating a New Databasep. 290
Creating Database Tablesp. 292
Adding Data to the Books Tablep. 298
Q&Ap. 302
Workshopp. 303
Hour 14 Accessing Data with the Data Source Web Controlsp. 305
Examining the Data Source Controlsp. 306
A Look at SQL, the Language of Databasesp. 314
Delving into the SQL SELECT Statementp. 314
Filtering and Sorting Data from the SqlDataSource Control's Wizardp. 323
Q&Ap. 330
Workshopp. 331
Hour 15 Displaying Data with the Data Web Controlsp. 333
An Overview of Data Web Controlsp. 333
Displaying Data with the GridView Controlp. 337
Showing One Record at a Time with the DetailsViewp. 347
Paging and Sorting with the GridViewp. 351
Q&Ap. 356
Workshopp. 357
Hour 16 Deleting, Inserting, and Editing Datap. 359
Updating, Deleting, and Inserting Data with the SqlDataSourcep. 360
Looking at the Data-Modification SQL Statementsp. 363
Editing and Deleting Data with the GridViewp. 366
Inserting Data with the DetailsViewp. 385
Q&Ap. 388
Workshopp. 388
Hour 17 Working with Data-Bound DropDownLists, RadioButtons, and CheckBoxesp. 393
An Overview of the List Web Controlsp. 394
Filtering Results Using the DropDownListp. 401
Collecting User Input with CheckBoxLists and RadioButtonListsp. 406
Q&Ap. 412
Workshopp. 412
Hour 18 Exploring Data Binding and Other Data-Related Topicsp. 415
Looking at the GridView and DetailsView's Fieldsp. 416
Using Wildcards in a WHERE Filter Expressionp. 426
An Examination of Data Bindingp. 429
Q&Ap. 436
Workshopp. 438
Hour 19 Using Templated Data Web Controlsp. 441
Displaying Data Using the ListView Controlp. 442
Paging and Sorting the ListView's Datap. 450
Displaying One Record at a Time with the FormView Controlp. 456
Q&Ap. 463
Workshopp. 464
Part IV Site Navigation, User Management, Page Layout, Ajax, and Deployment
Hour 20 Defining a Site Map and Providing Site Navigationp. 469
An Overview of ASP.NET's Site-Navigation Featuresp. 470
Defining the Website's Structure Using a Site Mapp. 471
Displaying a Breadcrumb with the SiteMapPath Controlp. 476
Showing the Entire Site Structurep. 481
Q&Ap. 492
Workshopp. 493
Hour 21 Using Master Pages to Provide Sitewide Page Templatesp. 495
An Overview of Master Pagesp. 496
Creating a Master Pagep. 500
Creating a Content Pagep. 507
Providing Default Content in a Master Pagep. 510
Working with a Master Page's Source Code Portionp. 513
Q&Ap. 517
Workshopp. 517
Hour 22 Managing Your Site's Usersp. 521
An Overview of User Accounts in ASP.NETp. 522
Allowing Visitors to Create New User Accountsp. 533
Signing In to the Website with the Login Controlp. 541
Displaying Content Based on Authentication Statusp. 545
Examining the ASP.NET Web Site Templatep. 547
Q&Ap. 550
Workshopp. 551
Hour 23 Building More Responsive Web Pages with ASP.NET Ajaxp. 555
An Overview of Ajaxp. 556
Using the ASP.NET Ajax Libraryp. 558
Q&Ap. 568
Workshopp. 569
Hour 24 Deploying Your Websitep. 573
Choosing a Web-Hosting Companyp. 574
Visiting the Remote Websitep. 590
Q&Ap. 592
Workshopp. 593
Indexp. 595