Click here to Skip to main content
15,905,325 members
Home / Discussions / C#
   

C#

 
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 
GeneralRichTextBox selection color Pin
Judah Gabriel Himango14-Jun-04 4:31
sponsorJudah Gabriel Himango14-Jun-04 4:31 
GeneralRe: RichTextBox selection color Pin
Heath Stewart14-Jun-04 4:49
protectorHeath Stewart14-Jun-04 4:49 
GeneralRe: RichTextBox selection color Pin
Judah Gabriel Himango14-Jun-04 5:02
sponsorJudah Gabriel Himango14-Jun-04 5:02 
GeneralUpload files using SPS 2003 Pin
Member 67053114-Jun-04 4:16
Member 67053114-Jun-04 4:16 
GeneralUsing System.Data Pin
Simon Wren14-Jun-04 4:08
professionalSimon Wren14-Jun-04 4:08 
GeneralRe: Using System.Data Pin
Heath Stewart14-Jun-04 4:30
protectorHeath Stewart14-Jun-04 4:30 
GeneralEmbedded User Control in IE Problem Pin
Yolan14-Jun-04 3:45
Yolan14-Jun-04 3:45 
GeneralRe: Embedded User Control in IE Problem Pin
Heath Stewart14-Jun-04 3:56
protectorHeath Stewart14-Jun-04 3:56 
GeneralRe: Embedded User Control in IE Problem Pin
Yolan14-Jun-04 4:09
Yolan14-Jun-04 4:09 

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.