自动更新Compact Framework应用程序代码 [英] Automatically updating Compact Framework application code

查看:165
本文介绍了自动更新Compact Framework应用程序代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个Compact Framework应用程序供传送驱动程序使用。它运行在SQL CE数据库上,并连接到Web服务器上的WCF服务。当我发布新版本时,我需要一种更新系统的方法。



我希望可以在Web服务器上的新文件夹中安装新版本的WCF代码,然后以某种方式触发移动设备更新本地CF应用程序,并连接到新的WCF服务URL。到目前为止,我发现了两个框架:



WmAutoUpdate
http://github.com/seboslaw/wmautoupdate



AppToDate
http://www.modaco.com/category/332/apptodate/



和一些来自Microsoft的旧示例代码:



.NET Compact Framework示例:Auto Updater
http://www.microsoft.com/downloads/en/details.aspx?FamilyID= 8FC47C2C-FC61-4D82-ABAE-F34DC1BFCD3F& displaylang = en



在我花了几个小时调查这些选项之前,我希望有其他人有一些提示过去了不同框架和技术的优缺点是什么?我已经阅读了关于这个主题的各种其他帖子,但他们没有包括对这些框架的评论。



干杯

Mark

解决方案

这些是开始的好地方。



如果你使用的是tighlty锁定下载设备和限制互联网访问(我怀疑你是),那么AppToDate可能不合适。根据您如何锁定设备,您可能必须自己写一些内容。 WmAutoUpdate应该是一个很好的起点。



与您使用的设备的制造商交谈,许多人都有自己的软件解决方案来解决这个问题。 / p>

I've built a Compact Framework application to be used by delivery drivers. This runs on a SQL CE database and connects to a WCF service on a web server. I need a way to update the system when I release new versions.

I'm hoping that I can install a new version of the WCF code in a new folder on the web server and then somehow trigger the mobile devices to update the local CF application and also connect to the new WCF service URL. So far I've found 2 frameworks:

WmAutoUpdate http://github.com/seboslaw/wmautoupdate

AppToDate http://www.modaco.com/category/332/apptodate/

And some old sample code from Microsoft:

.NET Compact Framework Sample: Auto Updater http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8FC47C2C-FC61-4D82-ABAE-F34DC1BFCD3F&displaylang=en

Before I spend hours investigating these options I'm hoping for some tips from others who have gone before. What are the pros and cons of the different frameworks and techniques? I've read various other posts on this topic but they haven't including reviews of these frameworks.

Cheers
Mark

解决方案

Those are good places to start.

If you're using a tighlty locked down device and restricting internet access (as I suspect you are) then AppToDate may not be appropriate. Depending on how you're locking down the devices you may have to write something yourself. WmAutoUpdate should serve as a good starting point for this.

Talk to the manufacturers of the devices your using also, as many have their own software solutions to just this issue.

这篇关于自动更新Compact Framework应用程序代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆