You may suppose that now that you have the .NET Framework and assemblies that don’t need to be registered in the Registry, you have finally moved beyond the COM components. Nothing can be further from the truth; there are millions of COM components in production, and a large number of applications use MTS and Component Services. So, what are you to do? Throw away all the COM components and rewrite them in Visual Basic .NET? I don’t think so! You need to find a way that will allow the two environments to coexist, and that is where serviced components come in | MCAD MCSD MICROSOFT CERTIFIED APPLICATION DEVELOPER MICROSOFT CERTIFIED SOLUTION DEVELOPER 3 Creating and Managing Microsoft Windows-Serviced Components CERTIFICATION OBJECTIVES Q A Creating and consuming a Serviced Component Implementing a Serviced Component Creating Interfaces That Are Visible to COM Creating a strongly Named Assembly Registering the Component in the Global Assembly Cache Managing the Component by Using the Component Services Tool Two-Minute Drill Self Test 2 Chapter 3 Creating and Managing Microsoft Windows-Serviced Components Vou may suppose that now that you have the .NET Framework and assemblies that don t need to be registered in the Registry you have finally moved beyond the COM components. Nothing can be further from the truth there are millions of COM components in production and a large number of applications use MTS and Component Services. So what are you to do Throw away all the COM components and rewrite them in Visual Basic .NET I don t think so You need to find a way that will allow the two environments to coexist and that is where serviced components come in. A serviced component is a .NET component that has been configured to work in the Component Services environments of Windows 2000 and later. This chapter will explore the world of Component Services which includes COM and serviced components. CERTIFICATION OBJECTIVE Component Services The Component Services environment of Windows 2000 or later provides the services of an object resource broker ORB . The ORB allows clients to make requests to Component Services for a component which is hosted by Component Services on behalf of the client thus the client s method calls and data are marshaled by Component Services. In order to be able to install a .NET component in Component Services you need to have a reference to the library as well as import the namespace. This namespace provides the main