Chapter 4. Using the Default CLR Host
The CLR ships with a default host that you can use to run managed code in any process without having to write your own CLR host. That is, you don’t have to include code in your application to call CorBindToRuntimeEx, interact with the CLR through the ICLRRuntimeHost interface, and so on. The goal of this chapter is to provide enough details about the default CLR host to help you determine whether it meets the requirements of your scenario. If the capabilities provided by the default host meet your needs and if you don’t require the additional functionality provided by the CLR hosting APIs, using the default host can save you time and effort.
The default host is invoked in one of two ways. First, the default ...
Get Customizing the Microsoft® .NET Framework Common Language Runtime now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.