Web Matrix: Enabling Web Programming for the Rest of Us


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 user can use ASP.NET with an application such as Notepad to create pages, add controls, program with data, and otherwise put ASP.NET through its paces to produce programmed Web pages. However, most users would likely find the process of creating Web pages with ASP.NET on their own daunting, not to mention way too tedious. Is there an easier way to use ASP.NET to create programmed Web pages? Yes: Web Matrix, the subject of this book. Web Matrix is a free tool that gives you a WYSIWYG (What You See Is What You Get) environment for creating Web pages and programming them with ASP.NET, as shown in Figure 2-2. For example, Web Matrix allows you to drag controls such as text boxes and buttons from a toolbox onto your page and double-click these controls to start programming.

click to expand
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 imagination, you can think of Web Matrix as a combination of FrontPage (for editing Web pages) and Visual Basic (for creating and programming forms). This analogy is not quite right, but it might help you picture where Web Matrix will fit into your Web programming future.

Web Matrix and Community

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 necessarily from Microsoft, will answer, often very quickly.

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 bugs.

start sidebar
Web Matrix vs. Visual Studio .NET

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.

end sidebar



Microsoft ASP. NET Web Matrix Starter Kit
Microsoft ASP.NET Web Matrix Starter Kit (Bpg-Other)
ISBN: 0735618569
EAN: 2147483647
Year: 2003
Pages: 169
Authors: Mike Pope
BUY ON AMAZON

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net