Groups | Blog | Home
all groups > dotnet general > december 2005 >

dotnet general : what is an AppDomain?


Mattias Sjögren
12/12/2005 7:21:03 AM
[quoted text, click to view]

One common reason is that they are more light weight than separate
processes, but still provide isolation. You can read more about application
domains here

http://msdn.microsoft.com/library/en-us/cpguide/html/cpconapplicationdomains.asp


Mattias
Craig
12/12/2005 3:28:47 PM
Hi,
I'm trying to understand why one would use an AppDomain...could anyone
explain?
Thanks.
Craig

Craig
12/13/2005 3:24:39 PM
hi Mattias

I kinda understand how AppDomains work, just don't understand really why one
would use them. It's kinda like processes within a process in a way right?
Maybe if you could give me real life example of an application of AppDomain,
it would really help me understand where I could use it.

Much appreciated.
Thank you.
Regards,
Craig


[quoted text, click to view]

Christian Kaiser
12/13/2005 4:55:10 PM
scan the web for "plugins" and ".net". The "better" articles will tell you
what this is used for.

(see:
http://www.devsource.com/article2/0,1759,1790388,00.asp

http://www.developerfusion.co.uk/show/4371/

http://www.codeproject.com/dotnet/PluginManagerClassBrk.asp

http://msdn.microsoft.com/msdnmag/issues/03/10/Plug-Ins/default.aspx

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp05162002.asp

)


Christian

[quoted text, click to view]

Craig
12/15/2005 4:13:27 PM
Cool, so it's basically just used for plugin scenarios...I thought that
maybe what it would be used for.
Thank you so much Christian for the help, I really appreciate it.
Best regards,
Craig


[quoted text, click to view]

Christian Kaiser
12/16/2005 9:10:29 AM
Well I don't know whether that's the only use for - I guess there are more
ways to use it (sandboxing other assemblies/applications, ...).

But that's what I'm working on now: a plugin manager (the n-th version, but
all I found so far don't match exactly), so it was easy to answer your
question at least with the articles I found.

And it helps learning .NET very fast/intensive to start such a task.

Christian

[quoted text, click to view]

AddThis Social Bookmark Button