Creating a Serviced Component

If you are familiar with writing MTS or COM+ applications from past versions of Visual Basic, you know that not all services were available to the VB developer. For instance, object pooling (the capability to hold objects in memory between requests) is a service that increases performance and scalability but was closed off to the VB developer. To make this type of programming easier for VB developers, Microsoft integrated many of the features of MTS/COM+ into the VB environment. Therefore, when object pooling arrived on the scene with COM+, nothing but a rewrite of the language would make it accessible to VB developers.

Visual Basic .NET is that rewrite. However, the architects of .NET (and VB) this time made sure ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.