COM Concerns

Many ASP developers have used COM objects of one sort or another in writing their code. Either custom objects were made to create a middle layer between ASP and other data, or the ADO COM objects were used directly. Even though the .NET architecture does not replace COM, you must be aware of some issues when you use legacy COM objects that were designed for ASP.

COM Interop

The first thing to be aware of is that ASP.NET code does not directly call COM objects. COM objects are called through what is called the COM Interop layer. This layer manages the conversion of data types between .NET and COM.

Because all calls to a COM object go through an extra layer of code, calling COM objects has a negative performance impact compared to ...

Get Special Edition Using® Microsoft® ASP.NET 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.