COM+ Registration Basics
To create a COM+ component, you must first start a new class library project and add a reference to the System.EnterpriseServices.dll assembly. You can then derive custom classes from the System.EnterpriseServices.ServicedComponent class. Example 9-1 shows a basic example.
Example 9-1. A simple .NET serviced component
Imports System.EnterpriseServices Public Class MyServicedClass Inherits ServicedComponent Public Function GetHello() As String Return "Hello" End Function End Class
Behind the scenes, every serviced component is hosted by a COM+ application, which is really nothing more than a collection of serviced components along with COM+ configuration information. Every COM+ application is registered in the COM+ catalog. ...
Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting 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.