3层应用程序:更新系统 [英] 3 layer application: Update System

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

问题描述

大家好,



i有一个应用程序检查来自网站的更新,如果网站版本较新,它会删除当前的.exe并将其替换为网站上的.exe。



在一层申请的情况下,我很确定它的好用!



现在,应用程序是多层的(UI(winform项目)-logic(库)-Data(库))。



如果我想要更新系统,应该替换哪些文件?



Ps:Ado.net和实体框架的数据访问层



谢谢

Hi all,

i have an application that checks for update from a website, if the website version is newer , it erase the current .exe and replace it with the .exe in the website.

In the case of one layer application, i am pretty sure its good enought!

Now, the application is multi layers (UI(winform project)-logic(library)-Data(library)).

If i want to update the system, what are the files that should be replaced?

Ps: Data access layer with Ado.net and entity Framework

Thanks

推荐答案

你好Ziee-M,



你首先列出来什么所有的文件将在单层应用程序时被替换。



如果应用程序是单层或多层,则逻辑层和数据层被引用到第三层图层用户界面肯定。



由于其他2层是参考所有Final DLL都将在UI层Bin文件夹中显示。



现在您可以将UI Layer视为单层应用程序并修改该文件夹和TEst中的更改应用程序,很可能应该工作正常。



Thansk!
Hi Ziee-M,

You first list out what all the Files will be replaced when its a Single Layer Application.

IF the Application is Single layer or Multilayer, the Logic Layer & Data Layer are refereced to the third layer UI for sure.

As the other 2 layers are reference all the Final DLL will be avaialbl in the UI layer Bin folders.

Now you can consider the UI Layer as Single layer application and modify the changes in that folder and TEst the application, most probably that should work fine.

Thansk!


我认为如果你创建两个exe将是最好的。 1用于更新检查器和下载器,另一个是您的应用程序。你没有提出任何问题。第一个应用程序更新检查程序找到新的更新exe并静默下载并替换您的应用程序。
I think It will be best if you create two exe. 1 for update checker and downloader and another one is your application. That you don't fetching up with any problem. first application update checker find new update exe and download it silently and replace your application.


这篇关于3层应用程序:更新系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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