A.2. Chapter 2

A.2.1.

A.2.1.1.
A.2.1.1.1. Exercise 1 solution

A number of files fall in the web files category, including .aspx files (Web Forms that end up as pages in the web browser), .html files (that contain static HTML for your site), .css files that contain Cascading Style Sheets information and .config files that contain configuration information for the web site. Refer to the table with the different file types in Chapter 2 for a complete list of files.

A.2.1.1.2. Exercise 2 solution

When you want to make a piece of text both bold and italicized you need to select the text and then click the Bold button in the Formatting toolbar. Next you need to click the Italic button. The final HTML code in the page should look like this:

<b><i>Welcome to Planet Wrox</i></b>
A.2.1.1.3. Exercise 3 solution

The first way is using the Solution Explorer. Right-click your project, choose Add Existing Item and then browse for the item(s) you want to add.

Secondly, you can drag and drop files from Windows Explorer or from your desktop directly into a VWD project.

As a third alternative, you could put the files directly in the project's folder using Windows Explorer. For example, files you add to the folder C:\BegASPNET\Site become part of your web site automatically. If you don't see the new files appear in VWD directly, click the Refresh icon on the Solution Explorer toolbar.

A.2.1.1.4. Exercise 4 solution

In VWD, you have three different views on your code: Design View, Markup View ...

Get Beginning ASP.NET 3.5: In C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.