| |
| |
Introduction | |
| |
| |
| |
Setting the Stage for ASP.NET | |
| |
| |
| |
Getting Started with ASP.NET | |
| |
| |
What Is ASP.NET? | |
| |
| |
Is ASP.NET Browser Specific? | |
| |
| |
What Programming Languages Can Be Used with ASP.NET? | |
| |
| |
What Is Needed to Run ASP.NET? | |
| |
| |
Configuring Internet Information Server 5.0 | |
| |
| |
Installing the .NET Framework SDK | |
| |
| |
| |
Presenting Internet Information Services | |
| |
| |
Choosing Your Hosting Environment | |
| |
| |
Who's Out? Who's In? | |
| |
| |
IIS on Windows 2000 | |
| |
| |
Choosing Your Development Environment | |
| |
| |
Just What Do I Need? | |
| |
| |
Creating Your First Web Site | |
| |
| |
Advanced Options for Windows Server Computers | |
| |
| |
Creating a Virtual Directory | |
| |
| |
First Web Page | |
| |
| |
Why Use ASP.NET Over Other Technologies | |
| |
| |
CGI Applications | |
| |
| |
ISAPI Applications | |
| |
| |
ASP Applications | |
| |
| |
ASP.NET Applications | |
| |
| |
| |
Introduction to Visual Basic.NET | |
| |
| |
Visual Basic.NET | |
| |
| |
| |
Working with ASP.NET | |
| |
| |
ASP.NET File Architecture | |
| |
| |
Namespaces | |
| |
| |
The System Namespace | |
| |
| |
The Microsoft Namespace | |
| |
| |
Using Namespaces on Your ASP.NET Pages | |
| |
| |
Programming Languages in ASP.NET | |
| |
| |
Development Tools | |
| |
| |
| |
Putting Together the ASP.NET Page | |
| |
| |
| |
ASP.NET Page Syntax | |
| |
| |
Jumping into Visual Studio | |
| |
| |
ASP.NET Syntax Elements | |
| |
| |
Page Directives | |
| |
| |
Code-Declaration Blocks | |
| |
| |
Code-Render Blocks | |
| |
| |
Server-Side Comments | |
| |
| |
HTML-Control Syntax | |
| |
| |
Custom Server-Control Syntax | |
| |
| |
Server-Control Event-Binding Syntax | |
| |
| |
Data-Binding Expression Syntax | |
| |
| |
Server-Side Object Tag Syntax | |
| |
| |
Server-Side Include Directive Syntax | |
| |
| |
| |
Creating a User Interface with ASP.NET Web Forms | |
| |
| |
An Introduction to Web Forms | |
| |
| |
Web Forms Code Model | |
| |
| |
Web Forms Page Processing | |
| |
| |
Web Form Lifecycle | |
| |
| |
State Management | |
| |
| |
Web Forms Event Model | |
| |
| |
Using Web Forms with Visual Studio.NET | |
| |
| |
Creating a Web Application | |
| |
| |
Adding Web Forms to a Web Application | |
| |
| |
| |
Web Forms Server Controls | |
| |
| |
What Are Server Controls? | |
| |
| |
HTML Server Controls | |
| |
| |
ASP.NET Server Controls | |
| |
| |
Validation Controls | |
| |
| |
User Controls | |
| |
| |
Using HTML Server Controls | |
| |
| |
Programming Event Handlers for HTML Server Controls | |
| |
| |
Using ASP.NET Server Controls | |
| |
| |
Using Visual Studio.NET | |
| |
| |
Programming Event Handlers for ASP.NET Server Controls | |
| |
| |
Cascading Style Sheets | |
| |
| |
Data-Binding TextBox Controls | |
| |
| |
The AutoPostBack Property | |
| |
| |
The ASP.NET Calendar Control | |
| |
| |
The ASP.NET DropDownList Control | |
| |
| |
The ASP.NET CheckBox Control | |
| |
| |
The ASP.NET RadioButton Control | |
| |
| |
The ASP.NET Multiline TextBox Control | |
| |
| |
| |
Web Forms Validation | |
| |
| |
Introduction to Web Forms Validation | |
| |
| |
Using Validation Controls | |
| |
| |
Types of Validation Controls | |
| |
| |
Putting It All Together | |
| |
| |
| |
ASP.NET Application Considerations | |
| |
| |
| |
ASP.NET Web Applications | |
| |
| |
What Are ASP.NET Web Applications? | |
| |
| |
Lifecycle of a Web Application | |
| |
| |
The Global.asax File | |
| |
| |
State Management | |
| |
| |
Application State Data | |
| |
| |
Session State Data | |
| |
| |
Session Tracking | |
| |
| |
State Management Examples | |
| |
| |
| |
Security | |
| |
| |
Security Overview | |
| |
| |
ASP.NET Data Flow | |
| |
| |
ASP.NET Security Architecture | |
| |
| |
ASP.NET Subtags | |
| |
| |
ASP.NET Authentication and Authorization | |
| |
| |
Secure Connections with SSL | |
| |
| |
Requesting a Certificate for SSL | |
| |
| |
Obtaining a Certificate from a Certificate Authority | |
| |
| |
| |
Incorporating E-mail into Your Application | |
| |
| |
Setting Up SMTP | |
| |
| |
Sending E-mail | |
| |
| |
The System.Web.Mail Namespace | |
| |
| |
Creating a Simple E-mail Form | |
| |
| |
Sending an HTML E-mail | |
| |
| |
Attaching Files to an E-mail | |
| |
| |
| |
Reading and Writing Files on the Web Server | |
| |
| |
Classes Exposed | |
| |
| |
The File Class | |
| |
| |
The FileStream Class | |
| |
| |
The FileMode, FileAccess, and FileShare Enumerations | |
| |
| |
The StreamReader Class | |
| |
| |
The StreamWriter Class | |
| |
| |
The Directory Class | |
| |
| |
Sample Application | |
| |
| |
| |
Handling Errors | |
| |
| |
Exception Handling Basics | |
| |
| |
Unstructured Exception Handling | |
| |
| |
The On Error Statement | |
| |
| |
The Err Object | |
| |
| |
Structured Exception Handling | |
| |
| |
The Exception Class | |
| |
| |
Common Exceptions | |
| |
| |
Throwing Exceptions | |
| |
| |
The ApplicationException Class | |
| |
| |
Custom Exceptions | |
| |
| |
| |
Debugging Your ASP.NET Applications | |
| |
| |
What Is Tracing? | |
| |
| |
Enabling Page-Level Tracing | |
| |
| |
Enabling Application-Level Tracing | |
| |
| |
The Trace.axd Application | |
| |
| |
Using the SDK Debugger | |
| |
| |
Where Is the Debugger? | |
| |
| |
Attaching to the ASP.NET Worker Process | |
| |
| |
Loading Source Files | |
| |
| |
Debugger Windows | |
| |
| |
| |
Supplying Your Application with Data | |
| |
| |
| |
Using Databases | |
| |
| |
What Is a Database? | |
| |
| |
When Do I Need to Use a Relational Database? | |
| |
| |
Tables | |
| |
| |
Structured Query Language | |
| |
| |
Server-Side Data Access | |
| |
| |
ADO.NET Overview | |
| |
| |
Defining Database Access Using ADO.NET | |
| |
| |
| |
Reading from Database Tables | |
| |
| |
Connecting to a Database | |
| |
| |
Microsoft SQL Server Databases | |
| |
| |
Other Data Sources | |
| |
| |
OleDbCommand | |
| |
| |
Executing SQL to Retrieve Data | |
| |
| |
Displaying the Results with Data Binding | |
| |
| |
| |
Inserting, Updating, and Deleting Database Records | |
| |
| |
Using Parameterized SQL Statements | |
| |
| |
The SQLParameters Class | |
| |
| |
The SQLParameter Class | |
| |
| |
Inserting Records | |
| |
| |
Deleting Records | |
| |
| |
Updating Records | |
| |
| |
| |
Examining the ADO.NET Dataset | |
| |
| |
Data Reading Objects in ADO.NET | |
| |
| |
The DataSet Object | |
| |
| |
The DataTable Object | |
| |
| |
The DataColumn Object | |
| |
| |
The DataRow Object | |
| |
| |
The DataRelation Object | |
| |
| |
| |
Stored Procedures and Functions | |
| |
| |
Benefits of Stored Procedures and Functions | |
| |
| |
Modular Programming | |
| |
| |
Faster Execution | |
| |
| |
Reduced Network Traffic | |
| |
| |
Enhanced Application Security | |
| |
| |
Stored Procedures | |
| |
| |
Designing Stored Procedures | |
| |
| |
Executing Stored Procedures | |
| |
| |
Functions | |
| |
| |
Types of Functions | |
| |
| |
Determinism of a Function | |
| |
| |
Designing Functions | |
| |
| |
Executing Functions | |
| |
| |
| |
Using Advanced Database Techniques | |
| |
| |
What Is XML? | |
| |
| |
Well-Formed and Valid | |
| |
| |
Benefits of XML | |
| |
| |
ADO.NET and XML | |
| |
| |
The DataSet Class | |
| |
| |
The XMLDocument Class | |
| |
| |
The XMLDataDocument Class | |
| |
| |
Using ADO.NET and XML | |
| |
| |
Retrieving Data and Saving As XML | |
| |
| |
Retrieving Data in an XML Document | |
| |
| |
Retrieving Data from XML, Modifying It, and Saving It as XML | |
| |
| |
| |
Extending ASP.NET | |
| |
| |
| |
Web Services | |
| |
| |
What Are Web Services? | |
| |
| |
What Are Web Methods? | |
| |
| |
Creating a Web Service | |
| |
| |
Accessing a Web Service | |
| |
| |
Using wsd1.exe to Generate a Web Service Proxy Class | |
| |
| |
Using the Web Service in a Client Application | |
| |
| |
Data Access Using Web Services | |
| |
| |
Developing a Web Service Consumer | |
| |
| |
Using Session and Application Objects in Web Services | |
| |
| |
| |
Configuration, Localization, and Deployment | |
| |
| |
Configuration | |
| |
| |
What Is a Configuration File? | |
| |
| |
Declaration | |
| |
| |
Settings | |
| |
| |
Retrieving a Configuration | |
| |
| |
Working in Other Languages | |
| |
| |
Internationalization Overview | |
| |
| |
Setting Culture and Encoding | |
| |
| |
Localizing ASP.NET Applications | |
| |
| |
Working with Resource Files | |
| |
| |
Deploying ASP.NET Applications | |
| |
| |
| |
Optimizing and Profiling ASP.NET Applications | |
| |
| |
Optimizing ASP.NET Applications | |
| |
| |
Optimization Features of the .NET Framwork | |
| |
| |
High-Performance ASP.NET Applications | |
| |
| |
Monitoring and Profiling ASP.NET Applications | |
| |
| |
ASP.NET Runtime Profiling | |
| |
| |
Using Windows NT/2000 System Monitor | |
| |
| |
| |
Web Workshop | |
| |
| |
The Idea | |
| |
| |
The Home Page | |
| |
| |
The Database | |
| |
| |
The ContestData Class | |
| |
| |
The Join Page | |
| |
| |
User Server Controls | |
| |
| |
The UserInfo User Control | |
| |
| |
The UserAdmin Page | |
| |
| |
My User Profile Page | |
| |
| |
The Contestinfo User Control | |
| |
| |
The Contest Admin Page | |
| |
| |
The Contest Activity Page | |
| |
| |
The ContestList User Control | |
| |
| |
List Contests Page | |
| |
| |
List My Contests Page | |
| |
| |
List Available Contests Page | |
| |
| |
Index | |