appdomain
Programmatically find when the ASP.NET worker process and app domain last started?
In ASP.NET: How can I tell when the ASP.NET worker process last restarted? In ASP.N开发者_JAVA技巧ET, how can I tell when the app domain last recycled?[详细]
2023-01-22 21:22 分类:问答AppDomain.Unload throws in Finalizer?
So here is the story so far, I have this worker thingy which uses an AppDomain to perform some task.The domain is expensive to setup and teardown.So I create a cache per-thread of WeakReference object[详细]
2023-01-22 14:48 分类:问答the default search base directory is not appDomain.BaseDirectory?
i created a appDomain in my application which base directory is different to my application directory, but it is under the application. i loaded an assembly in the created domain and create object ins[详细]
2023-01-22 07:04 分类:问答Is it possible to have same app running in multiple application domains in parallel?
Let\'s say I have a windows service called \"MyService\" and an executable called \"MyEXE\" Is it possible (from within \"MyService\") to start several insta开发者_运维问答nces of \"MyEXE\" running[详细]
2023-01-22 06:08 分类:问答Shutdown an AppDomain and all the AppDomains it created
I want to run a third party library (XSP in this instance) inside an app domain so I can shut it开发者_StackOverflow社区 down and otherwise control its behavior.[详细]
2023-01-22 04:40 分类:问答Porting a security sandbox from .NET 2.0 to .NET 4.0
I have working .NET 2.0 addin that takes an AppDomain created by an external application and applies user-defined security policy (PolicyLevel) by usingAppDomain.SetAppDomainPolicy() method.However, t[详细]
2023-01-21 03:09 分类:问答Garbage collecting objects crossing AppDomain boundary
When you pass an object that inherits from MarshalByRefObject to a different AppDomain, won\'t GC.Collect() induced by the AppDomain that created it collect the object, provided that the object is not[详细]
2023-01-20 17:58 分类:问答Excel invokes .NET automation server from two different AppDomains?
I have an Excel plug-in (written in C#) with a static variable that is at the heart of a singleton data cache:[详细]
2023-01-20 17:22 分类:问答Prevent IIS from reusing worker processes for separate ASP.Net AppDomains
When IIS restarts an ASP.Net (2.0) web application, it can either: Recycle开发者_运维技巧 the AppDomain: Unload the AppDomain and load a new AppDomain on the same process (e.g. when HttpRuntime.Unlo[详细]
2023-01-16 20:09 分类:问答How does .NET know the dll is the same?
I wrote some sample code like this, all the outputs are the same, which is weird for me, I guess it makes sense if assembly1 is as same as assemly2, since the assembly information is the same(such as[详细]
2023-01-16 18:59 分类:问答