Questions tagged [applicationdomain]
69 questions
1
vote
1 answer
as3 remove defininton from applicationDomain
how to remove defintion from the applicationDomain !
In my test I removed all references about one class but the definition is still exist in the applicationDomain, how to remove it, because I think it occupy my memory~
by the way, I use the Profile…

Zeke
- 11
- 3
1
vote
1 answer
How application domain can be useful in exception handling?
I know little bit about the concept of application domain. We can delete the appdomain to unload the dll.
Is it possible to use appdomain for better exception handling? How it can be used?

SHRI
- 2,406
- 6
- 32
- 48
1
vote
1 answer
ASP.NET MVC 3 application with multi-tenancy in separate app domains?
Has anyone have idea how to implement multitenancy in asp mvc 3 application with support for separate app domains and MEF?
In my application I would like to load assemblies for each tenant to different app domain. Types are resolved by MEF in proper…

untoldex
- 201
- 1
- 7
0
votes
3 answers
ApplicationDomain and Threads
I have recently started studying about threads. I thought of starting from the beginning and started reading MSDN documentation. Read about ApplicationDomain which is separate for each application. But in this link ApplicationDomain and Threads it…

Shrikey
- 858
- 3
- 11
- 34
0
votes
2 answers
Share a as3 class between domains
I have a Singleton class instantiated in Main.swf located at domainA. The file loads Game.swf from domainB via LoaderMax (http://www.greensock.com/). When I try to access the Singleton I guess this is not the same as the on instatiated in…

Mattias
- 3,907
- 4
- 28
- 50
0
votes
0 answers
C# - Unable to GetAssemblies from created domain
I created a new application domain and loaded 2 assemblies in to it (see code example below). However if I try to use GetAssemblies method I get exception System.IO.FileNotFoundException.
using System;
using System.Collections.Generic;
using…
0
votes
1 answer
Create instance of myClass by factory method in othe application domain
I am trying to create instance of MyClass by factory method in othe application domain is there any solution to this problem?
Edited:
The question is how to do it
Thank you.

Sergey Kucher
- 4,140
- 5
- 29
- 47
0
votes
2 answers
Trying to load dll into Application domain
I am trying to do the following:
if(domain != null)
{
AppDomain.Unload(domain);
}
domain = AppDomain.CreateDomain(appDomainName);
Assembly assembly = domain.Load(location);
and the code throws FileLoadException
but when i do the following…

Sergey Kucher
- 4,140
- 5
- 29
- 47
0
votes
3 answers
Type Coercion error when casting an object loaded in a different application domain
My application currently contains a number of Widgets that are managed by a Widget Manager. When the user clicks on a widget (e.g. a Helper widget), the Widget Manager loads the widget into a separate sibling application domain with the following…

Kyle
- 4,202
- 1
- 33
- 41
0
votes
0 answers
AS3: Instantiating classes from loaded external SWF
I've been successful at loading an external SWF into my primary SWF, and I've been able to access the external SWF's classes because I loaded it into the same ApplicationDomain.
var exClass:Class =…

BladePoint
- 632
- 5
- 16
0
votes
1 answer
vsto add-in uses excel applicationdomain
I am working on the VSTO 2010 excel addin. On one of the dev machine i install the addin (which already has some addin installed).
I observed that it was not able to read the configuration file(). This happens because addin was trying to search the…

Diptesh Raut
- 1
- 2
0
votes
2 answers
How to define a common variable in all application domains by c#
Consider I want to run APP.exe 2 times, respectively. I need to define a variable to be shared in all application domains. for example I have a integer X in my code, I changed it in app.exe(1)(means first run of app)
and then want to use it in…
user8459229
0
votes
2 answers
Application global Error Logger
While working on a vb.net application, in which exceptions were handled poorly. It was a big pain. So an Idea flashed , that if it is possible to genearte a library or service or some sort of exe that will log all error of an application without…
user240141
0
votes
0 answers
Access external SWF classes other than document class AS3?
I'm loading an external SWF as you normally would and I am handling the COMPLETE listener with:
var documentClass:Object;
function onComplete(loadEvent:Event)
{
documentClass = Object(loadEvent.currentTarget.content);
}
This works perfectly and…

James Gain
- 5
- 1
- 4
0
votes
2 answers
"Bootstrapping" a remote swf into the application SecurityDomain (actionscript3)
My Flash (AS3/AIR) application is currently using a slightly unusual architecture (for a Flash app) to provide particular base classes for loaded content at runtime. The external content is published with 'stub' base classes, which are eclipsed by…

aaaidan
- 7,093
- 8
- 66
- 102