Menus and Toolbars

Many of the menu entries and icons on the toolbar are familiar items for any Windows user. The File menu contains commands to create, open, save, close, print, and preview files. The Edit menu contains commands that allow you to undo or re-do your recent edits, to cut, copy, paste, and select text, as well as the usual Find and Replace options and a command to go to a specific line in the page. The Edit menu also contains commands to add code snippets (something we'll look at when we examine...

Editing Data List Templates

When the currently selected control in Design view for an ASP.NET page or User Control is a DataList, you can edit the templates for that control using the Edit Templates command on the Edit menu. Alternatively, you can right-click on the DataList control within the page in Design view to open the context menu seen in the previous section, and select Edit Templates. Both actions open the Edit DataList Templates dialog. Templates define the appearance of the various sections of the control's...

The Preferences Dialog

You can access the Web Matrix Preferences dialog from the Tools menu. It allows you to modify several features on the IDE. In the General section, under the single current entry Application, you can specify what action should take place when Web Matrix starts show the New File dialog, the Open File dialog, or neither and control how many entries should appear in the list of recent files on the File menu - the packages that actually implement Web Matrix - the assemblies to create each project...

Why Use Web Matrix Instead of Visual Studio NET

Before we look in detail at Web Matrix, it's worth exploring the differences between it and Visual Studio .NET. After all, why should Microsoft provide two different development environments for ASP.NET The answer is that they complement each other - they target different types of development. Visual Studio .NET is an excellent team development environment, which - when integrated with a source file control system such as Visual SourceSafe - provides for the safe and consistent management of...

Road Map to the Web Matrix IDE

The Web Matrix IDE is designed to provide a familiar interface for developers who have used Visual Studio .NET. It includes the usual menu bars and toolbars across the top, a toolbox down the left, various project windows down the right, and a status bar across the bottom. The following screenshot shows the default layout for a new ASP.NET page In the current release, the toolbox and project windows are not moveable, though they can be re-sized, and the Toolbox can be hidden. The main work area...