Microsoft Exam Questions

What deployment strategies can you use to deploy the application on a client computer?

You develop a Windows-based application using Visual Studio .NET. You want to deploy the
application on a user’s computer by using the ClickOnce technology. What deployment strategies
can you use to deploy the application on a client computer? Each correct answer represents a part of
the solution. Choose three.

A.
Install the application from a CD.

B.
Install the application from a client computer.

C.
Start the application from a Web or a network file share.

D.
Install the application from a Web server or a network file share.

Explanation:
The three different deployment strategies for deploying a ClickOnce application are as follows:
The installation of a Windows-based application from a Web server or a network file share is one of
the deployment strategies of the ClickOnce technology. In this deployment strategy, a user clicks an
icon on a Web page or double-clicks an icon on the file share. The application is then downloaded,
installed, and started on the client computer. This is the default deployment strategy and depends

on network connectivity. It is useful to those users who have an access to a local-area network or a
high-speed Internet connection while deploying applications.
The installation of a Windows-based application from a CD is a ClickOnce deployment strategy. This
strategy is used to deploy the application to removable media such as a CD-ROM or DVD. This
strategy is useful when no network connection is necessary for an application installation. It is also
useful with low-bandwidth connections. One of the ClickOnce deployment strategies is to start a
Windows-based application from a Web or a network file share. In this strategy, the application
behaves like a Web application. The application starts when a user clicks a link on a Web page or
double-clicks an icon on the file share. The strategy is more useful for those applications that are
rarely used. In Visual Studio, this strategy is enabled by clicking the Do not install the applicationon
the Install or Run From Webpage of the Publish Wizard.