What are app domains used for?

后端 未结 5 1522
傲寒
傲寒 2020-12-15 20:49

I understand roughly what an AppDomain is, however I don\'t fully understand the uses for an AppDomain.

I\'m involved in a large server based C# / C++ application an

5条回答
  •  粉色の甜心
    2020-12-15 21:34

    I'm not claiming to be an expert on AppDomains, so my answer will not be all-encompassing. Perhaps I should start off by linking to a great introduction by a guy who does come off as somewhat an expert, and what does seem like covering all aspects of AppDomain usage.

    My own main encounter with AppDomains has been in the security field. There, the greatest advantage I've found has been the ability to have a master domain run in high trust spawning several child domains with restricted permissions. By restricting permissions in high trust, without the use of app domains, the restricted processes would still have the permission to elevate their own privileges.

提交回复
热议问题