Suchen und Finden
Contents at a Glance
5
Contents
7
About the Author
23
About the Technical Reviewer
24
Acknowledgments
25
Introduction
26
About This Book
26
Code Samples
28
Chapter Overview
29
Feedback
30
Introducing .NET
31
The .NET Framework
32
The Evolution of Web Development
32
The . NET Framework
38
The Last Word
46
The Visual Basic Language
47
The . NET Languages
47
The Evolution of Visual Basic
48
Variables and Data Types
49
Variable Operations
56
Object- Based Manipulation
59
Conditional Logic
65
Loops
67
Methods
70
The Last Word
75
Types, Objects, and Namespaces
76
The Basics of Classes
76
Building a Basic Class
79
Value Types and Reference Types
90
Understanding Namespaces and Assemblies
93
Advanced Class Programming
97
The Last Word
105
Developing ASP.NET Applications
106
Visual Studio
107
The Promise of Visual Studio
107
Creating Websites
108
Designing a Web Page
117
The Anatomy of a Web Form
121
Writing Code
131
Visual Studio Debugging
138
The Last Word
145
Web Form Fundamentals
146
The Anatomy of an ASP. NET Application
146
Introducing Server Controls
149
Improving the Currency Converter
163
A Deeper Look at HTML Control Classes
168
The Page Class
173
Application Events
177
ASP. NET Configuration
180
The Last Word
186
Web Controls
187
Stepping Up to Web Controls
187
Web Control Classes
190
List Controls
198
Table Controls
202
Web Control Events and AutoPostBack
207
A Simple Web Page
215
The Last Word
224
State Management
225
The Problem of State
225
View State
226
Transferring Information Between Pages
233
Cookies
243
Session State
245
Session State Configuration
251
Application State
259
An Overview of State Management Choices
261
The Last Word
262
Error Handling, Logging, and Tracing
263
Common Errors
263
Exception Handling
265
Handling Exceptions
268
Throwing Your Own Exceptions
274
Logging Exceptions
278
Error Pages
288
Page Tracing
293
The Last Word
306
Deploying ASP.NET Applications
307
ASP. NET Applications and the Web Server
307
Internet Information Services ( IIS)
312
Managing Websites with IIS Manager
320
Deploying a Simple Site
328
Deploying with Visual Studio
335
The Last Word
342
Building Better Web Forms
343
Validation
344
Understanding Validation
344
The Validation Controls
347
The Last Word
364
Rich Controls
365
The Calendar
365
The AdRotator
373
Pages with Multiple Views
376
The Last Word
390
User Controls and Graphics
391
User Controls
391
Dynamic Graphics
404
The Last Word
413
Styles, Themes, and Master Pages
414
Styles
415
Themes
428
Master Page Basics
436
Advanced Master Pages
447
The Last Word
453
Website Navigation
454
Site Maps
454
The SiteMapPath Control
472
The TreeView Control
476
The Menu Control
483
The Last Word
489
Working with Data
490
ADO.NET Fundamentals
491
Understanding Data Management
491
Configuring Your Database
494
SQL Basics
498
ADO. NET Basics
506
Direct Data Access
511
Disconnected Data Access
534
The Last Word
543
Data Binding
544
Introducing Data Binding
544
Single- Value Data Binding
546
Repeated-Value Data Binding
551
Data Source Controls
566
The Last Word
583
The Data Controls
584
The GridView
584
Formatting the GridView
590
Selecting a GridView Row
597
Editing with the GridView
601
Sorting and Paging the GridView
603
Using GridView Templates
608
The DetailsView and FormView
617
The Last Word
622
Files and Streams
623
Files and Web Applications
623
File System Information
624
Reading and Writing with Streams
638
Allowing File Uploads
649
The Last Word
652
XML
653
XML’s Hidden Role in . NET
653
XML Explained
654
The XML Classes
660
XML Validation
677
XML Display and Transforms
684
XML Data Binding
688
The Last Word
694
Website Security
695
Security Fundamentals
696
Determining Security Requirements
696
The ASP. NET Security Model
697
Forms Authentication
702
Windows Authentication
716
Impersonation
723
Confidentiality with SSL
725
The Last Word
729
Membership
730
The Membership Data Store
731
The Security Controls
748
Role- Based Security
762
The Last Word
769
Profiles
770
Understanding Profiles
770
Using the SqlProfileProvider
773
The Last Word
792
Advanced ASP.NET
793
Component-Based Programming
794
Why Use Components?
794
Component Jargon
795
Creating a Component
798
Properties and State
805
Data-Access Components
808
The ObjectDataSource
817
The Last Word
823
Caching
824
Understanding Caching
824
Output Caching
827
Data Caching
834
Caching with Dependencies
845
The Last Word
855
ASP.NET AJAX
856
Understanding Ajax
857
Partial Refreshes
860
Progress Notification
872
Timed Refreshes
876
The ASP. NET AJAX Control Toolkit
878
The Last Word
889
Index
890
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.