Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralDataGrid CheckBoxes Pin
exhaulted14-Jun-04 6:23
exhaulted14-Jun-04 6:23 
Questionthe best way to terminate a blocked thread? Pin
vista2714-Jun-04 6:20
vista2714-Jun-04 6:20 
AnswerRe: the best way to terminate a blocked thread? Pin
palbano14-Jun-04 6:38
palbano14-Jun-04 6:38 
AnswerRe: the best way to terminate a blocked thread? Pin
Mike Dimmick14-Jun-04 6:40
Mike Dimmick14-Jun-04 6:40 
Generalneed help, treeView and active directory Pin
vcorn14-Jun-04 6:11
vcorn14-Jun-04 6:11 
GeneralRe: need help, treeView and active directory Pin
Heath Stewart14-Jun-04 6:41
protectorHeath Stewart14-Jun-04 6:41 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:29
vcorn14-Jun-04 7:29 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 7:31
mveDave Kreskowiak14-Jun-04 7:31 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:43
vcorn14-Jun-04 7:43 
GeneralRe: need help, treeView and active directory Pin
Wackatronic14-Jun-04 7:57
Wackatronic14-Jun-04 7:57 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 8:02
mveDave Kreskowiak14-Jun-04 8:02 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 8:27
vcorn14-Jun-04 8:27 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 8:34
mveDave Kreskowiak14-Jun-04 8:34 
GeneralUnloading AppDomain Pin
Ami Bar14-Jun-04 5:50
Ami Bar14-Jun-04 5:50 
GeneralRe: Unloading AppDomain Pin
Heath Stewart14-Jun-04 6:43
protectorHeath Stewart14-Jun-04 6:43 
GeneralRe: Unloading AppDomain Pin
Ami Bar14-Jun-04 10:35
Ami Bar14-Jun-04 10:35 
GeneralRe: Unloading AppDomain Pin
Heath Stewart14-Jun-04 11:01
protectorHeath Stewart14-Jun-04 11:01 
Ami B. wrote:
I can't believe that I am the first person that gets to this problem. If you can’t “kill” an AppDomain then what is its advantage over a process?

You're probably not - try googling for others.

An AppDomain is an application boundary where assemblies are isolated from each other except through .NET Remoting and proprietary methods (sockets protocols, etc.). ASP.NET uses AppDomains so that when the Web.config file changes, an AppDomain is killed and new one respawned - all from another AppDomain started by the worker process. This allows the process to continue to run and an AppDomain to monitor the change status of the Web.config file so that it can respawn an AppDomain for the ASP.NET web site.

Executing threads must be aborted when the AppDomain needs to be unloaded. This may require changes in the assemblies you're loading, such as spawning threads for I/O, etc., or using async calls.

 

Microsoft MVP, Visual C#
My Articles
GeneralReflection Assistance please! Pin
Kasdoffe14-Jun-04 5:23
Kasdoffe14-Jun-04 5:23 
GeneralRe: Reflection Assistance please! Pin
Heath Stewart14-Jun-04 6:38
protectorHeath Stewart14-Jun-04 6:38 
GeneralRe: Reflection Assistance please! Pin
Anonymous14-Jun-04 7:02
Anonymous14-Jun-04 7:02 
GeneralRe: Reflection Assistance please! Pin
Heath Stewart14-Jun-04 8:46
protectorHeath Stewart14-Jun-04 8:46 
GeneralRe: Reflection Assistance please! Pin
Kasdoffe14-Jun-04 7:37
Kasdoffe14-Jun-04 7:37 
GeneralRe: Reflection Assistance please! Pin
Kasdoffe14-Jun-04 8:32
Kasdoffe14-Jun-04 8:32 
Generallooking for a tool or utility Pin
Anonymous14-Jun-04 4:54
Anonymous14-Jun-04 4:54 
GeneralRe: looking for a tool or utility Pin
Dave Kreskowiak14-Jun-04 5:07
mveDave Kreskowiak14-Jun-04 5:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.