.NET Components Versus Registered COM Components

So what is so different about .NET components and COM components? Does DLL Hell ring any bells? This problem is eliminated with .NET components. You no longer have to register your DLL on the server to use it; you just need to copy it to your \bin directory to be executed.

COM components need to be registered in the registry, whereas .NET components only need to be placed in the \bin directory. Another notable point is that assemblies used by several applications on a machine should be stored in the global assembly cache. If an assembly will be stored in the global cache, the assembly must have strong names.

Now let’s look at a breakdown of the differences between .NET components and COM components. ...

Get Debugging 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.