<

ClickOnce as an application delivery mechanism

Published on
9,070 Points
2,970 Views
1 Endorsement
Last Modified:
Approved
ClickOnce as an Application delivery Mechanism

Introduction

ClickOnce is a mechanism for application delivery from Microsoft which was released with Visual Studio 2005. It is designed to operate in a similar fashion to Java Web Start, Adobe Flash or Microsoft Silverlight technologies. The application itself is downloaded to the local machine from a Web URL location and run in a sandbox type environment. The goal is to mix the ease of deployment advantage of a web application with the flexibility of a thick client application.

The primary rationale for choosing Web based application development are accessibility and deployment. Using traditional thick clients installed by MSI the user can get a full application experience but software installation and updates can be difficult to manage. Using a web based delivery mechanism all you need is a browser pointing at the centralized URL to deliver the application to the user. This approach however presents its own challenges particularly trying to “webify” a traditional application as well as tracking transactional application state using web code. ClickOnce bridges the gaps between these two approaches allowing you to run traditional thick client applications via a centralized delivery mechanism.

The ClickOnce delivery methodology is particularly useful for applications that require frequent updates.

How it works

Application is created and published to a file server or web server
Users browse to the applications publish.htm file
Application is automatically installed on the users machine (c:\documents and settings\...)
Shortcut to the application published to the desktop/Start Menu as well as an uninstall mechanism in the add/remove programs.
Application is run locally by the user. Application code determines how the application operates (e.g. check for updates, available offline etc.)

Comparison of approaches


Web Deployment
Advantages
Easy quick deployment
Centralized application repository
Disadvantages
Requires application to be converted to a web enabled view

MSI Deployment
Advantages
Controlled fully by administrators
Can be run as a thick client
Disadvantages
Requires administrator intervention to install and update

Click Once deployment
Advantages
Easy Quick Deployment
Centralized updates
Centralized Application repository
Runs in an isolated sandbox (does not affect other application)
Does not required administrator application
Can be run as a thick client
Disadvantages
Needs to run from C:\Documents and Settings
Application cannot be uninstalled centrally
1
Comment
Author:walshdj
1 Comment
 
 

Administrative Comment

by:Eric AKA Netminder
walshdj,

Congratulations! Your article has been published.

ericpete
Page Editor
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Join & Write a Comment

This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month