appdomain Questions

1

Solved

I apologize in advance if the title doesn't make sense. I'm very new to appdomains and assembly loading and don't really know how to state what I'm trying to ask. I have been fiddling around with ...
Afore asked 18/2, 2016 at 11:56

5

This is a follow up to my initial question and I would like to present my findings and ask for corrections, ideas and insights. My findings (or rather interpretations) come from people's answers to...
Alyss asked 3/9, 2009 at 8:26

1

Solved

How to enumerate all the process' domains without referencing mscoree. Is it possible? I found some solution from 2007 year somewhere in the Internet. But it enumerates and empty collection. Here'...
Delicate asked 24/11, 2015 at 9:47

2

Solved

I am attempting to load a dll into a console app and then unload it and delete the file completely. The problem I am having is that the act of loading the dll in its own AppDomain creates a referen...
Quietism asked 26/4, 2010 at 16:30

2

Solved

I can't get the App.Config file to load into the App Domain. I'm using [System.AppDomain]::CurrentDomain.SetData("APP_CONFIG_FILE", $config_path) from Powershell Calling .NET Assembly that use...
Footcloth asked 25/4, 2013 at 13:57

2

Solved

I have a command object, doing work based on a request from a request queue. This particular command will execute its work in a child appdomain. Part of doing its work in the child appdomain involv...
Aspirate asked 1/3, 2013 at 2:2

1

Solved

I've been looking at an issue related to unit testing and managed/native interop via C++/CLI. The details aren't important so I won't fill them in unless asked, but the situation can be distilled a...
Marelda asked 10/9, 2015 at 5:11

1

Solved

I have a .NET MVC web app which requires time to be properly shutdown and so whenever the IIS app domain is recycled (i.e. a new instance is spun up and receives all new requests while the old inst...
Ambi asked 21/8, 2015 at 17:9

1

I'm looking for more details around when and how .NET applications share loaded assemblies. I'm interested in sharing between OS processes, but also between AppDomains within the same process. Shar...
Effector asked 8/7, 2015 at 9:33

2

Solved

So lately I've been working on a project where the application (or executable,whatever you wish to call it) needs to be able to load and unload assemblies not found within the executable's folder a...
Fairminded asked 10/10, 2013 at 10:56

1

Solved

I am little confused about usage of Application class and AppDomain class. For example Application.StartupPath is equal to AppDomain.CurrentDomain.BaseDirectory I usually used Application class an...
Accelerate asked 7/7, 2015 at 8:3

1

Background I'm working on an ASP.NET 4 web site (not web application). I'm trying to use IRegisteredObject to allow some long-running code to run in a non-request thread. For testing, I've set th...
Encompass asked 17/11, 2014 at 3:16

2

Lately my focus has been on creating an ASP.NET MVC application that can host 3rd party MVC plugins. Ideally, development of those plugins would follow these rules: Plugins can be developed in a ...
Poultryman asked 17/5, 2012 at 2:29

2

Solved

TL;DR: How do you isolate add-in exceptions from killing the main process? I want to have a very stable .Net application that runs less stable code in an AppDomain. This would appear to be one of ...
Infinitive asked 12/6, 2015 at 16:48

4

Solved

Where can I purchase a .app Top Level Domain (TLD)? I've gone to Network Solutions, GoDaddy, etc and can't find someone who is selling .app domains (e.g. http://example.app).
Topographer asked 26/6, 2012 at 2:0

4

Solved

I have a bit of a head-scratcher here that I wonder if someone may know the answer to. The setup is basically this: //in Visual Studio plug-in application SpinUpProgramWithDebuggerAttached(); //...
Arnaud asked 24/1, 2015 at 1:59

1

Solved

The Scenario: LUNCHER.exe: a WPF Application >> Build 32bit, .Net 4.5.1, location= D:\ LOADED.exe: another WPF Application >> Build 32bit, .Net 4.5.1, location= D:\ I'm owner of both assembly (b...
Apterygial asked 6/12, 2014 at 4:6

1

Solved

I have a common class library containing many models for my server and my client. Since the client is running under Xamarin, the common library must be a Portable Class Library (PCL). In my server...
Stockman asked 25/11, 2014 at 21:34

4

I want to host an exe in an appdomain and assign a CPU and Memory cap to it so that it does not use more than the assigned processing power. Is this possible to do and how?
Really asked 15/9, 2010 at 12:2

3

Solved

In order to store the state of processes when an error occured, I would like to list all (custom) data stored in AppDomain (by SetData). The LocalStore property is private and AppDomain class not i...
Germen asked 7/12, 2012 at 12:59

2

Solved

Is there an Unload event, or any event, notification, message, mechanism, or hook, that i can use to be notified before the "default" application domain is unloaded? i have code that needs to know...
Stadium asked 3/8, 2013 at 12:56

2

Solved

When we deploy our web application we copy all the code to a new directory and then point iis to that new directory. When we do this the number of appdomains increases but never decreases. Also, ou...
Mclane asked 29/8, 2014 at 14:16

0

I already saw THIS and THIS question, but they are both a few years old and in my case there is maybe another solution at all: I have an ASP.NET MVC 5 application with a plugin system based on THIS...
Kamalakamaria asked 2/8, 2014 at 17:59

3

Solved

I have been trying to get the following code to work(everything is defined in the same assembly) : namespace SomeApp{ public class A : MarshalByRefObject { public byte[] GetSomeData() { // } } ...
Agnew asked 28/5, 2010 at 20:40

3

Solved

...and can those steps also be applied to a 3rd party assembly (that might already be strong-named)? The context for my question should not be important, but I'll share anyway: I'm thinking of mak...
Cloak asked 17/6, 2010 at 0:24

© 2022 - 2024 — McMap. All rights reserved.