Can we implement Inheritance in WCF ServiceContract : WCF Interview Series #2

Can we implement Inheritance in WCF ServiceContract? YES we can have Contract Inheritance in WCF. In other words in WCF one ServiceContract can inherit other ServiceContract. Let us take an example that you have a ServiceContract named IParentService as given below, Another ServiceContract named IChildService can inherit IParentService as following, Next you need to decide … Continue reading Can we implement Inheritance in WCF ServiceContract : WCF Interview Series #2

Multiple WCF EndPoints are not only about having Multiple Addresses Dude!

I read astronomical blogs on Multiple EndPoints in WCF. As a reader I find some way of ambiguity in author’s explanation to this relatively easy topic. In this post my agenda is very simple. I will not use any code or jargon to explain you multiple EndPoints. I am trying to let you understand Multiple … Continue reading Multiple WCF EndPoints are not only about having Multiple Addresses Dude!

WCF 4.5 features: Simplified Generated Configuration Files

  In this post we will discuss one of the most important feature of WCF 4.5. WCF 4.5 generates simplified configuration file at the client side. WCF 4.5 generates configuration file for basicHttpBinding as following,     To understand simplified configuration file in better way take an example, Before WCF4.5 when you were adding a … Continue reading WCF 4.5 features: Simplified Generated Configuration Files

Consuming WCF SOAP Service in Windows 8 Metro Application

In this post we will consume WCF SOAP Service in C#/XAML based Metro Application. This is level 100 post showing basic steps to create simple WCF Service and consume that in Metro Application. Very first let us create a WCF Service using VS2012. Form File menu create a new project by choosing WCF Service Application … Continue reading Consuming WCF SOAP Service in Windows 8 Metro Application

How to consume WCF REST Service with JSON in Windows Phone 7

In this post I will show you the way to consume JSON WCF REST Service in Windows Phone 7. This post is divided into four parts. Creating simple WCF REST Service for ADD Consuming JSON REST Service in Windows Phone 7 application. Creating complex WCF REST Service with custom classes and types. Consuming complex JSON … Continue reading How to consume WCF REST Service with JSON in Windows Phone 7