Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

Lesson 1: Visual Studio 2012 CHAPTER 1 11


FIGURE 1-5 Almost empty ASP.NET Empty Web Application

By default, the Solution Explorer window is on the right side. Under the Solution Explorer
window is the Properties window. The Properties window is context-sensitive and contains the
properties of the currently selected item. The properties are visible in this window, and most
are also configurable.
On the left side of the screen is the toolbox. By default, the toolbox is a tab that you can
point to to open the window. The toolbox is also context-sensitive, so different tools are avail-
able based on what is being displayed in the center window.
You can add a webpage to the project by right-clicking the project node
(WebApplication1) and then navigating to Add | New Item | HTML Page. If you name the
page default.html, the web server automatically delivers the page to a browser that navi-
gates to your website but doesn’t specify the name of a webpage to retrieve. After adding
the webpage, you can enter some text, such as a Hello World message, into the body of the
webpage. When you press F5, you see the message in the browser.

Lesson summary


■■The free editions of Visual Studio 2012 are the Express editions: Visual Studio
Express 2012 for Web and Visual Studio Express 2012 for Windows 8. You can use the
Express editions to work with HTML5, CSS3, and JavaScript.
■■Use Visual Studio Express 2012 for Web to develop web applications. Use Visual Studio
Express 2012 for Windows 8 to develop Windows 8 applications.
Free download pdf