|
"Hello World" Program, Your First. |
|
|
|
|
|
|
1.Start VWD from the Windows Start menu if you haven’t done so already. The
first time you start VWD, there is a long delay before you can use VWD because
it’s busy configuring itself. Subsequent starts of the application will go much
faster.
By going to Start> Program> Microsoft Visual Web Developer 2008 Express Edition
[click].
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
2.Visual Web Developer 2008 Express Edition [which I refer to as VWD in this
chapter to save ink] also has the potential to help simplify the development of
your Web applications. With a bit of practice, you’ll soon find yourself
bouncing around the various windows like a pro. And when you are, you’ll find
that creating, debugging, and testing your Web applications takes a lot less
work than it used to. |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
3.Creating a New Web Site The first thing you’re likely to want to do after
surveying the Start Page is to begin creating a new Web site. And, as you might
have guessed, the Getting started section on the Start Page is the place to do
that. Click the Create a New Web Site like. Or, if you prefer, you can choose
File New Web Site. Either way, the New Web Site dialog box appears, as shown in
Figure. Selecting the location and language Once you’ve selected the template
you want to use, it’s time to select a location, name and language for your
site. Regardless of the template you choose, there are a few more options on
this New Website dialog that you need to specify: Location identifies where you
new application will be placed.
By going to Start List by creating a Web Site to the File> New Web Site ... [click].
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
4.Select type of projection is a List ASP.NET Web Site. |
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
5.Click on [Browse ...] to select the projection for the store explained.
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
6.Four examples of the building's de stored at D:/Chapter1 (by typing the name
of De Four's visit), click on the button [Open].
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
7.VWD will ask if want to create Four's de name's D:/Chapter1? To build click
on the button [Yes].
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
8.Click OK. VWD create a new website for you to have a standard ASP.NET page
called Default.aspx and Web.config is empty - App folder data as shown in
Figure. Also open Default.aspx file so you can see the code for the page.
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
9.Will have a desk for the projection of the detectors such as web.config,
Default.aspx.
Files that remain on the screen is a Default.aspx your first program.
The Solution Explorer Window Your anchor is the Solution Explorer. It’s in the
upper-right corner of the primary window, by default. This is where you can get
a bird’s-eye view of your project, its folders, and its files. When you first
create a new site, there’s not much in the Solution Explorer – just the site
folder at the top, an App-Data folder below it, and a default. aspx page below
that. But as you add more pages and components to your site, they’ll appear in
this window. And if you ever want to work with a page, you can simply double
–click the page in this window to open it in the Document window. |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Row 12 )...... Insert here ...........
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
11.Click [Save] to save the changes.
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
12.Click [View in Browser] to test the functionality.
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
13.If in the pictures. Congratulations is your first ASP.NET application
successfully.
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
 |
Select language writing ASP.NET VB or C# good ?
|
|
|
|
|
|