Chapter 51. Enterprise Services


  • Features of Enterprise Services

  • Using Enterprise Services

  • Creating a serviced component

  • Deploying COM+ applications

  • Using transactions with COM+

  • Creating a WCF façade to Enterprise Services

  • Using Enterprise Services from a WCF client

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.

Enterprise Services also has a great integration story with Windows Communication Foundation (WCF). You can use a tool to automatically create a WCF service front-end to a serviced component, and you can invoke a WCF service from a COM+ client.


This chapter uses the sample database Northwind, which you can download from the Microsoft downloads page at


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. This section starts with that history.

You then get an overview of the different services offered by the technology, ...

Get Professional C# 4 and .NET 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.