Can a ClickOnce application be published on Ubuntu?
-
05-07-2019 - |
Question
I have built an application and this is published on a Windows server using ClickOnce. The clients go to the URL, can download and run the application.
The client is now changing their servers to run Ubuntu. Can a ClickOnce application be published on a server running Ubuntu?
The version of Ubuntu is 8.10., and I am using Visual Studio 2008 SP1 and C#.
Solution
Sure can - any file or web server can host a ClickOnce app. However you will need to configure the correct MIME types on the web server
- .application => application/x-ms-application
- .manifest => application/x-ms-manifest
- .deploy => application/octet-stream
OTHER TIPS
Simply add the following to the .htaccess file in your web root (Apache2 Ubuntu)
AddType application/x-ms-application application
AddType application/x-ms-manifest manifest
AddType application/octet-stream deploy
AddType application/vnd.ms-xpsdocument xps
AddType application/xaml+xml xaml
AddType application/x-ms-xbap xbap
AddType application/x-silverlight-app xap
I'm assuming you're trying to use Mono, in which case:
Is it possible to support ClickOnce on Linux?
Yes - but there's still a lot of work required before doing so.Is ClickOnce the best way to distribute applications/updates?
I'm not sure - but popularity != superiority so...From http://lists.ximian.com/pipermail/mono-list/2004-September/023224.html