What is a CLR host?

2 views
Skip to first unread message

.NetIndia

unread,
Oct 15, 2005, 3:30:02 AM10/15/05
to dotNetIndia
 

What is a CLR host?

Post ur answers here...

--
Regards,
.NetIndia Group,
"There is no delight in owning anything unshared."
"A book lying idle on a shelf is wasted ammunition. Like money, books must be kept in constant circulation. Lend and borrow to the maximum -- of both books and money! But especially books, for books represent infinitely more than money. A book is not only a friend, it makes friends for you. When you have possessed a book with mind and spirit, you are enriched. But when you pass it on you are enriched threefold."

Blog:http://dotnetindia.blogspot.com/
 

Shivprasad Koirala

unread,
Oct 15, 2005, 6:20:10 AM10/15/05
to .NetIndia
By CLR host you can control .NET framework. Specially memory magament ,
thread allocation and lot of other features. SQL 2005 uses ythis
feature so that .NET framework is controlled by him

-------
Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/
My Interview Blog
http://spaces.msn.com/members/dotnetinterviews/

BabuLives

unread,
Oct 17, 2005, 2:40:40 AM10/17/05
to .NetIndia
Hai...
I like to add some more points to this discussion..

The Windows operating system does not provide support for running a CLR
application. That support is provided by a CLR host. A CLR host is an
application that is responsible for loading the CLR into a process,
creating application domains within the process, and executing user
code within the application domains. Examples of hosts that ship with
the .NET Framework include:
ASP.NET. An ISAPI filter that ships with ASP.NET loads the CLR
and does the initialization necessary to handle web requests.
Internet Explorer. A MIME filter hooks into Internet Explorer
versions 5.01 and higher to execute managed controls referenced from
HTML pages.
Shell Executables. When a managed application is launched from
a shell, a small piece of unmanaged code loads the CLR and transitions
control of the application to the CLR.
For more information see
http://www.gotdotnet.com/team/clr/AppdomainFAQ.aspx#HostingCLR#HostingCLR
.


Regards,
Satheesh

Reply all
Reply to author
Forward
0 new messages