Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to publish ClickOnce DIRECTLY to Azure Blob Storage?

Is it possible to be able to have the ClickOnce publishing push it to an Azure blob storage container?

If not, is this something that is planned for the future?


I have read the articles about how to publish the ClickOnce deployment and then copy the files up to Azure Blob storage (like: How to deploy ClickOnce to Azure.

like image 609
Jeremy Lattimore Avatar asked Sep 19 '12 20:09

Jeremy Lattimore


People also ask

How do I deploy ClickOnce on Azure?

In the Publish wizard, select Folder. In the Specific target page, select ClickOnce. Enter a path or select Browse to select the publish location. In the Install location page, select where users will install the application from.


1 Answers

The Clickonce process is to package your application in a way which is deployed from a location either on internet or local. Where the final click once package is stored is not maintained by ClickOnce process. I do not know if there is a future plan about it however I don't think there is a need for click once to make Azure blob store dependent. It can be done by customization of build process to package the clickonce content and upload to Azure Blob storage by providing proper credentials.

As you can use MSBUILD to generate Clickonce package you can customize this process further more to upload these clickonce file to Azure Blob storage by writing a very small command line application and automating after MSBUILD finished creating the clickonce package. In this Forum discussion the user have some code snippet to build the cmd line app to upload the package. You sure can come up with something similar to meet your requirement.

like image 105
AvkashChauhan Avatar answered Sep 20 '22 19:09

AvkashChauhan