Product Overview
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition
Table Of Contents
- Here’s a look at the table of contents:
- Preface
- Who Should Read This Book?
- What’s in This Book?
- The Book’s Web Site
- The Code Archive
- Updates and Errata
- The SitePoint Forums
- The SitePoint Newsletters
- Your Feedback
- Conventions Used in This Book
- Code Samples
- Tips, Notes, and Warnings
- Acknowledgments
- Introducing ASP.NET and the .NET
Platform
- What is ASP.NET?
- Installing the Required Software
- Installing Visual Web Developer 2008 Express Edition
- Installing SQL Server Management Studio Express
- Writing Your First ASP.NET Page
- Getting Help
- Summary
- ASP.NET Basics
- ASP.NET Page Structure
- Directives
- Code Declaration Blocks
- Code Render Blocks
- ASP.NET Server Controls
- Server-side Comments
- Literal Text and HTML Tags
- View State
- Working with Directives
- ASP.NET Languages
- Visual Basic
- C#
- Summary
- ASP.NET Page Structure
- VB and C# Programming Basics
- Programming Basics
- Control Events and Subroutines
- Page Events
- Variables and Variable Declaration
- Arrays
- Functions
- Operators
- Conditional Logic
- Loops
- Object Oriented Programming Concepts
- Objects and Classes
- Properties
- Methods
- Classes
- Constructors
- Scope
- Events
- Understanding Inheritance
- Objects in .NET
- Namespaces
- Using Code-behind Files
- Summary
- Programming Basics
- Constructing ASP.NET Web Pages
- Web Forms
- HTML Server Controls
- Using the HTML Server Controls
- Web Server Controls
- Standard Web Server Controls
- List Controls
- Advanced Controls
- Web User Controls
- Creating a Web User Control
- Master Pages
- Using Cascading Style Sheets (CSS)
- Types of Styles and Style Sheets
- Summary
- Building Web Applications
- Introducing the Dorknozzle Project
- Using Visual Web Developer
- Meeting the Features
- Executing Your Project
- Core Web Application Features
- Web.config
- Global.asax
- Using Application State
- Working with User Sessions
- Using the
CacheObject - Using Cookies
- Starting the Dorknozzle Project
- Preparing the Sitemap
- Using Themes, Skins, and Styles
- Building the Master Page
- Using the Master Page
- Extending Dorknozzle
- Debugging and Error Handling
- Debugging with Visual Web Developer
- Other Kinds of Errors
- Custom Errors
- Handling Exceptions Locally
- Summary
- Using the Validation Controls
- Client-side Validation and Server-side Validation
- Introducing the ASP.NET Validation Controls
- Enforcing Validation on the Server
- Using Validation Controls
- RequiredFieldValidator
- CompareValidator
- RangeValidator
- ValidationSummary
- RegularExpressionValidator
- CustomValidator
- Validation Groups
- Updating Dorknozzle
- Summary
- Database Design and Development
- What Is a Database?
- Creating Your First Database
- Creating a New Database Using Visual Web Developer
- Creating a New Database Using SQL Server Management Studio
- Creating Database Tables
- Data Types
- Column Properties
- Primary Keys
- Creating the Employees Table
- Creating the Remaining Tables
- Populating the Data Tables
- Relational Database Design Concepts
- Foreign Keys
- Using Database Diagrams
- Implementing Relationships in the Dorknozzle Database
- Diagrams and Table Relationships
- Summary
- Speaking SQL
- Reading Data from a Single Table
- Using the
SELECTStatement - Selecting Certain Fields
- Selecting Unique Data with
DISTINCT - Row Filtering with
WHERE - Selecting Ranges of Values with
BETWEEN - Matching Patterns with
LIKE - Using the
INOperator - Sorting Results Using
ORDER BY - Limiting the Number of Results with
TOP
- Using the
- Reading Data from Multiple Tables
- Subqueries
- Table Joins
- Expressions and Operators
- Transact-SQL Functions
- Arithmetic Functions
- String Functions
- Date and Time Functions
- Working with Groups of Values
- The
COUNTFunction - Grouping Records Using
GROUP BY - Filtering Groups Using
HAVING - The
SUM,AVG,MIN, andMAXFunctions
- The
- Updating Existing Data
- The
INSERTStatement - The
UPDATEStatement - The
DELETEStatement
- The
- Stored Procedures
- Summary
- Reading Data from a Single Table
- ADO.NET
- Introducing ADO.NET
- Importing the
SqlClientNamespace - Defining the Database Connection
- Preparing the Command
- Executing the Command
- Setting Up Database Authentication
- Reading the Data
- Using Parameters with Queries
- Bulletproofing Data Access Code
- Using the Repeater Control
- Importing the
- Creating the Dorknozzle Employee Directory
- More Data Binding
- Inserting Records
- Updating Records
- Deleting Records
- Using Stored Procedures
- Summary
- Introducing ADO.NET
- Displaying Content Using Data Lists
DataListBasics- Handling
DataListEvents - Editing
DataListItems and Using Templates DataListand Visual Web Developer- Styling the DataList
- Summary
- Managing Content Using Grid View and Details
View
- Using the
GridViewControl- Customizing the
GridViewColumns - Styling the GridView with Templates, Skins, and CSS
- Selecting Grid Records
- Customizing the
- Using the
DetailsViewControl- Styling the DetailsView
GridViewandDetailsViewEvents- Entering Edit Mode
- Using Templates
- Updating
DetailsViewRecords
- Summary
- Using the
- Advanced Data Access
- Using Data Source Controls
- Binding the
GridViewto a SqlDataSource - Binding the
DetailsViewto a SqlDataSource - Displaying Lists in DetailsView
- More on SqlDataSource
- Binding the
- Working with Data Sets and Data Tables
- What Is a Data Set Made From?
- Binding
DataSets to Controls - Implementing Paging
- Storing Data Sets in View State
- Implementing Sorting
- Filtering Data
- Updating a Database from a Modified DataSet
- Summary
- Using Data Source Controls
- Security and User Authentication
- Basic Security Guidelines
- Securing ASP.NET Applications
- Working with Forms Authentication
- ASP.NET Memberships and Roles
- Creating the Membership Data Structures
- Using Your Database to Store Membership Data
- Using the ASP.NET Web Site Configuration Tool
- Creating Users and Roles
- Changing Password Strength Requirements
- Securing Your Web Application
- Using the ASP.NET Login Controls
- Summary
- Working with Files and Email
- Writing and Reading Text Files
- Setting Up Permissions
- Writing Content to a Text File
- Reading Content from a Text File
- Accessing Directories and Directory
Information
- Working with Directory and File Paths
- Uploading Files
- Sending Email with ASP.NET
- Sending a Test Email
- Creating the Company Newsletters Page
- Summary
- Writing and Reading Text Files
- . ASP.NET AJAX
- What is Ajax?
- ASP.NET AJAX
- Using the
UpdatePanelControl- Managing the
ScriptManagerControl
- Managing the
- Using Triggers to Update an UpdatePanel
- The ASP.NET AJAX Control Toolkit
- The
ValidatorCalloutExtenderControl Extender - Getting Started with Animation
- The
- Summary
- Web Control Reference
- The
WebControlClass- Properties
- Methods
- Standard Web Controls
AdRotator- BulletedList
ButtonCalendarCheckBoxCheckBoxList- DropDownList
FileUploadHiddenFieldHyperLinkImageImageButtonImageMapLabelLinkButtonListBoxLiteralMultiViewPanelPlaceHolderRadioButtonRadioButtonListTextBoxWizardXml
- Validation Controls
CompareValidatorCustomValidatorRangeValidatorRegularExpressionValidatorRequiredFieldValidatorValidationSummary
- Navigation Web Controls
SiteMapPathMenuTreeView
- Ajax Web Extensions
- ScriptManager
- Timer
- UpdatePanel
- UpdateProgress
- The
- Deploying ASP.NET Web Sites
- ASP.NET Hosting Considerations
- Using Visual Web Developer Express to Deploy ASP.NET Applications
- ASP.NET Deployment “Gotchas”
- Using the SQL Server Hosting Toolkit
- Dealing with SQL Security
- Index





