Presentation is loading. Please wait.

Presentation is loading. Please wait.

Understand Click Once Deployment 98-362 Windows Development Fundamentals LESSON 5.1B.

Similar presentations


Presentation on theme: "Understand Click Once Deployment 98-362 Windows Development Fundamentals LESSON 5.1B."— Presentation transcript:

1 Understand Click Once Deployment 98-362 Windows Development Fundamentals LESSON 5.1B

2 98-362 Windows Development Fundamentals LESSON 5.1B Lesson Overview How are Windows-based applications deployed using Click Once technology? In this lesson, you will learn about:  Deploying a project with Click Once

3 98-362 Windows Development Fundamentals LESSON 5.1B Anticipatory Set  Use Microsoft Visual Studio ® to create a simple “greeting” application:  — Prompt the user for his or her full name.  — When the user clicks a button, the application greets them by first name only.  For example, typing “John Smith” and clicking the button would result in “Good morning, John” (in either a Label or a Message Box).

4 98-362 Windows Development Fundamentals LESSON 5.1B Click Once Technology  Click Once deployment is intended to overcome three major issues in deployment:  — Difficulties in updating applications  — The impact on the user's computer  — Security permissions  For many applications, Click Once provides a deployment strategy that is easy for the developer to implement and is great for applications that require frequent updates.  Note: for applications requiring more control over the installation process, consider using Windows Installer. — See Lesson 5.1A for more information.  Applications that use Click Once technology are sometimes referred to as Click Once Applications.

5 98-362 Windows Development Fundamentals LESSON 5.1B Click Once Deployment Strategies  Three strategies for deploying Click Once applications:  — Install from the Web or a network share.  — Install from removable media (such as a CD-ROM).  — Start the application from the Web or a network share.  The first two options generally result in a typical Windows installation: Items are added to the Start menu and the Add/Remove Programs group in Control Panel.  The third option allows the user to run the program without navigating through an installation user interface, and then it removes the application when it is closed, leaving nothing in the Start menu or Control Panel.  Note: An application started from the Web or a network share seems to run from the remote source without installation; in fact, the application is installed in a temporary cache on the local computer.

6 98-362 Windows Development Fundamentals LESSON 5.1B Installing from the Web or a Network Share  The application is deployed to a Web server or network share, where the user can open the file.  Then the application is downloaded, installed, and started.  — Adds the application to the Start menu and Control Panel for continued use on the target computer.  Requires network connectivity, so is generally useful for users on a LAN/intranet, or users with a broadband Internet connection.  The default Click Once deployment strategy

7 98-362 Windows Development Fundamentals LESSON 5.1B Installing from Removable Media  The installation application is deployed to removable media, such as a universal serial bus (USB) drive or a CD-ROM.  — The Click Once user interface refers to CD-ROMs and DVD-ROMs, but the developer can specify any disk path.  Installed from the removable medium just as it would be installed from a Web site or network share.  It does not depend on network connectivity, so it is useful for users without full- time connectivity or users with low-bandwidth Internet access.  Note: Applications use network connectivity to check for and download updates.

8 98-362 Windows Development Fundamentals LESSON 5.1B Starting the Application from a Remote Location  The application is deployed to a Web server or network share and started just as when installing from the Web or a network share.  The user sees no installation user interface, and the application starts.  Upon closing the program, it is no longer available on the local computer.  It requires a network connection.  It is typically employed for applications that are used infrequently, and then only if users have persistent high-bandwidth network connectivity.

9 98-362 Windows Development Fundamentals LESSON 5.1B Click Once Update Strategies  A Click Once application periodically checks for updates and downloads changed files.  Three update strategies are available:  — Check for updates on application startup.  — Check for updates in the background after application startup.  — Provide a user interface for updates.  Other update-related features available with Click Once:  — Disabling update checks.  — Specifying how often the application checks for updates.  — Requiring an update before the application can be run.  When an update is ready for deployment, publish to the specified website.  Note: Update strategies are independent of deployment strategies; these options are available for applications installed via Web server or removable media.

10 98-362 Windows Development Fundamentals LESSON 5.1B Deploying with Click Once  Use the following MSDN article to try each deployment option with the program that you opened or created at the beginning of this lesson: http://msdn.microsoft.com/en-us/library/31kztyey.aspx.

11 98-362 Windows Development Fundamentals LESSON 5.1B Lesson Review  Summarize the different ways that Click Once applications can be deployed.  Explain the different update-checking options available with Click Once.


Download ppt "Understand Click Once Deployment 98-362 Windows Development Fundamentals LESSON 5.1B."

Similar presentations


Ads by Google