Writing Serviced Components

A serviced component is the mechanism that enables COM+ services to be available to .NET Framework classes. This section describes how to configure and register serviced components for access to COM+ services.

Just-in-Time (JIT) Activation, Synchronization, Object Pooling, Transactions, and Shared Property Management are examples of well-known COM+ services that are available for you to use. There are also other COM+ services, such as loosely coupled events, Queued Components, and role-based security, that you can use to write flexible, Web-based applications.

Note   You can modify any Common Language Specification (CLS)–compliant class to use COM+ services. The System.EnterpriseServices namespace provides custom attributes and classes for accessing these services from managed code.

In This Section

Serviced Component Overview
Describes the process of writing a serviced component to include COM+ services.
Serviced Component Programming Guidelines
Describes the guidelines to use when writing serviced components.
Summary of Available COM+ Services
Describes each COM+ service and its configuration options.
Applying Attributes to Configure COM+ Services
Describes the attributes used with serviced components.
Registering Serviced Components
Describes the dynamic and manual registration processes.
Serviced Component Example
Demonstrates the code elements associated with serviced components.

Related Sections

Creating Assemblies
Describes the fundamentals of assembly creation.
Processing Transactions
Provides an overview of transaction processing.
System.EnterpriseServices Namespace
Lists the classes, interfaces, structures, delegates, and enumerations that are available in the System.EnterpriseServices namespace.