简体   繁体   English

使用WCF更新现有的asp.net项目

[英]Update existing asp.net Project with WCF

I have eCommerce ASP.net Project, This project have 20 important dlls and more java script files when i want to update website for my clients i have to give them dlls and js files and ask them to replace new files with old files and many many troubles. 我有电子商务ASP.net项目,这个项目有20个重要的dll和更多的java脚本文件,当我想为我的客户更新网站时,我必须给他们dll和js文件,并要求他们用旧文件和许多文件替换新文件烦恼。


But I want to create system like web service to update each client automatically like antivirus Update ! 但我想创建类似Web服务的系统来自动更新每个客户端,就像防病毒更新一样!

Is That even possible ! 这甚至可能!

How about ClickOnce ? ClickOnce怎么样?

It's a microsoft tool that allows you to update the client automatically. 它是一个微软工具,允许您自动更新客户端。 When the client opens the application, it asks the server if there are any updates - If there are, it downloads them and updates. 当客户端打开应用程序时,它会询问服务器是否有任何更新 - 如果有,它会下载并更新。 If not - nothing special happens and the app just start regulary. 如果没有 - 没有什么特别的事情,应用程序只是开始定期。

A Web Deploy Package works quite nicely. Web部署包非常有效。

Create Package: right click Publish and choose Web Deploy Package . 创建包:右键单击“ Publish然后选择“ Web Deploy Package This creates a .zip deploy package, which you can then easily import into IIS. 这将创建一个.zip部署包,然后您可以轻松导入到IIS中。

Deploy to IIS 7: right click your site -> Deploy -> Import Application -> Navigate to the .zip deployment package, that's it. 部署到IIS 7:右键单击您的站点 - > Deploy - > Import Application - >导航到.zip部署包,就是这样。 Here's a detailed walkthrough 这是一个详细的演练

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM