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.

Load assemblies with dependencies in a different AppDomain

My aim is to make a missing dependency check between 2 given folders. Imagine the following setup. Root\DirA\A.dll …

c# clr appdomain appdomainsetup
How can I implement ISerializable in .NET 4+ without violating inheritance security rules?

Background: Noda Time contains many serializable structs. While I dislike binary serialization, we received many requests to support it, back …

c# .net serialization appdomain code-access-security
Loading an assembly into an AppDomain outsite of applicationBase C#

So lately I've been working on a project where the application (or executable,whatever you wish to call it) needs …

c# .net-assembly appdomain marshalbyrefobject
CreateInstance of a Type in another AppDomain

My scenario is that I have a .net application (let's say a Console App) that creates AppDomains. It then needs …

c# appdomain createinstance
Running NUnit through Resharper 8 tests fail when crossing between projects due to AppDomain

I recently updated to Resharper 8, and when I tried to run a suite of projects. These tests contain two suites …

c# nunit resharper integration-testing appdomain
Loading app.config into the AppDomain

I can't get the App.Config file to load into the App Domain. I'm using [System.AppDomain]::CurrentDomain.SetData("APP_…

powershell appdomain
Use the [Serializable] attribute or subclassing from MarshalByRefObject?

I'd like to use an object across AppDomains. For this I can use the [Serializeable] attribute: [Serializable] class MyClass { public …

c# remoting appdomain