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 avoid SerializationException: Type is not resolved for member XXX when testing a component that uses the LogicalCallContext

I've recently started hitting the following exception in my unit test (NUnit) code when EF tries to load information from …

c# entity-framework configuration nunit appdomain
Static Variable Instances and AppDomains, what is happening?

I have public static class A { public static string ConnString; } [Serializable] public class Test{ // Accesing A's field; public string ConnString{…

c# variables static instance appdomain
What is the right way to set shadow copying for the default AppDomain

Relating to Can I make the default AppDomain use shadow copies of certain assemblies?, it describes a working solution to …

.net appdomain shadow-copy appdomainsetup
AppDomain.Load() fails with FileNotFoundException

I'm trying to load my plugin dll into separate AppDomain, but Load() method fails with FileNotFoundException. Moreover, it seems like …

c# plugins filenotfoundexception appdomain appdomainsetup
Load Assembly in New AppDomain without loading it in Parent AppDomain

I am attempting to load a dll into a console app and then unload it and delete the file completely. …

c# .net console-application appdomain
Passing data across appdomains with MarshalByRefObject

I'm having a little trouble passing some data between two .NET appdomains and I'm hoping someone on here can help …

c# .net appdomain marshalbyrefobject
In .NET 4.0, how do I 'sandbox' an in-memory assembly and execute a method?

Here is the reason why this question was being asked: www.devplusplus.com/Tests/CSharp/Hello_World. While similar questions …

c# security .net-4.0 appdomain
Force unloading of DLL from assembly

I am attempting to unload a misbehaving third-party DLL from my .NET process, as it seems to be causing a …

c# dll process appdomain
Passing values back and forth appdomains

I have the following code: public class AppDomainArgs : MarshalByRefObject { public string myString; } static AppDomainArgs ada = new AppDomainArgs() { myString = "abc" }; static …

c# .net vb.net remoting appdomain
ASP.NET restarts when a folder is created, renamed or deleted

UPDATE -- process to replicate issue: 1) Create a website project at c:\projects\restart-demo 2) Add default web.config and a …

asp.net content-management-system appdomain application-pool