Introduction:
In this article,i am going to explain how to run a com+ application as a wcf service.
Main:
The wcf system.servicemodel namespace helps us to run com+ services as wcf application.
We can convert the com+ component as service,
com+ component interfaces as contracts,
com+ component methods as service operations,
See this below demo application,In this application i am going to explore com+ app as wcf service.(See the pics below),

Browse it and select the app you wants to install as COM+ service,

Next we need to create a wrapper for exposing this com+ service as wcf,
The primary utility for this is the ComSvcConfig.exe utility. This is a command-line utility
that is installed with the .NET 3.0 runtime. Additionally, the SvcConfigEditor.exe utility
provides a graphical interface with some additional features that help hide the complexities of
the command-line ComSvcConfig.exe utility. One suggestion is to get used to the SvcConfigEditor.exe
utility; it facilitates the composition of proper configuration files for WCF with configuration-time
validation of many elements.
We can ComSvcConfig utiliy in the following two ways,
1.Command Line,
2.Service Configuration Editor GUI
In command line,(for ex)
ComSvcConfig.exe /install /application:COMSVCS /contract:COMSVCS.TrackerServer,IGetAppData /hosting:comservice
In GUI,(You must be an admin for access this tool)
Just Goto Start –> Programs –> Microsoft visual studio –> Microsoft windows SDK tools –> click service
configuration editor,

New let’s start to configure,
1.Click File –> Integrate –> COM+ Application,

2.Select the interface you wants to expose as a wcf contracts,
thatsit,
Conclusion:
Hope this helps,
Happy coding.



found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later