C#中的应用程序域 [英] application domain in C#
本文介绍了C#中的应用程序域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前负责在工作中编写应用程序,该应用程序需要加载由其他开发人员编写的不同DLL文件.我听说过应用程序域,并得出了使用它们的结论.对于如何使用它们以及如何加载DLL并在我的代码中使用它,我似乎找不到足够简单的解决方案.有没有人/知道我可以参考的一个很好的例子?
在此先感谢
I am currently responsible for writing a application at work that will require loading different DLL files written from other developers. I have heard from app domains and came to the conclusion on using them. I cannot seem to find a simple enough solution on how to use them and how to load the DLL and use it in my code. Does anybody have/know a good example that I can refer to?
Thanks in advance
推荐答案
阅读以下内容:
http://msdn.microsoft.com/en-us/library/ms173139%28v = vs.80%29.aspx [ ^ ]
使用AppDomain减少.NET应用程序中的内存消耗 [ ^ ]
线程,进程和AppDomains [
Read the following :
http://msdn.microsoft.com/en-us/library/ms173139%28v=vs.80%29.aspx[^]
Use AppDomains To Reduce Memory Consumption in .NET applications[^]
Threads, Process, and AppDomains[^]
这篇关于C#中的应用程序域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文