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

learn more… | top users | synonyms

2
votes
0answers
36 views

Accessing the default app domain

I am looking for a way to find the default app domain in my process. Note than the current app domain may be different from the default one, for example when my code is running inside NUnit. I know ...
3
votes
1answer
59 views

Getting the assembly name for a process started within an app domain

I have a service that creates an app domain and starts it: this._appDomain = AppDomain.CreateDomain(this._appName, AppDomain.CurrentDomain.Evidence, appDomainSetup); this._startStopControllerToRun = ...
0
votes
1answer
29 views

appdomain close console without kill main process

hi i need direction how to close appdomain console application without kill main process? i create appdomain like this. AppDomain testApp = AppDomain.CreateDomain("testApp"); try { string[] args ...
0
votes
1answer
14 views

Unable to load assembly in appDomain

Until recently I was loading my assembly by calling Assembly.LoadFrom and it was ok. But now I need to load it in a temporary appDomain but I keep having a FileLoadException when trying to load the ...
0
votes
0answers
23 views

AppDomain Assembly Resolution - AnyCPU vs x86 vs x64

I currently use a separate AppDomain similar to a plugin architecture to extract information from a serialized file. The problem I am running into is when I switch the main assembly from x86 to x64 ...
1
vote
0answers
30 views

jquery ajax response + function calling process in different AppDomain

From my asp.net web app I'm calling a WebMethod in a WebService on button click using jquery ajax. This webmethod starts a process on the server in a different AppDomain. When the process is started ...
2
votes
0answers
29 views

What is the smallest set of privileges required for an assembly to run?

If I'm loading an assembly using Assembly.Load(Byte[]) in a new AppDomain what is the smallest set of privileges that said AppDomain must have in order to run?
1
vote
1answer
48 views

Remove an assembly from an application domain

So I'm trying to remove an assembly from my Thread.GetDomain().GetAssemblies() area. I've looked at a couple of explanations on the web so far but have just not been able to figure it out. This is ...
2
votes
1answer
55 views

Dynamically Loaded Assembly - Settings & Communication

Ok so... I have a WPF application (let's call it Launcher.exe) which loads and executes another WPF application (let's call it Loaded.exe) dynamically using something like this: Byte[] assemblyData; ...
1
vote
1answer
63 views

Multiply copies of assemblies are loaded into the memory by ASP.NET server

I have web server witch hosts ASP.NET. I used SysInternal process explorer and find that the several version of each dll from server bin folder are loaded. Assemblies are loaded from \Temporary ...
0
votes
1answer
36 views

How to pass an instance to another appdomain?

I need to pass an instance to (not from) an AppDomain. I've seen a lot of info about how to do the reverse (call create on a domain and use the object locally), but what i want is to pass an instance ...
-1
votes
1answer
39 views

Simplest AppDomain and FileNotFound exception

I wrote a simple lines of creating separate AppDomain, but getting strange exception of FileNotFound : Could not load file or assembly... Considering necessary parameters are filled , this issue is ...
-2
votes
1answer
60 views

Loading assembly in another appdomain from another folder with dependencies

I've found a few variants of this question but it seems mixing all those criterias produces it's own set of errors when you want your assembly loaded In another appdomain From another folder With ...
1
vote
0answers
45 views

Understanding AppDomains and strong naming

I'm trying to create a sandbox for where I can load plugins. I create the AppDomain and specify a StrongName for my host assembly, and my understanding is that any code running in the assembly that is ...
0
votes
0answers
60 views

Dll usage by .NET application

Have a question for .NET experts. I have a set of WinForms applications which uses some subset of dll's (some of them are shared between those apps). All binaries resides in the same directory. I ...

1 2 3 4 5 51
15 30 50 per page