向客户提供 C# 和 MySQL 开发的应用程序软件更新的方法

发布于 2024-08-18 08:06:30 字数 162 浏览 2 评论 0原文

我们有一个用 C#.Net 开发的产品。它不是网络应用程序,而是桌面版本。它连接到各种数据库,如 MSSQL、MySQL 等。

我们不断升级软件版本以修复错误并添加新功能。 这些更新更改了所使用的 exe 和 dll 以及数据库。

我们想知道可以使用哪些不同方法向客户提供更新。

We have a product developed in C#.Net. It is not a web application but a desktop version. It connects to various databases like MSSQL, MySQL etc.

We keep on upgrading the versions of the software for bug fixes as well as new functionality.
These updates changes the exe as well as dll used and the database also.

We would like to know what are the different methods using which we can provide updates to our customer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

复古式 2024-08-25 08:06:30

考虑使用 ClickOnce 部署应用程序。让您的用户可以轻松地从 Web 服务器安装应用程序,并且它具有自动更新支持。它与 Visual Studio 集成,只需按一下按钮即可生成您需要的内容。

Consider deploying your app with ClickOnce . Lets your users easily install the application from a web server, and it has automatic support for updates. It's integrated with visual studio, and will generate the stuff you need with the push of a button.

画骨成沙 2024-08-25 08:06:30

嗯,有几条不同的路径可供选择。

简单:只需提供一个新的安装程序来覆盖以前的安装即可。准备好后向客户发送电子邮件,或者只是将其放在您的网站上。

中级:在您的应用程序中提供“检查新版本”功能,将其版本号与从您这边的 Web 服务检索到的版本号进行比较。启动浏览器下载它并在必要时运行安装程序...

最好(恕我直言):
为您创建一个包装应用程序。这个包装器是当他们单击您的图标时实际启动的。它会检查新版本(每隔几周再次检查一次),如果一切正常则关闭主程序。如果存在更新,用户可以选择下载它。下载该文件并替换真实的应用程序。然后启动它。顺便说一句,这与 Firefox 模型非常接近。

Well, there are several different paths to take.

Simple: Just provide a new installer that overwrites the previous installation. Send the clients an email when it's ready or simply put it up on your site.

Mid level: Provide a "check for new version" function in your app that compares it's version number to one retrieved from a web service on your side. Fire up a browser to download it and run the installer if necessary...

Best (IMHO):
Create a wrapper application for yours. This wrapper is what would actually be started when they click your icon. It would check for new versions (again once every couple of weeks), then fire off the main program if everything is good. If an update exists give the user the option to download it. Download the file and replace the real app. Then launch it. BTW, This is pretty close to the Firefox model.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文