Friday, February 16, 2007

Build Your Own ASP.NET 2.0 Web Site Using C# & VB

Build Your Own ASP.NET 2.0 Web Site Using C# & VB
By Cristian Darie, Zak Ruvalcaba
Second Edition October 2006
Publisher: SitePoint
Pages: 712


Using a practical step-by-step approach, the authors introduce the ASP.NET framework, teach you about database design, and walk you through obtaining, installing and configuring all the freely available software you need to use ASP.NET 2.0. The second edition of this guide will help you get your database-driven ASP.NET web site up and running in no time. This book does not assume prior ASP.NET experience, and includes all code samples in both C# & VB.

ASP.NET is one of the most widely adopted and powerful web application platforms available today. It's becoming increasingly important for web developers to expand their skills and learn the ins and outs of this technology, which is now used by major organizations such as Accenture, Compaq, AIG, Disney, Adobe, Dell, Ford, and many others.
Using a practical step-by-step approach, the authors of Build Your Own ASP.NET 2.0 Web Site Using C# & VB, 2nd Edition show you how to obtain, install and configure the software you’ll need. They then introduce the ASP.NET framework, VB and C#, and guide you through the process of building a fully functional web application. All you need to get started is an understanding of HTML and the basics of web site design – you won’t need to spend a cent on software.

This second edition of this bestselling ASP.NET book has been completely revised for ASP.NET 2.0, with greatly expanded coverage of best practice techniques like code-behind, usage of Visual Web Developer and SQL Server Express Edition, and coverage of powerful new ASP.NET 2.0 functionality, including the GridView control and Master Pages.

Table Of Contents


  1. Preface

  2. Introducing ASP.NET and the .NET Platform

    • What is ASP.NET?

    • Installing the Required Software

      • Installing the Web Server

      • Installing the .NET Framework and the SDK

      • Configuring the Web Server

      • Installing SQL Server 2005 Express Edition

      • Installing SQL Server Management Studio Express

      • Installing Visual Web Developer 2005



    • Writing your First ASP.NET Page

    • Getting Help

    • Summary



  3. 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



  4. 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



  5. 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



  6. Building Web Applications

    • Introducing the Dorknozzle Project

    • Using Visual Web Developer

      • Meeting the Features



    • Executing your Project

      • Using Visual Web Developer’s Built-in Web Server

      • Using IIS



    • Core Web Application Features

      • Web.config

      • Global.asax

      • Using Application State

      • Working with User Sessions

      • Using the Cache Object

      • 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



  7. Using the Validation Controls

    • 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



  8. 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



  9. Speaking SQL

    • Reading Data from a Single Table

      • Using the SELECT Statement

      • Selecting Certain Fields

      • Selecting Unique Data with DISTINCT

      • Row Filtering with WHERE

      • Selecting Ranges of Values with BETWEEN

      • Matching Patterns with LIKE

      • Using the IN Operator

      • Sorting Results Using ORDER BY

      • Limiting the Number of Results with TOP



    • 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 COUNT Function

      • Grouping Records Using GROUP BY

      • Filtering Groups Using HAVING

      • The SUM, AVG, MIN, and MAX Functions



    • Updating Existing Data

      • The INSERT Statement

      • The UPDATE Statement

      • The DELETE Statement



    • Stored Procedures

    • Summary



  10. ADO.NET

    • Introducing ADO.NET

      • Importing the SqlClient Namespace

      • 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



    • Creating the Dorknozzle Employee Directory

      • More Data Binding

      • Inserting Records

      • Updating Records

      • Deleting Records

      • Using Stored Procedures



    • Summary



  11. Displaying Content Using Data Lists

    • DataList Basics

    • Handling DataList Events

    • Editing DataList Items and Using
      Templates

    • DataList and Visual Web Developer

    • Styling the DataList

    • Summary



  12. Managing Content Using Grid View and Details View

    • Using the GridView Control

      • Customizing the GridView Columns

      • Styling the GridView with Templates, Skins, and CSS

      • Selecting Grid Records



    • Using the DetailsView Control

      • Styling the DetailsView



    • GridView and DetailsView Events

      • Entering Edit Mode

      • Using Templates

      • Updating DetailsView Records



    • Summary



  13. Advanced Data Access

    • Using Data Source Controls

      • Binding the GridView to a
        SqlDataSource

      • Binding the DetailsView to a
        SqlDataSource

      • Displaying Lists in DetailsView

      • More on SqlDataSource



    • 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



  14. Security and User Authentication

    • Basic Security Guidelines

    • Securing ASP.NET 2.0 Applications

      • Working with Forms Authentication



    • ASP.NET 2.0 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



  15. Working with Files and Email

    • Writing and Reading Text Files

      • Setting Up Security

      • 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

      • Configuring the SMTP Server

      • Sending a Test Email

      • Creating the Company Newsletter Page



    • Summary




Appendix



  1. A. Web Control Reference

    • The WebControl Class

      • Properties

      • Methods



    • Standard Web Controls

      • AdRotator

      • BulletedList

      • Button

      • Calendar

      • CheckBox

      • CheckBoxList

      • DropDownList

      • FileUpload

      • HiddenField

      • HyperLink

      • Image

      • ImageButton

      • ImageMap

      • Label

      • LinkButton

      • ListBox

      • Literal

      • MultiView

      • Panel

      • PlaceHolder

      • RadioButton

      • RadioButtonList

      • TextBox

      • Xml



    • Validation Controls

      • CompareValidator

      • CustomValidator

      • RangeValidator

      • RegularExpressionValidator

      • RequiredFieldValidator

      • ValidationSummary



    • Navigation Web Controls

      • SiteMapPath

      • Menu

      • TreeView



    • HTML Server Controls

      • HtmlAnchor Control

      • HtmlButton Control

      • HtmlForm Control

      • HtmlGeneric Control

      • HtmlImage Control

      • HtmlInputButton Control

      • HtmlInputCheckBox Control

      • HtmlInputFile Control

      • HtmlInputHidden Control

      • HtmlInputImage Control

      • HtmlInputRadioButton Control

      • HtmlInputText Control

      • HtmlSelect Control

      • HtmlTable Control

      • HtmlTableCell Control

      • HtmlTableRow Control

      • HtmlTextArea Control





  2. Index




Sample Chapter: Here
Amazon Link:Build Your Own ASP.NET 2.0 Web Site Using C# & VB

No comments: