rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781590593615

Beginning Visual Web Programming with C#

by
  • ISBN13:

    9781590593615

  • ISBN10:

    1590593618

  • Format: Paperback
  • Copyright: 2004-10-04
  • Publisher: Apress
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $35.59
  • Buy New
    $49.94
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Summary

This book explains fundamentals of the web environment, and how Visual Studio .NET makes that environment accessible to C# programmers. Step-by-step, a reader will learn to build a working website that demonstrates all elements of a C# web application. This book aids in creating secure applications via ASP.NET, and explains effective debugging. Furthermore, the book explores the helping role of VS.NET, for creating dynamic, attractive, and high-performing web applications.

Table of Contents

About the Authors xv
About the Technical Reviewer xvii
Acknowledgments xix
Introduction xxi
Environment and Architecture
1(30)
Web Application Considerations
1(1)
The Web Model
2(5)
Desktop Applications vs. Web Applications
3(1)
Web Servers and Web Clients
4(3)
System Configuration for Web Development
7(11)
Installing and Configuring IIS for .NET Web Applications
8(2)
Administering IIS
10(7)
Configuring Virtual Directories
17(1)
Dynamic Web Applications
18(8)
Client-Side Processing and Server-Side Processing
19(6)
An Introduction to State Management
25(1)
Web Application Architecture
26(3)
Summary
29(2)
Web Development in .NET
31(30)
An Introduction to ASP.NET
31(1)
Web Form Construction in VS .NET
32(20)
Understanding Web Form Structure: Presentation and Processing
33(9)
Using the Properties Browser
42(5)
Using Code-Behind
47(5)
A Brief Tour of an ASP.NET Application
52(7)
ASP.NET Application Files
52(1)
The Class View
53(1)
Object Orientation in ASP.NET
54(1)
Reusability and Encapsulation
55(1)
Compilation
56(1)
The Lifecycle of a Page
57(2)
Summary
59(2)
User Interfaces and Server Controls
61(60)
Server Controls
62(34)
HTML Controls
64(11)
HTML Server Controls
75(5)
Web Server Controls
80(10)
Validation Controls
90(6)
User Controls
96(9)
Custom Controls
105(7)
Dynamic Content
112(4)
Avoiding Code Duplication
116(3)
Summary
119(2)
ADO.NET
121(42)
The Architecture of ADO.NET
121(4)
The Data Reader Object
122(2)
Data Providers
124(1)
Programmatic Use of ADO.NET
125(22)
Adding Data to a Database
125(6)
Retrieving Data from a Database
131(7)
Changing the Data in a Database
138(9)
The Rest of the Picture: The DataSet and Data Adapter Objects
147(13)
Dealing with Disconnected Data
147(2)
Using a DataSet Object
149(11)
Summary
160(3)
Data Binding
163(54)
Introduction to Components
163(5)
Placing a Component on a Form
164(2)
Configuring Dynamic Properties
166(2)
Data Binding
168(18)
Using Binding Expressions
169(1)
Formatting with the DataBinder Class
170(1)
Using Data Binding
171(8)
Binding to Sets of Data
179(7)
Working Visually with Data
186(9)
Working with Data Components
186(2)
Using Typed Datasets
188(7)
Advanced Data Binding
195(19)
Paging
198(2)
Freestyle Data Binding and Editing---The DataList
200(14)
Summary
214(3)
ASP.NET State Management
217(54)
State Storage and Scope
217(1)
Session State
218(20)
Controlling the Session State
231(4)
Configuring the Session State
235(3)
Application State
238(7)
Using Application Object and Events
244(1)
View State
245(10)
Using View State As a Datastore
249(6)
Transient State
255(6)
Cookies
261(9)
Passing Data with Query Strings
269(1)
Passing Data with Hidden Form Fields
269(1)
Summary
270(1)
Markup Languages and XML
271(32)
Markup Languages
272(6)
Hypertext Markup Language
273(1)
Extensible Markup Language (XML)
274(4)
XML Data Exchange
278(6)
XML Schemas and Validation
280(2)
Markup Languages, Schemas, and Validation
282(2)
XML Schema Creation
284(18)
Using XML Namespaces
286(2)
Building an XML Schema
288(4)
Defining Complex Types
292(6)
Defining Custom Simple Types
298(2)
Restricting Element Occurrence
300(1)
Viewing the Entire Schema
301(1)
Summary
302(1)
XML and Web Development
303(54)
XML Document Creation in VS .NET
304(6)
Creating XML Documents Visually
304(4)
Creating XML Documents in the Data View
308(2)
Programmatic Manipulation of XML in .NET
310(23)
Reading and Validating XML
311(7)
Receiving the Uploaded File
318(15)
XML Queries with XPath
333(19)
Querying Document Object Model (DOM) Documents
337(5)
Understanding the XPath Data Model
342(5)
Building XPath Expressions Dynamically
347(5)
XML APIs Comparison
352(2)
Summary
354(3)
Web Services in Web Applications
357(48)
Overview of Web Services
357(3)
Web Services Relationship to the Browser/Server Model
358(1)
VS .NET Support for Web Services
359(1)
Web Service Implementation
360(12)
Implementing Web Methods
360(4)
Testing the Web Service
364(3)
Using Complex Data Types
367(5)
Web Service Consumption
372(7)
An Introduction to SOAP
379(3)
Understanding the SOAP Message Format
380(1)
Viewing a SOAP Request and Response
381(1)
Error Handling in Web Services
382(5)
Web Service Efficiency
387(15)
Caching in Web Services
387(1)
Reducing the Amount of Data Involved
388(5)
Using Custom Data Types for Optimization
393(8)
Adding State to Web Services
401(1)
Third-Party Web Services
402(1)
Summary
403(2)
ASP.NET Authentication, Authorization, and Security
405(32)
Security Overview
405(5)
Security Architecture
406(1)
Essential Terminology
406(4)
The ASP.NET Security Infrastructure
410(4)
Application Security Configuration
414(3)
Authentication Configuration
414(1)
Authorization Configuration
415(1)
Location Configuration
416(1)
Authentication Modes
417(9)
Windows Authentication
417(1)
Passport Authentication
418(1)
Forms Authentication
418(8)
Customized Authentication and Role-based Security
426(10)
Implementing Custom Authentication
426(8)
Securing Folders
434(2)
Summary
436(1)
Debugging and Exception Handling
437(56)
Types of Errors
438(4)
Syntax Errors
438(2)
Semantic Errors
440(2)
Input Errors
442(1)
Debugging Web Applications
442(34)
ASP.NET Tracing
443(11)
Tracing and Assertions in .NET
454(4)
The VS .NET Debugger
458(18)
Exceptions
476(16)
Exception Handling
477(10)
Unhandled Exceptions
487(5)
Summary
492(1)
Caching and Performance Tuning
493(46)
What Is Good Performance?
493(1)
Performance Monitoring
494(8)
Configuring the System Monitor in PerfMon
495(6)
Avoiding External Overhead
501(1)
Performance Testing an Application
502(10)
Installing the Web Application Stress Tool
503(1)
Generating a Realistic Set of Data
504(1)
Preparing a Performance Test with a Simulated Load
505(4)
Running the Performance Test
509(3)
Caching
512(17)
Caching Overview
512(3)
ASP.NET Caching
515(14)
Monitoring the Cache API
529(1)
Controlling the Viewstate
529(3)
Disabling the Viewstate for Controls
529(2)
Disabling the Viewstate at the Page and Application Levels
531(1)
Checking the Viewstate Encryption Features
532(1)
Deciding What to Put in Viewstate
532(1)
More ASP.NET Performance Tips
532(4)
Server-side Redirection Using Server.Transfer
532(2)
Using Web Controls Conservatively
534(1)
Disabling Session State
535(1)
Improving Database Access
535(1)
Summary
536(3)
Publishing Web Applications in .NET
539(48)
Methods for Deploying .NET Applications
540(1)
XCopy Deployment
540(1)
Deployment Projects
540(1)
Manual Web Application Deployment
541(6)
Setup Projects in VS .NET
547(12)
Creating Web Setup Projects
548(6)
Including the dotnetfx.exe File with Your Installation
554(1)
Viewing Application Dependencies and Outputs
555(1)
Using the Setup Project
556(2)
Uninstalling a Project
558(1)
Customized Deployment
559(24)
Adding a Custom File
559(1)
Editing the User Interface
560(5)
Building the Project
565(2)
Adding Custom Actions
567(2)
Using Installer Classes
569(10)
Deploying Application Configuration Settings
579(1)
Using Launch Conditions
580(3)
Summary
583(1)
Web Applications---An Overview
584(3)
APPENDIX A The Friends Reunion Application
587(6)
Friends Reunion Database Design
587(1)
How to Set Up the Code Download Package
588(3)
Setting Up the Database
588(1)
Setting Up the Code Samples
589(2)
How to Create GUIDs for Database Keys
591(2)
APPENDIX B Management of IIS and MSDE
593(24)
IIS Configuration
593(11)
Configuring Site-wide Settings
594(5)
Configuring ASP.NET Applications in IIS
599(4)
Locking Down IIS
603(1)
Impersonation Configuration
604(5)
An Introduction to IIS 6
609(2)
MSDE Management
611(6)
Using MSDE
611(1)
Administering Data via the Server Explorer
611(6)
Index 617

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program