Inorder to create a new website, you should follow these steps.
- Choose
File --> New --> Web Site
This brings up theNew Web Site
dialog box as show below, and contains a list of the templates available for you for creating a Web site. TheASP.NET Web Site
template is selected by default, and this is the one we will be using here.
- Choose
File System
from theLocation
drop-down menu
The Location drop-down list enables you to choose one of the three types of websites that you can create. They are as follows:File System
– This option creates a Web site that’s run by Visual Web Developer’s built-in Web server, which is called the ASP.NET Development Server, which is the one we will be using.HTTP
– Using this you can create a Web site on an Internet Information Services (IIS) Microsoft’s Web server. This IIS server can run on your computer or another server computer, and this option is used most commonly for professional Web site development.FTP
– This option creates a web site on a remote IIS server to which you do not have HTTP access to. It uses the File Transfer Protocol also known as FTP to upload you Web site files to the server. FTP sites are use commonly when you are working with a hosting service to host your site.
- Type the name and the Location for your Web site in the path text box
File System Web sites are created in “My Document\Visual Studio 2005\Websites” by default. The name of your Web site has to be typed in at the end of this long path. You can also use the Browse button to bring up a dialog box that gives you the ability to browse to the location where you prefer to have the Web site created. - Choose the
Language
you want to use from the Language drop-down menu
The choices available for you are:- Visual Basic
- Visual C#
- Visual J#
- Click OK
After you click OK, the following screen for theDefault.aspx
page is shown opened in theSource
View.