ArticleDirectory
I often find that I have asked the client to automatically update the problem. I sorted out a common method I used to see and put it online for your use.
DetailsCodeHttp://cid-56b433ad3d1871e3.office.live.com/self.aspx/.Public/%e8%87%aa%e5%8a%a8%e6%9b%b4%e6%96%b0%e5% AE %a2%e6%88%b7%e7% AB %af%e4%be%8b%e5%ad%90.rar
System Structure Server
Automatic Update Service: This is deployed on the Web server. If a new version is available, you only need to put it under the automatic update service \ app_data \ update directory.
[Note: each time you update a version, you need to update the software version, that is, the assemblyinfo. CS file of the solution, similar to the following content.
[Assembly: assemblyversion ("1.0.0.1")]
[Assembly: assemblyfileversion ("1.0.0.1")]
Change this content when updating the version.
]
Client
MyApp: You need to check the version [Reference "Auto Update Service"] at each startup, and decompress and update the version when a new version is available.
For details, refer to the detailed code.
[I cannot remember where this method was originally found. If you posted it, please leave a message and I will add your copyright information]