What is the exactly definition of Runtime Host?
From MSDN:
The common language runtime has been designed to support a variety of different types of applications, from Web server applications to applications with a traditional rich Windows user interface. Each type of application requires a runtime host to start it. The runtime host loads the runtime into a process, creates the application domains within the process, and loads user code into the application domains.
So is it a process which loads the runtime into another process?
How do I check it in Task Manager?
No, it's a process that loads the runtime DLLs ( e.g. mscoree.dll, etc ) into its process space.
So there is only 1 process space.
The runtime that is referred to is really the .Net runtime or CLR. And from a simplified traditional OS point of view, the CLR is really just a set of DLLs. So, you need a OS process to load and execute the entry point of that DLL. This hosting executable is your runtime host. In reality the .Net runtime host does a lot of things for the CLR ( See Hosting Overview )
You mentioned MSDN, so I guess you've looked at Runtime Hosts on there. You can see the examples they give are all executables that host the CLR ( DLLs ).
Hope that helps.
This article might help: Implementing a custom runtime host. It discusses the various aspects of the host and when/why you might want to implement your own.
Lifted directly from the article:
examples of hosts that ship with the .NET Framework include:
Other hosts could include:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With