| 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 A
|