Questions tagged [applicationdomain]

69 questions
2
votes
2 answers

C# Assembly Loading and Late Binding

I'm reading this book on C# and .NET and I'm learning a bunch of cool stuff. I've read the part where the author talks about dynamically loading an assembly and creating an instance of a type in that assembly. In AS3, it's possible to do the same…
subb
  • 1,578
  • 1
  • 15
  • 27
1
vote
1 answer

Release application domain from main SWF

i like to know that there is way to remove all data after unload swf . Calling Loader.unloadAndStop(); remove content and loaded bytes , but loaded classes stays in application domain . If i load it to separated new ApplicationDomain , gc is going…
turbosqel
  • 1,542
  • 11
  • 20
1
vote
1 answer

Trying to create instance Application domain

I am trying to do the following : private static MyClass CreateMyClassInDomain(ApplicationDomain domain, string componentName, params object[] parmeters) { var componentPath = …
Sergey Kucher
  • 4,140
  • 5
  • 29
  • 47
1
vote
1 answer

Is a asp.net web application considered a process that runs inside a app pool?

Is a asp.net web application (hosted in IIS) considered a process? And this process is in an application pool. And there can be 1 or more application pools in a app domain? Is this correct?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
1
vote
2 answers

Howto: Flex Module with its own custom RSLs loaded only into child ApplicationDomain?

I have a complicated application. I use Flex 4.1 RSLs and custom RSLs for all my libraries (and there are like 15 of custom SWCs - Flex Library Project) I would like to load main application with minimal RSLs needed and then load Flex Module with…
mizi_sk
  • 1,007
  • 7
  • 33
1
vote
1 answer

AS3 Loader's unloadAndStop odd behavior

I know the AS3 Loader's class unloadAndStop() supposes to unload and stop everything on a SWF's stage when I load one, but does it also changes objects within the library (even if they are not on stage?). I'll describe my problem to clear it up: I…
ShayDavidson
  • 717
  • 1
  • 7
  • 20
1
vote
0 answers

The default CLR host gives "ProcessExit event handlers" 2 seconds per domain?

In the C# 7.0 in a Nutshell book, I've read something that seems a bit confusing. Unlike with the DomainUnload event, ProcessExit event handlers are timed: the default CLR host gives event handlers two seconds per domain, and three seconds in…
Emran
  • 544
  • 7
  • 26
1
vote
1 answer

How do you specify ApplicationDomain.currentDomain when loading via SWFLoader?

I'm using Flex Builder 3 to build what will be a fairly large project. I'm suffering from modules stepping on each other and a conflict between application/module. My structure looks something like the following: Main Application |--Application 2 …
1
vote
2 answers

How should I load assemblies across the application domain boundary to load and unload modules?

I'm aware of the limitations of loading an assembly dynamically during run-time that prevents it from being unloaded. Instead it's been suggested that, if this is a requirement, that I should instead load modules in other application domains and…
Firoso
  • 6,647
  • 10
  • 45
  • 91
1
vote
0 answers

getDefinitionByName does not work in worker

public static function registerClassAliasByClassName(className:String):void { var ClassReference:Class = getDefinitionByName(className) as Class; var commandAliasRegister:CommandAliasRegister = new ClassReference(); …
uda
  • 55
  • 1
  • 10
1
vote
0 answers

AIR iOS getQualifiedDefinitionNames()

When i compile the iOS version, the ApplicationDomain.currentDomain.getQualifiedDefinitionNames() function returns a vector with length 0. OS X, Windows, and Android versions work fine, but not the iOS version. I have tested it with fast and AOT…
aWaKeNiNG
  • 73
  • 2
  • 6
1
vote
1 answer

How to read the text file from the Application Directory text file

I have a text file in the application project classpath Directory of Windows Form Application. Now at the time of installation I am trying to write a text value into the text file. Here is my Installer class code for text…
Adi
  • 1,395
  • 11
  • 37
  • 61
1
vote
1 answer

Is it possible to use delegates to execute global methods in another Application domain ?

I am trying to use delegates to execute methods in another domain, but i can't achieve it , so i want to make sure if it's really possible to do what i am trying to do. Is it possible to use delegates to execute global methods in another Application…
1
vote
2 answers

Load dll into another domain exception

Hi I am loading dll into another domain, it works fine when loaded into that domain but when i want some information from that domain through proxy object it gives me exception below is the code for review is there any wrong step ??? public class…
Numan Hanif
  • 246
  • 2
  • 17
1
vote
1 answer

Flex SWF assets loaded into Flash SWF at runtime within same ApplicationDomain

I'm trying to load a swf compiled by the Flex SDK into a swf exported by the Flash IDE and instantiate the assets by way of getDefinition(). Normally this works fine with assets exported from the Flash IDE then loaded into another swf also from…
user222514