| Contents at a Glance | 6 |
---|
| Contents | 8 |
---|
| About the Author | 12 |
---|
| About the Technical Reviewer | 14 |
---|
| Acknowledgments | 16 |
---|
| Introduction | 18 |
---|
| CHAPTER 1 An Introduction to .NET and Visual Studio 2005 | 22 |
---|
| VB.NET and ASP.NET | 22 |
| An Introduction to Microsoft .NET | 22 |
| The Common Language Runtime | 23 |
| Assemblies | 24 |
| An Introduction to Visual Studio 2005 | 24 |
| How to Get Started with Visual Studio 2005 | 25 |
| Creating a New Web Project (ASP.NET) | 27 |
| Opening an Existing Web Site | 37 |
| Building Web Sites | 39 |
| Accessing a Web Site | 40 |
| Navigating the Visual Studio Environment | 42 |
| Debugging | 44 |
| IntelliSense | 46 |
| Conclusion | 47 |
| CHAPTER 2 Object-Oriented Programming | 48 |
---|
| Introduction to OOP Concepts | 48 |
| Why Objects Exist | 49 |
| Objects As the Building Blocks of OOP | 50 |
| Introduction to Reusability | 51 |
| Introduction to OOP with .NET | 52 |
| Objects in .NET | 53 |
| Using the Object Browser in Visual Studio 2005 | 55 |
| Creating a Class with VB.NET | 57 |
| Using a Class in VB.NET | 58 |
| Conclusion | 60 |
| CHAPTER 3 Attributes and Actions | 62 |
---|
| Attributes | 62 |
| Actions | 63 |
| Attributes and Actions Within VB.NET | 63 |
| VB.NET Properties | 63 |
| Adding Properties to a VB.NET Class | 64 |
| Using a Class Public Property in VB.NET | 66 |
| VB.NET Methods | 70 |
| Parameters in VB.NET | 70 |
| Adding Methods in VB.NET | 71 |
| Using a Method in VB.NET | 72 |
| Overloading | 76 |
| Conclusion | 76 |
| CHAPTER 4 Encapsulation | 78 |
---|
| A General Overview of Encapsulation and Information Hiding | 78 |
| Encapsulation in VB.NET | 79 |
| Getting Started | 79 |
| Information Hiding Example | 85 |
| Encapsulation Example | 87 |
| Conclusion | 90 |
| CHAPTER 5 Inheritance | 92 |
---|
| Inheritance | 92 |
| Inheritance in VB.NET | 93 |
| Overriding | 97 |
| Conclusion | 105 |
| CHAPTER 6 Namespaces | 106 |
---|
| The Purpose of a Namespace | 106 |
| .NET Framework Class Library | 106 |
| Creating a Namespace | 109 |
| The My Namespace | 119 |
| Conclusion | 121 |
| CHAPTER 7 Class Design | 122 |
---|
| Class Design Process | 122 |
| Case Study | 122 |
| Business Process Overview | 123 |
| Define the Business Process | 123 |
| Case Study: Define the Business Process | 124 |
| Review the Business Process | 127 |
| Break Down the Business Process | 127 |
| Case Study: Break Down the Business Process | 127 |
| Create the Class or Classes | 132 |
| Define the Properties and Methods of Each Class | 133 |
| Case Study: Define the Properties and Methods of Each Class | 134 |
| Create the Class Structure | 138 |
| Case Study: Create the Class Structure | 139 |
| Conclusion | 149 |
| CHAPTER 8 ASP.NET Web Forms | 150 |
---|
| Using the Web Forms Designer | 150 |
| Adding Controls | 151 |
| The ASP.NET Page Class | 152 |
| Page Lifecycle | 153 |
| Round Trips | 153 |
| View State | 154 |
| Web Form Processing Stages | 154 |
| Session and Application Objects | 155 |
| Expanding the Help Desk Application | 157 |
| Conclusion | 168 |
| CHAPTER 9 ASP.NET Controls | 170 |
---|
| HTML Server Controls | 170 |
| Web Server Controls | 173 |
| Working with Control Properties and Events | 173 |
| Validation Controls | 176 |
| Master Pages | 179 |
| Expanding the Help Desk Application | 183 |
| Conclusion | 189 |
| CHAPTER 10 Web Services | 190 |
---|
| Introduction to XML, SOAP, and WSDL | 190 |
| Introduction to Web Services | 191 |
| Creating a Web Service | 191 |
| Consuming a Web Service | 195 |
| Conclusion | 198 |
| Index | 200 |