D. CAB Services

  1. A service is a singleton object made available through the loose coupling mechanism of CAB. The consumer of the service does not need to know the internal implementation of the service, its packaging or its location, or even its class. Many services are used internally by the system, such as the authentication service. It is also very common for CAB application designers to write their own services.

    Consider the CAB authentication service, called during the CAB startup sequence (step 6, previous page). Its function is to figure out who the user is, one way or another, and to place onto the application's main thread a token containing the identity of authenticated user. This can be accomplished in many different ways, and it is entirely ...

Get Programming Microsoft® Composite UI Application Block and Smart Client Software Factory 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.