Welcome to the Intel® Software Dispatch Subscription Program

Implementing enterprise services (COM+) in .NET
NET Framework Addon: This brief, high-level overview covers how the .NET Framework relates to COM+ services (hereafter referred to as Enterprise Services, as COM+ is known in .NET). It then walks you through building an application that makes use of one of the most important Enterprise Services.

by Patrick Barnes, Web application developer. Intel Corp.

This brief, high-level overview covers how the .NET Framework relates to COM+ services (hereafter referred to as Enterprise Services, as COM+ is known in .NET). It then walks you through building an application that makes use of one of the most important Enterprise Services: Transactions. It assumes that you are familiar with the .NET Framework in general as well as with Enterprise Services and why they are needed. It also assumes that you are running Windows XP, allowing you take advantage of some enhancements included with COM+ 1.5. Windows 2000 users (running COM+ 1.0) will, however, still find this article very applicable.

Writing COM components can be difficult and tedious. The .NET Framework is a significant improvement over the COM programming model. This is mainly a result of the Common Language Runtime, which provides the following key features:

  • A better, more intuitive API. Classes in the System.EntepriseServices namespace wrap COM+ and make it much easier to build COM components. In this sense, the CLR is a replacement for COM. The CLR does not, however, replace COM+, which is a component runtime environment that provides critical middle-tier services not included in the .NET Framework.

  • Assembly metadata that is accessible using reflection. Information about an assembly is now directly associated with the binary and accessible at pre-compile time, compile time, and runtime with the Assembly class in the System.Reflection namespace. This metadata is also extensible with attributes that are provided for most Enterprise Services. This makes it possible to declaratively mark up a component to run under a variety of services without having to manually configure everything using the COM+ MMC snap-in.
  • Building, deploying, and consuming a managed (.NET) component that runs under Enterprise Services involves the following major steps:

Subscribers who liked this article also read:
Handle and raise exceptions from Web services
by Thiru Thangarathinam, Intel Corp. An exception is any error cond...

If you're interested in this topic, these articles may be helpful:

Applying the Rational best practices to the .NET development lifecycle
by Alan Zeichick, principal analyst, Camden Associates The .N...
The challenge to integration: Java to .NET and beyond
by Jason Weisser, PhD, vice president, Enterprise Integration ...
The "Rich-Client" Advantage for .NET Web Services
by Dan Fineberg, enterprise/business marketing manager, and Gary Hayco...
Building Web services using Visual Studio .NET
by Soumya Guptha, technical marketing engineer Intel Corp. Softwa...
Handle and raise exceptions from Web services
by Thiru Thangarathinam, Intel Corp. An exception is any error cond...

Related Jobs:

Sr. Javascript UI Developer #2083 - WA - Redmond - Tuxedo Technologies
Position Summary: Our client has selected Tuxedo Technologies Group...
Program Manager #150829 - WA - Redmond - Microsoft Corporation
Product: Windows Mobile Services Does the prospect of a market with 2...
Lead Software Development Engineer #147270 - WA - Redmond - Microsoft Corporation
Crazy about movies and TV? Ga-ga about your digital music? Love to...
Matrix Technical Practice Manager #1570 - USA - SunGard
Reference No.: 1570 Opening Date: May 22, 2006 Job Title: Matrix T...
Applications Developer #146783 - WA - Redmond - Microsoft Corporation
The OEM IT development group is fast paced, innovative, and deploying ...
Software Development Engineer #148483 - WA - Redmond - Microsoft Corporation
Crazy about movies and TV? Ga-ga about your digital music? Love to ...
Software Development Engineer #142066 - WA - Redmond - Microsoft Corporation
Are you passionate about your Recorded TV? Do you want to create the n...
Technologist #139664 - WA - Redmond - Microsoft Corporation
The Application Consulting & Engineering (ACE) team is responsible for...
Software Developer #75022-20004 - SC - Charleston - Blackbaud, Inc.
Software Developer Job Tracking ID: 75022-20004 Location: C...
Technologist #139663 - WA - Redmond - Microsoft Corporation
The Application Consulting & Engineering (ACE) team is responsible for...