In this article, we will explain self-hosting a service using a Windows console application.
Essential WCF Practical Implementation