Chapter 30. Enterprise Services

Enterprise Services is the name of the Microsoft application server technology that offers services for distributed solutions. Enterprise Services is based on the COM+ technology that has already been in use for many years. However, instead of wrapping .NET objects as COM objects to use these services, .NET offers extensions for .NET components to take direct advantage of these services. With .NET you get easy access to COM+ services for .NET components.

This chapter covers the following topics:

  • When to use Enterprise Services

  • What services you get with this technology

  • How to create a serviced component to use Enterprise Services

  • How to deploy COM+ applications

  • How to use transactions with Enterprise Services

  • How to use Services without components

Overview

The complexity of Enterprise Services and the different configuration options (many of them are not needed if all the components of the solution are developed with .NET) can be more easily understood if you know the history of Enterprise Services. That's why this section starts with the history of Enterprise Services. After that, you get an overview of the different services offered by this technology so you will know what feature could be useful for your application.

The topics of this section are as follows:

  • History

  • Where to use Enterprise Services

  • Contexts

  • Automatic transactions

  • Distributed transactions

  • Object pooling

  • Role-based security

  • Queued components

  • Loosely coupled events

  • Services without components

History ...

Get Professional C# 2005 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.