The .NET Framework is a
Windows itself—the operating system—is a collection of programs. It has programs for displaying information on the screen, other programs for reading and writing to the disk, and still others for printing to the printer. Obviously, this explanation is greatly simplified. As you know, Windows contains hundreds of millions of bytes of code, many of which are devoted to terrifically abstruse
Traditionally, if you wanted to get Windows to print a document, for example, you wrote a program that called the Windows printing program. Also traditionally, you wrote this program using a language such as C, which for various reasons was well-suited to talking to Windows at the esoteric level that Windows preferred. (A notable exception to this tradition is Visual Basic, which makes Windows programming accessible to non-C programmers.) Programming Windows with C in this way has some disadvantages, however. One
The .NET Framework, then, is an extra layer of programs between you and the programs that
At this point, you might be saying, “All this information is fine, but where is the .NET Framework?” You can download and install the .NET Framework for free. (I’ll explain how to install it in Chapter 3.) After you’ve installed the .NET Framework, you’ll find that it’s just a collection of programs that you can call through the Web pages you write. In this book, we’ll be
ASP.NET is the engine and the box of attachments, but it’s up to us to put the attachments together and get them into a running whole. An expert
Figure 2-2:
Web Matrix provides a WYSIWYG environment for programming Web pages with ASP.NET.
Web Matrix is to ASP.NET what a product such as Microsoft FrontPage is to HTML pages—although you could create pages by hand, using the tool is easier, faster, and less prone to errors. Plus it’s more fun. With some
You might have hesitated slightly over the word “free” in the description in the previous section. Can it be true that Web Matrix is a totally free program? You bet. Is there a catch? There is, but the “catch” is actually a feature. Microsoft doesn’t directly support Web Matrix, which is to say, you can’t call up tech support and ask questions. Instead, Web Matrix is a community-supported product. Microsoft maintains a Web site (http://asp.net; isn’t that clever?) for ASP.NET and Web Matrix. On the site are forums where users can discuss those products, read documentation, post questions, and even download and upload code. For example, if you have a question about Web Matrix, you can post a question, and someone, not
A very cool feature of Web Matrix is that the community is built right into the product, so to speak. No documentation with the product is available; instead, the Help menu leads you to the community site. Similarly, the community window in the product leads you to the forums, public newsgroups, tutorials, and a place where you can report
|
|
Microsoft has another product for creating ASP.NET applications: Microsoft Visual Studio .NET. Visual Studio .NET is a professional development environment for creating not only programmed Web pages, but also any kind of application that Microsoft .NET can be used to create. In addition, Visual Studio .NET has many additional features to support professional developers, including an integrated debugger, performance-monitoring tools, code library facilities, and much more. Naturally, Visual Studio .NET is not a free product.
What is the relationship of Web Matrix to Visual Studio .NET? Web Matrix is a comparatively simple tool that focuses on only one task— namely, creating ASP.NET Web pages. It doesn’t include all the facilities that professional programmers use, such as the debugger. Web Matrix also doesn’t have some of the handy features of Visual Studio .NET such as IntelliSense (automatic statement completion) or early error checking.
In short, Visual Studio .NET is the professional tool and Web Matrix is the tool for folks who just want to create programmed Web pages. If you were setting out to create a commercial Web site, I’d say sure, get Visual Studio .NET. For what we’ll do in this book, though, you’ll find that Web Matrix is a great little tool.
|
|