A Word About Programming Languages
One of the hallmarks of the .NET Framework is that it is language-
I do all my coding in C#, in part because C# is the only language designed
Most of the samples in this book were written by hand, without the help of Visual Studio .NET. That s not a knock on Visual Studio .NET; it s evidence of my belief that learning is best accomplished by coding and not by having someone else code for you. Once you understand what goes into a Windows form or a Web form or a Web service, you ll find Visual Studio .NET an able partner in helping to create them. Writing applications the old-fashioned way first will increase your depth of understanding and better prepare you to work in an environment in which tools shoulder part of the load for you.
To compile and run the more than 75 sample programs included in this book, you must have the .NET Framework Software Development Kit (SDK) installed on your machine. The SDK runs on Windows NT 4.0, Windows 2000, Windows XP, and presumably on later versions of Windows as well. The CD that comes with this book includes version 1.0 of the .NET Framework SDK as well as Service Pack 1. When
Chapters 5 through 11 of this book, which cover ASP.NET, impose another requirement on your system. In addition to being outfitted with the .NET Framework SDK, your PC needs to have Microsoft s Web server, Internet Information Services (IIS), installed. Because ASP.NET requires Windows 2000 or Windows XP, you need one of those operating systems, too. On the Professional editions of these operating systems, IIS isn t part of the default installation. To install IIS,
Some of the chapters in this book include sample programs built with Visual Studio .NET and provide Visual Studio .NET “specific instructions. You don t have to have Visual Studio .NET to build code that targets the .NET Framework; the SDK comes with command-line compilers. However, Visual Studio .NET offers a highly integrated development environment that makes writing, testing, and debugging code easier. If you don t already own a copy of Visual Studio .NET, you can purchase one from Microsoft. For more information, visit http://msdn.microsoft.com/vstudio/howtobuy.