InfoQ

News

Assigning File Types to ClickOnce Applications

Posted by Jonathan Allen on Feb 20, 2008 06:47 PM

Community
.NET
Topics
Rich Client / Desktop,
Deployment / Datacenter
Tags
ClickOnce

ClickOnce is a deployment technology used primarily for WinForms based applications. It supports automatic updates and can be launched from either a website or the Start menu. When using the former, query string arguments in the URL are passed to the application.

Using a technique described by Mike Wade, file types can also be associated with ClickOnce applications. This is done by adding a file association tag to the applications manifest file. For Visual Studio users, this means adding an app.manifest file, which will be automatically merged into the full manifest when publishing.

Mike Wade lists a number of rules that must be followed,

  • Values must be given for all 4 xml attributes
  • File associations only work for pure ClickOnce applications. That means that browser-hosted applications and Office documents can't take advantage
  • The application must be targeting the 3.5 version of the .NET Framework
  • The application must be full trust
  • The application must be installed (not run from web)
  • There is a limit of 8 file associations per application

No comments

Reply

Exclusive Content

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.

Architectures of extraordinarily large, self-sustaining systems

Can a system that is so large it cannot be comprehended be "designed" in a conventional sense? The foundations of computing are about to change. In this talk, Richard P. Gabriel explores why and how.

Using Ruby Fibers for Async I/O: NeverBlock and Revactor

Ruby 1.9's Fibers and non-blocking I/O are getting more attention - we talked to Mohammad A. Ali of the NeverBlock project and Tony Arcieri of the Revactor project.

Agile and Beyond - The Power of Aspirational Teams

Tim Mackinnon talks about the aspirations behind the Agile principles and practices, the desire to become efficient, to write quality code which does not end up being thrown away.

Concurrency: Past and Present

Brian Goetz discusses the difficulties of creating multithreaded programs correctly, incorrect synchronization, race conditions, deadlock, STM, concurrency, alternatives to threads, Erlang, Scala.

ActionScript 3 for Java Programmers

Often the hardest part of changing technologies is language syntax differences. This new article provides Java developers with a transition guide to Actionscript which forms the foundation of Flex.

Neal Ford On Programming Languages and Platforms

Neal Ford talks about having multiple languages running on one of the two major platforms: Java and .NET. He also presents the advantages offered by Ruby compared to static languages like Java or C#.

Future Directions for Agile

David Anderson talks about the history of Agile, the current status of it and his vision for the future. The role of Agile consists in finding ways to implement its principles.