PrepAway - Latest Free Exam Questions & Answers

What should you do to configure the New Web site dialog box in Visual Studio 2005 to meet your requirements?

You use a Microsoft Windows XP Professional client computer named Certkiller -WS528 as your development computer. Internet Information Services (IIS) is installed on Certkiller -WS528. All ASP.NET 1.1 Web applications hosted by IIS on Certkiller -WS528 are accessed on port 80. You are required to develop a new ASP.NET inventory application named CKInvtry that will be integrated into Domain.com’s existing e-Commerce Web site. You want to store all source files for the CKInvtry application in the
C:InetpubwwwrootCKInvtry folder on TESTING-WS528. During development you must be able to access CKInvtry at the URL “http://localhost:80/CKInvtry”. You need to configure the New Web site dialog box in Visual Studio 2005 to meet your requirements.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
In the Location field, select File System and set the location to http://localhost/CKInvtry.

B.
In the Location field, select HTTP and set the location to C:InetpubwwwrootCKInvtry.

C.
In the Location field, select File System and set the location to C:InetpubwwwrootCKInvtry.

D.
In the Location field, select HTTP and set the location to http://localhost/CKInvtry.

Explanation:

When you select HTTP in the location field, Visual Studio 2005 will create and configure a Web application in IIS. The source files will be stored in folder associated with the Web application in IIS. By default this is a folder in C:Inetpubwwwroot.

Incorrect Answers:
A, C: When you select File System in the Location field, Visual studio allows you to create the Web application in a specified folder. However, you will not be able to access the application on port 80 as port 80 is used by IIS.
B: When you select HTTP in the location field, you must specify the URL for the project and not the path. The folder path must be configured in IIS.


Leave a Reply