Architecture of Component Services

In this section, you'll learn about the basic components of the COM+ architecture. You'll learn how a COM+ application is organized, how COM+ provides the component services, and how the .NET Framework interacts with COM+.

Serviced Components

One of the most important classes in the System.EnterpriseServices namespace is the ServicedComponent class. Any class that uses enterprise services must derive from the System.EnterpriseServices.ServicedComponent class. Such a class is also called a serviced component. Classes that derive from ServicedComponent must be public and concrete, and must provide a public default constructor. A basic serviced component declaration is as follows:

 using System.EnterpriseServices; ...

Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework 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.