appdomain Questions
1
Solved
I have a windows service that executes once a day. It's only 10 minutes of action.
I build the service's files in the bin folder of the website, because the service uses the website dll's.
Unfort...
Nosey asked 21/7, 2014 at 20:6
2
Solved
I'm having issues with CreateInstanceAndUnwrap at the moment for some reason (was working prior).
My process is this:
I dynamically generate some code and it loads DLL's from a subdirectory via M...
Snodgrass asked 15/7, 2014 at 14:13
6
Solved
I have created an AppDomain with a different base directory. However, I cannot seem to load the currently executing assembly into the other AppDomain without having a copy of the current executing ...
2
Solved
I have a c# application that depends on a third-party unmanaged assembly to access certain hardware.
The unmanaged code has a memory leak that will increase the memory consumption by ~10mb after e...
Thedrick asked 6/5, 2014 at 16:58
3
Solved
We have an ASP.NET MVC 4 application that links to legacy native code. The problem is that this legacy code has global statics that are constructed at startup, but because native code knows nothing...
Tenderhearted asked 7/8, 2012 at 14:51
1
It's not a question of major importance, but I was wondering why the Thread class exposes a property for getting the current Context (Thread.CurrentContext) and a method for getting the current App...
Secundas asked 31/3, 2014 at 8:50
1
Solved
Supose I have AppDomainA, which spins up AppDomainB. AppDomainB then spins up AppDomainC.
If, within AppDomainA I unload AppDomainB, does AppDomainC also get unloaded or must I make sure to handle...
1
Solved
This is not a duplicate - I have reviewed this related StackOverflow question with no luck: How to Load an Assembly to AppDomain with all references recursively?
I have two console applications. A...
Encephalo asked 25/3, 2014 at 16:48
2
Solved
I would like to enumerate the strings that are in the string intern pool.
That is to say, I want to get the list of all the instances s of string such that:
string.IsInterned(s) != null
Does an...
Malayalam asked 4/3, 2014 at 12:37
1
We have a plugin for excel that is normally working fine, and we don't have anything set up for using AppDomains.
However, some other plugin seems to force our code to load the second time, and w...
4
Solved
In particular, what are the implications of running code in two different application domains?
How is data normally passed across the application domain boundary? Is it the same as passing data a...
4
I'm trying to create Facebook app.
Yet I had trouble right after creation wizard done his work.
Changing nothing in what wizard created I've got an error:
Error
You have specified an App Domain b...
3
Solved
My goal is to create an executable that will start a shadow copied application. The trick is, I want this starter program to have no external dependencies and not have to contain any knowledge abou...
Pathan asked 6/3, 2012 at 3:35
1
Solved
I have an azure website setup in West-Europe and in Standard mode. Suddenly today at 30 January 2014 03:00 am UTC it started constantly restart the app pool. The ShutdownReason is HostingEnvironmen...
Southsoutheast asked 30/1, 2014 at 10:48
2
Solved
I have a Web Application running in one machine and the services in another machine (i.e.both are in different App domains). I have a workflow service in my service layer which gets the Synschroniz...
Alisander asked 11/12, 2013 at 14:7
5
Solved
Is there a way with a plugin system (I would use with an IoC container) to load one version of an assembly at runtime and then replace that DLL while the AppDomain is running? I don't want to resta...
Olmos asked 22/2, 2011 at 16:25
3
Solved
I recently updated to Resharper 8, and when I tried to run a suite of projects. These tests contain two suites of integration tests that both use IISExpress to run a website, make web requests and ...
Placentation asked 26/7, 2013 at 9:17
2
I'm working on set of constants for my project, and I'd like to use roslyn to verify some of them in source code level. To achieve this, I'm loading entire solution using following snippet into App...
Hilton asked 6/5, 2013 at 7:4
6
Solved
I have an ASP.NET application which tracks statistics by creating and writing to custom performance counters. Occasionally, I see in the error logs that indicate that the counters have failed to op...
Kenneth asked 5/12, 2008 at 14:41
2
First, the question: do CLR specifications guarantee that the code executing in multiple app domains within the same process will share the same address space? By "sharing the address space" I mean...
Fordo asked 20/8, 2012 at 20:28
1
Solved
I'm trying to enable the capability of using plugins in my WPF application. As far as my understanding goes, I need (well, not need, but it's suggested) to create an additional app domain.
For thi...
1
Solved
Goal: I need to run some code in an AppDomain with very limited permissions - it should have no access to anything at all fancy or unsafe, except for a few helper methods that I have defined elsewh...
Nerva asked 6/10, 2013 at 19:13
3
Solved
I'd like to know, if I have a variable,for example, a string, how to pass its value to my new app domain:
static string _str;
static void Main(string[] args) {
_str = "abc";
AppDomain domain = ...
Hartebeest asked 9/8, 2009 at 4:56
1
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 kno...
1
I am trying to create a sandboxed app-domain. To achieve this, I am using the AppDomain.CreateDomain, giving the path to of the DLL to be sandboxed.
However, I noticed that if that DLL is in the ...
© 2022 - 2024 — McMap. All rights reserved.