C#微内核模式的例子 [英] C# Microkernel pattern example

查看:418
本文介绍了C#微内核模式的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有一个简单但很好的解释和可能的
C#.NET类或库可内置或第三方就是微内核架构模式的一个很好的例子。

Does anyone have a simple but good explanation and possible C# .NET classes or libraries either built in or 3rd party that is a good example of the Microkernel architectural pattern.

对我来说,是一个比较含糊,大多看起来是在设计你的最低级别的类。然而,我们从来没有把这个微内核,而是我们的核心组件。

To me it is a bit vague and mostly looks like it is the classes that are at your lowest level of design. Yet we never call this the microkernel but rather our Core assemblies.

我挣扎着理解一个操作系统内核为例外的相关性。

I'm battling to understand the relevance outside of an os kernel for example.

感谢

推荐答案

在C#应用程序级微内核的比喻将是一个主要的C#应用​​程序(微内核)创造不同的应用程序域和负载不同的组件(内核驱动程序服务等)在那些应用程序域,并使用IPC机制的消息传递或使用远程(MarshalByRefObject的)跨应用程序域调用与他们沟通。这将导致在所期望的微内核拱所需的隔离级别

The Microkernel analogy at application level in C# would be a main C# application (the micro kernel) which creates different app domains and loads different assemblies (kernel drivers services etc) in those app domain and communicate with them using IPC mechanism for message passing OR calling across app domain using Remoting (MarshalByRefObject). This will result in the required isolation level that is desired in a micro kernel arch.

这篇关于C#微内核模式的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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