Top "Appdomain" questions

An application domain is an isolated environment in which Microsoft .NET assemblies can be sandboxed, granted specific permissions or PermissionSets and executed.

How to unload an assembly from the primary AppDomain?

I would like to know how to unload an assembly that is loaded into the main AppDomain. I have the …

c# .net appdomain
How do I create an application domain and run my application in it?

I need to create a custom application domain to work around a bug in the .NET runtime's default behavior. None …

c# appdomain
AppDomain and MarshalByRefObject life time : how to avoid RemotingException?

When a MarshalByRef object is passed from an AppDomain (1) to another (2), if you wait 6 mins before calling a method on …

c# .net remoting appdomain object-lifetime
How can I reliably determine the type of a variable that is declared using var at design time?

I'm working on a completion (intellisense) facility for C# in emacs. The idea is, if a user types a fragment, …

c# reflection appdomain type-inference
"Object has been disconnected or does not exist at the server" exception

I need to use cross-appdomain calls in my app, and sometimes I have this RemotingException: Object '/2fa53226_da41_42ba_…

c# .net clr appdomain marshalbyrefobject
No AppDomains in .NET Core! Why?

Is there a strong reason why Microsoft chose not to support AppDomains in .NET Core? AppDomains are particularly useful when …

.net clr appdomain .net-core
Can a C# .dll assembly contain an entry point?

My goal is to create an executable that will start a shadow copied application. The trick is, I want this …

c# assemblies appdomain .net-assembly entry-point
Sharing data between AppDomains

I have a process that can have multiple AppDomains. Each AppDomain collect some statistics. After a specified time, I want …

c# appdomain
Custom AppDomain and PrivateBinPath

I'm using c# 4.0 and a console application just for testing, the following code does gives an exception. AppDomainSetup appSetup = new …

c# appdomain appdomainsetup
List AppDomains in Process

Is there any possibility how to enumerate AppDomains within Process?

.net process appdomain