Appdomains OS-Support

  • Thread starter Thread starter Christian Kuendig
  • Start date Start date
C

Christian Kuendig

Hi there,

question:
Will there ever be OS-support for appdomains so that I can kill an appdomain
in the taskmgr.exe. Longhorn is supposed to be greatly runtime enabled, so I
could think of such a feature being present. Will it be there?

background info:
I've investigated an example where I got an application shell starting up
"plugins" or "applets" in their own app domains. The plugins then start
their own threads and make them ui-threads by attaching a message pump
(application.run).

This gives me the ability to shut down plug ins that hang, crash or aren't
needed anymore. Further more they are quite independent and execute within
"safe" boundaries. Unfortunately (but expected and logical) the windows
taksmanager (taskmgr.exe) shows only the process (since it doesn't know of
app domains).
 
Christian said:
question:
Will there ever be OS-support for appdomains so that I can kill an
appdomain in the taskmgr.exe. Longhorn is supposed to be greatly
runtime enabled, so I could think of such a feature being present.
Will it be there?

App Domains are a .NET feature, so you need to have .NET to take advantage
of them. The developer preview of Longhorn works like this too - App Domains
are for .NET apps only. I doubt if they will be made available to native
code because their facilities are intertwined into .NET exceptions,
threading, security and assembly support. If you add all of those features
to the native OS you have said:
background info:
I've investigated an example where I got an application shell
starting up "plugins" or "applets" in their own app domains. The
plugins then start their own threads and make them ui-threads by
attaching a message pump (application.run).

This gives me the ability to shut down plug ins that hang, crash or
aren't needed anymore. Further more they are quite independent and
execute within "safe" boundaries. Unfortunately (but expected and
logical) the windows taksmanager (taskmgr.exe) shows only the process
(since it doesn't know of app domains).

I guess you'll like task manager to show each app domain that is running,
(maybe through a treeview as sub nodes underneath the .NET process?).
Perhaps you could post a request on one of the WinFX groups
(microsoft.public.windows.developer.winfx.*) and see if one of the Longhorn
dev team can help you?

Richard
 
Back
Top