Category Archives: Uncategorized

3 Ways to generate proxy for WCF Service

In Windows Communication Foundation, for a client application to communicate with a WCF Service, we have following options: Using ChannelFactory Generating Proxies I have already discussed about difference between ChannelFactory and Proxies in one of my previous WCF Tutorial on this blog. In this article, we will focus only on multiple ways to generate proxy in… Read More »

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… Read More »

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… Read More »

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)… Read More »

New Features in WCF 4.5 – Part 6

In this WCF Tutorial Series on “New Features of Windows Communication Foundation v4.5”, we have covered a lot of exciting features like Simplified Configuration, WCF Configuration Validation, ASP.NET Compatibility Mode default change, BasicHttpsBinding, Task-based Programming model etc. In this part-6 of WCF Tutorial, we will explore the following: Multiple Authentication Support Contract First Development Before… Read More »

New Features in WCF 4.5 – Part 5

“A ChannelFactory basically creates a Channel for WCF clients to communicate with WCF service endpoint“. In one of my previous WCF Interview Questions Tutorial Series, we discussed about the difference between using ChannelFactory and Windows Communication Foundation Proxy. Here in this WCF Tutorial, we are going to discuss about a new feature of Windows Communication Foundation… Read More »

New Features in WCF 4.5 – Part 4

In this part of WCF Tutorial series, we are going to implement “Task based programming model” feature of Windows Communication Foundation v4.5. Asynchronous programming has undoubtedly overcome application performance issues and also make application more responsive but as a developer for many, this approach has always been a little complex. In WCF 4.5, Microsoft introduced support for Task-based programming… Read More »

New Features in WCF 4.5 – Part 3

In my previous posts on this topic, I have explained about the following new features in Windows Communication Foundationv 4.5: New Features in WCF 4.5 – Part 1 Simplified Generated Configuration Validating WCF Configuration New Features in WCF 4.5 – Part 2 Single WSDL file Tooltip and Intellisense Support Now, here in this WCF Tutorial,… Read More »

New Features in WCF 4.5 – Part 2

This WCF Tutorial is Part-2 in series of new features in Windows Communication Foundation v4.5.  In this part, we will further explore following interesting features: Single WSDL file Tooltip and Intellisense Support In previous WCF Tutorial, we already have explored following features: Simplified Generated Configuration Validating WCF Configuration WCF – Single WSDL file As we… Read More »