Hi All
How to host the WCF service in windows service?
Thanks Sekar
Hi All
How to host the WCF service in windows service?
Thanks Sekar
I thought this article did a pretty good job of covering the steps required: WCF Link
To summarize:
.
[RunInstaller(true)]
public class ProjectInstaller : Installer
{
}
Add your WCF classes to the project, and in the OnStart and OnStop events of the windows service you'll have to explicitly start your WCF services.
From a visual studio command prompt you can install the service using the command
.
installutil myservicename.exe
pluralsight has an excellent screencast which will walk you through hosting your WCF service in a windows service
http://www.pluralsight.com/main/screencasts/screencast.aspx?id=hosting-in-windows-services