Category: WCF
-
Create Image Server using WCF WEB HTTP Service
Last post I wrote on WCF Web HTTP Service: why and how. This post was for beginners in which I discussed how to get it started and write your fist WCF WEB HTTP Service. In this post we will go one step further and learn to work with streams or to be precisely images. Service…
-
WCF Web HTTP Service: why and how
Very often I talk on WCF to user groups and find developers confused on various forms of WCF. For example some of the questions I get are as follows How to create REST Service Can we create REST and SOAP Service together What is WCF Web HTTP Service How Web HTTP Service and WCF REST…
-
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…
-
Method Overloading in WCF: WCF Interview Series #1
How to do Method Overloading in WCF? Method or Operation overloading is one of the most important feature of OOPS. In programming languages like C, C++ and C#, this feature is heavily used by developers. While writing Service definition you may come across when you need to overload operations. Let us go ahead and write…
-
Four Steps to create first WCF Service: Beginners Series
This post is for beginners who are starting in WCF. I will be focused and help you to create and consume first WCF Service in simplest steps. We will follow steps as following, At the end of this post you should able to create first WCF Service and consume that in a Console Application. I…
-
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…
-
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…
-
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…
-
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…