简体   繁体   English

多个应用共享相同的参考数据。 。

[英]Multiple apps sharing same reference data . .

I have multiple winforms applications that download large sets of reference data on startup. 我有多个winforms应用程序,这些应用程序在启动时会下载大量参考数据。 I realized that there might be a more efficient way to store this data locally instead of duplicating the memory in everyone one of the applications. 我意识到,可能存在一种更有效的方法来本地存储此数据,而不是在每个应用程序中的每个应用程序中复制内存。 This data is used for large drop down pick lists and data mappings. 此数据用于大型下拉选择列表和数据映射。 Does anyone have an out of process memory map solution or something that would allow this to avoid the duplication and reduce memory overhead in each applications. 是否有人拥有进程外内存映射解决方案或某种可以避免重复内存并减少每个应用程序内存开销的解决方案。

  1. you can use Microsoft Enterprise SSO to store configuration data (this might be an overkill). 您可以使用Microsoft Enterprise SSO来存储配置数据(这可能太过分了)。 the data will be accessible through SSO API. 数据将通过SSO API访问。 SSO Configuration Store SSO配置存储

  2. make a windows service to cache data for you and you can access data through IPC 提供Windows服务来为您缓存数据,您可以通过IPC访问数据

  3. can use .Net remoting to access data across applications 可以使用.Net远程访问跨应用程序访问数据

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

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