C# 可插拔架构,论文考虑

发布于 2024-12-07 04:33:53 字数 1459 浏览 1 评论 0原文

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

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

发布评论

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

评论(4

酒绊 2024-12-14 04:33:53

托管扩展性框架内置于 .NET 4.0 中,可从CodePlex 作为早期版本的 dll。

The Managed Extensibility Framework is built into .NET 4.0, and is available from CodePlex as a dll for earlier versions.

你与昨日 2024-12-14 04:33:53

我知道 MEF 是微软推荐的可插拔应用框架,但也许一些 IoC 框架也可以帮助你。 MS 推荐的是 Unity(根据 Microsoft Patterns and Praciticies 开发)codeplex 上的 unity

I know MEF as MS recomended framework for pluggable aplications, but maybe some IoC framework can helps you also. Recommended by MS is Unity (developed under Microsoft Patterns and Praciticies) unity on codeplex

李不 2024-12-14 04:33:53

在过去的几年里,我在应用程序中使用过 HTML、WinForms、ASPX、WPF、WCF、Web 服务、Silverlight、PRISM、MEF,我个人的选择(不限制新项目)是:

  • WPF 或 Silverlight(更新:我会更多地转向 WPF,现在 Silverlight 不再得到广泛支持)
  • WCF 服务
  • 像 PRISM(现在包括 MEF)这样的模块化框架

PRISM 是最大的收获,因为您真正构建的组件是松散耦合的,模块可以独立开发,而无需开发人员破坏彼此的代码。

I have used HTML, WinForms, ASPX, WPF, WCF, Web service, Silverlight, PRISM, MEF for applications in the last few years and my personal choices (given no restraints on a new project) would be:

  • WPF or Silverlight (Update: I would swing more towards WPF, now that Silverlight is no longer broadly supported)
  • WCF services
  • A modular framework like PRISM (which now includes MEF)

PRISM is the biggest gain as the components you build really are loosely coupled and modules can be developed independently without developers breaking each other's code.

多情出卖 2024-12-14 04:33:53

对于像牙科诊所这样的特定事物,希望您能够在通用插件框架之上构建一个层。

插件及其容器应该专门针对该域。确定该专业化的最佳方法是枚举适合该软件的几个插件,识别它们之间的共同点并在您的框架中抽象/表示它们。

我知道这不是很具体,但希望有点用。

For something specific like a dental practice hopefully you will be able to build a layer on top of general purpose plugin frameworks.

The plug-ins, and their container, should be specialized for the domain. The best way to identify what that that specialization should be is to enumerate several plug-ins that would be appropriate for this software, recognize what is common amongst them and abstract/represent them in your framework.

I know this is not very concrete but hopefully somewhat useful.

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