是否有可能引用添加到现有的应用程序 [英] Is it possible to add a reference to an existing application

查看:149
本文介绍了是否有可能引用添加到现有的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的WinForms和MS Access开发解决方案。在规划阶段它已经很清楚,实际上有三个独立的应用程序,两个主要的应用程序,和一个较小的应用程序,将被用于保持并存储一些数据,该数据然后由另外两个

I am using WinForms and MS Access to develop a solution. During the planning stages it has become clear that there are actually three separate apps, two main apps, and one smaller app that will be used to maintain and store some data which is then used by the other two.

,而不是仅仅通过查询小应用程序的数据库我在想通过在较小的应用程序的接口,然后可以使用的较大的曝光方法,有点像的API。访问来自主应用程序的公共数据

Rather than the just access the common data from the main apps by querying the smaller app's database I was thinking about exposing methods via an interface in the smaller app that can then be used by the larger ones, kinda like an api.

我的问题是,这可能吗?也许通过增加提及已部署的应用程序?是否有解决这个任何的最佳做法,如果较小的应用程序的新版本部署会发生什么,将是打破参考?

My question is, is this possible? Maybe by adding a reference to an already deployed app? Are there any best practices around this, what would happen if a new version of the smaller app is deployed, would that break the reference?

我已经做了这方面的一些研究,但只能找到信息相关的网络服务或创建公共库的dll /框架,这是我很熟悉,但我认为这是一个稍微不同的情景。

I've done some research on this but can only find info related to web services or creating common library dlls / frameworks which is something I'm familiar with, but I think this is a slightly different scenario.

我将十分AP preciate任何指导/意见,

I'd very much appreciate any guidance / advice,

干杯,

杰米

推荐答案

是的,这是可能的,但你应该共同使用创建的库inseted应用程序。那么这是库可以加入作为参考的任何应用程序。

Yes, it's possible, but you should create library inseted app for common using. Then this is library can be added as reference to any application.

这篇关于是否有可能引用添加到现有的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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