WinForm ClickOnce to the WAN

Source: Internet
Author: User

The ClickOnce smart Client, a technology that Microsoft provides earlier, can automatically update applications that implement WinForm development, eliminating the hassle of upgrading each client.

From the online postings, some say it works, some say it is not useful. Objectively speaking, Microsoft's things are very easy to use, the reason is not good for us to use. Microsoft technology is easy to get started, proficient in difficult, need to constantly explore and research, to be flexible to use. Of course, I'm not Microsoft's navy, but I'm using net to develop ... Well, the nonsense is not much to say, the following introduction of this technology.

On the Internet to find the relevant information, found that the two articles are very comprehensive. Do not know the children's shoes can be read in detail, I do not have to paste copy, so there is no technical content

ClickOnce deployment

All aspects of ClickOnce deployment WinForm Programs

Here are some of the problems and summaries I have encountered in the process of using. My scenario is to publish and then copy the application to the server. Note: It is not published directly on the server. Therefore, I am publishing the file system, not publishing it to the IIS site, as shown in

Step 1: Right-click the project, select: Properties menu. Go to: Publish Page

Step 2: Set up the application files

Note: If some of the referenced DLL files are not being used, they can be excluded. It's not going to go in when it's packed. Note: The Publish Status option, each option feature is different

Step 3: Set the update location. That is, the site in the WAN

Step 4: Set options

After the setup of the above steps, click Publish, the release is successful. As shown

However, when we download on the WAN, we will still be prompted to download the failure, the reason: the downloaded address or the address within the LAN. Here is the simplest way to directly modify the contents of the Publish.htm file. As shown

Modify this button directly.

See clear Wood has, direct download. Application files can be downloaded without downloading the Setup.exe file

WinForm ClickOnce to the WAN

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.