Good example of use of AppDomain

后端 未结 7 1665
傲寒
傲寒 2020-12-07 10:25

I keep getting asked about AppDomains in interviews, and I know the basics:

  • they are an isolation level within an application (making them different from appl
7条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 11:20

    If you create an application that allows 3rd-party plug-ins, you can load those plug-ins in a separate AppDomain so that your main application is safe from unknown code.

    ASP.NET also uses separate AppDomains for each web application within a single worker process.

提交回复
热议问题