08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18<br />

CHAPTER 2 ■ BASICS OF WEB DEVELOPMENT WITH <strong>ASP</strong>.<strong>NET</strong><br />

Figure 2-8. You’ll find out more about the page itself in the next section, but first, let’s finish<br />

looking at the Solution Explorer.<br />

The Solution Explorer is more than just a means to view the files in your project. You<br />

can right-click any item in the window to access a context menu of actions that you can<br />

take with your solution (see Figure 2-9). To get the solution options, it’s best to select the<br />

project name at the top of the Solution Explorer <strong>and</strong> right-click that. Experiment with<br />

right-clicking each of the artifacts within the Solution Explorer to see what other actions<br />

are available.<br />

Figure 2-9. Solution Explorer context options<br />

As you can see, the menu shown in Figure 2-9 is quite a long list. Let’s look at each of<br />

these options.<br />

Build <strong>Web</strong> Site<br />

This option invokes the compiler to build each page <strong>and</strong> element on your web site. The<br />

compiler will check your pages for errors <strong>and</strong> flag them in the Errors window, which is<br />

typically in the middle of the IDE, beneath the code window.<br />

Figure 2-10 shows an example of this. The error is described in the Errors window,<br />

along with metadata such as the file <strong>and</strong> its location. You can double-click the error<br />

description to jump to the error.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!