Tag Archives: WCF Hosting

Hosting WCF Service in WAS Simplified

Windows Communication Foundation Service also known as WCF Service provides us an optimal way in creating Services. It can be hosted in a variety of ways (as explained by below diagram) including IIS, Console Application, .NET application or can be hosted as Windows Service. So why should we go for WAS hosting i.e. Windows Activation Service. […]

WCF Hosting in IIS Simplified

It’s part-3 in series of WCF Hosting Tutorials and we are going to implement that how we can host a WCF Service in IIS (version 5 or 6)? We already have implemented the following in series: WCF Self Hosting in a Console Application WCF Hosting in Windows Service Microsoft introduced WCF (Windows Communication Foundation) in […]

WCF Hosting in Windows Service Simplified

We have discussed briefly about different available hosting options (Self Hosting, Windows Service, IIS, WAS etc) for WCF Service in separate post “WCF Interview Questions and Answers – Part 1“. In this WCF Tutorial, we are going to implement hosting WCF Service in a Windows Service. Hosting in Windows Service is suitable for long-running WCF […]

Calling a WCF Self Hosted Console Application

In previous WCF Tutorial, we discussed about different hosting options available for a WCF Service. We also implemented hosting a WCF Service in a Console Application. Now in this part, we are going to call our already console hosted StudentService from a client. I’ll strongly recommend to go through previous WCF Tutorial for creating and hosting a WCF […]

WCF Self Hosting in a Console Application Simplified

In order to host a Windows Communication Foundation Service, we normally need a managed process, a ServiceHost instance and an endpoint configured forWCF Service.We can host aWCF Service in following different possible ways: Hosting in a Managed Application/ Self Hosting Console Application Windows/WPF Application Windows Service Hosting on Web Server IIS 6.0 (ASP.NET Application supports only HTTP) […]