Reader Level:

Building a Web Site using Visual Studio 2005

By Mahesh Chand on Apr 13, 2005
This article gives you a glimpse of new features of Visual Studio 2005. In this article, you will see the power of Visual Studio and how easy it is to build Web sites using new controls without even writing a single line of code.

Visual Studio 2005 codename Whidbey is the successor of Visual Studio 2003, which comes with .NET Framework 2.0 and certainly is the most powerful tool for developers. It not only provides a neater and easily manageable IDE, it also brings more powerful and customizable user interfaces for both Windows and Web developers. See What's new in Visual Studio 2005 for more details.

In this article, you will see how easy is it to develop a full fledged Web site in no time using Visual Studio 2005.

Create a new Web site application using File->New->Web Site menu of Visual Studio 2005, which launches the dialog shown in Figure 1. As can see from Figure 1, there are six different options including empty, general, Intranet, and Internet web sites, Web services, and Crystal Reports application.

Figure 1.

In our case, I select ASP.NET Internet Site. You may also have noticed that there is no IIS option on this dialog for asking us to provide a virtual directory. Now Visual Studio 2005 no longer required IIS and this Web site is launched on a random port.

Now click OK to create the Web site project.

That's it. Your Web site is ready to launched. Now if you run the application, the output looks like Figure 2.

Mahesh Chand
Mahesh Chand

C# Corner founder, 11-times Microsoft MVP, technical author, and solutions architect. Mahesh authored his first book, A Programmer’s Guide to ADO.NET in C# with APress at the age of 25. C# Corner is a mem... Read more