| Title Page | 2 |
---|
| Copyright Page | 3 |
---|
| Contents at a Glance | 4 |
---|
| Table of Contents | 6 |
---|
| About the Author | 33 |
---|
| About the Technical Reviewer | 34 |
---|
| Introduction | 35 |
---|
| What Does This Book Cover? | 35 |
| Who Is This Book For? | 36 |
| What Do You Need to Use This Book? | 37 |
| Customer Support | 37 |
| Sample Code | 37 |
| Bonus Chapters | 37 |
| Part 1: Core Concepts | 39 |
---|
| Chapter 1: Introducing ASP.NET | 40 |
---|
| The Seven Pillars of ASP.NET | 40 |
| #1: ASP.NET Is Integrated with the .NET Framework | 40 |
| #2: ASP.NET Is Compiled, Not Interpreted | 41 |
| #3: ASP.NET Is Multilanguage | 43 |
| #4: ASP.NET Is Hosted by the Common Language Runtime | 45 |
| #5: ASP.NET Is Object-Oriented | 46 |
| #6: ASP.NET Supports all Browsers | 48 |
| #7: ASP.NET Is Easy to Deploy and Configure | 48 |
| The Evolution of ASP.NET | 49 |
| ASP.NET 1.0 and 1.1 | 49 |
| ASP.NET 2.0 | 49 |
| ASP.NET 3.5 | 50 |
| LINQ | 50 |
| ASP.NET AJAX | 51 |
| ASP.NET 4 | 53 |
| ASP.NET MVC | 54 |
| ASP.NET Dynamic Data | 55 |
| Silverlight | 55 |
| Summary | 56 |
| Chapter 2: Visual Studio | 57 |
---|
| Introducing Visual Studio | 57 |
| Websites and Web Projects | 58 |
| Creating a Projectless Website | 59 |
| The Development Language | 60 |
| The Framework Version | 60 |
| The Template | 61 |
| The Location | 62 |
| Designing a Web Page | 64 |
| Absolute Positioning | 65 |
| Smart Tags | 66 |
| Static HTML Tags | 67 |
| HTML Tables | 68 |
| Structuring HTML Markup | 69 |
| The Visual Studio IDE | 71 |
| Solution Explorer | 73 |
| Document Window | 74 |
| Toolbox | 74 |
| Error List and Task List | 75 |
| Server Explorer | 77 |
| The Code Editor | 78 |
| Adding Assembly References | 79 |
| IntelliSense and Outlining | 82 |
| Outlining | 82 |
| Member List | 83 |
| Error Underlining | 85 |
| Visual Studio 2010 Improvements | 86 |
| IntelliSense Gets More Intelligent | 87 |
| New Tools for Search and Navigation | 88 |
| Draggable Document Windows | 92 |
| The Code Model | 92 |
| How Code-Behind Files Are Connected to Pages | 95 |
| How Control Tags Are Connected to Page Variables | 96 |
| How Events Are Connected to Event Handlers | 97 |
| Web Projects | 99 |
| Creating a Web Project | 100 |
| Migrating a Website from a Previous Version of Visual Studio | 102 |
| Visual Studio Debugging | 104 |
| Single-Step Debugging | 105 |
| Variable Watches | 108 |
| Advanced Breakpoints | 110 |
| The Web Development Helper | 110 |
| Summary | 112 |
| Chapter 3: Web Forms | 113 |
---|
| Page Processing | 114 |
| HTML Forms | 114 |
| Dynamic User Interface | 116 |
| The ASP.NET Event Model | 117 |
| Automatic Postbacks | 118 |
| Automatic Postbacks Under the Hood | 118 |
| View State | 120 |
| View State Under the Hood | 122 |
| View State Chunking | 124 |
| XHTML Compliance | 124 |
| Document Type Definitions | 125 |
| Configuring XHTML Rendering | 126 |
| Visual Studio s Default Doctype | 128 |
| XHTML Validation | 129 |
| Client-Side Control IDs | 130 |
| Web Forms Processing Stages | 133 |
| Page Framework Initialization | 134 |
| User Code Initialization | 135 |
| Validation | 135 |
| Event Handling | 136 |
| Automatic Data Binding | 136 |
| Cleanup | 137 |
| A Page Flow Example | 137 |
| The Page As a Control Container | 140 |
| Showing the Control Tree | 140 |
| The Page Header | 145 |
| Dynamic Control Creation | 146 |
| The Page Class | 148 |
| Session, Application, and Cache | 148 |
| Request | 149 |
| Response | 150 |
| Moving Between Pages | 152 |
| Server | 154 |
| HTML and URL Encoding | 155 |
| User | 157 |
| Trace | 157 |
| Application Tracing | 161 |
| Tracing with the Web Development Helper | 163 |
| Accessing the HTTP Context in Another Class | 163 |
| Summary | 164 |
| Cha
|