WCF Tutorials Overview
Welcome to WCF Tutorials. The objective of these tutorials is to gain in depth understanding of Microsoft WCF Framework. In these tutorials, we will cover topics such as WCF Architecture, Contracts, Hosting etc.
In addition to WCF Tutorials, we will cover common interview questions and issues of WCF Framework.
Index
- WCF [Windows Communication Foundation] in vb.net
- Adding WCF Features in the SilverLight Application
- WCF Integration with SilverLight
- Events with media elements control in WCF
- Working with Grid layout In WCF
- Working With Layouts in WCF
- Remoting concept and its Architecture in WCF
- Hosting options with WCF services
- Data Contract in WCF services
- Contracts in WCF
- WCF Transaction Example
- Transactions in WCF
- WCF service from Windows Forms Applications
- Create WCF service with database
- Working with WCF services
- Service in WCF
- WCF Architecture
- WCF Introduction
WCF Overview
WCFwindows communication foundation
WCF is a technology used to implement “service oriented architecture programming” (SOA programming)
To understand SOA programming we need to look into the history of programming languages.
The era of 1990’s started with structured oriented programming
In structured oriented programming the code was written in the form of functions like,
Int add (int x, int y)
{
…
}
Int subtract (int x, inty)
{
…
}
In structured oriented programming though reusability was their but it was not efficient and whenever a problem is redefined / enhanced it was required to write complete code again.
To overcome this drawback in the era of 1990’s we got object oriented programming.
Object oriented programming we got the concept classes as well as objects.
Functional programming of structured oriented converted into object oriented programming i.e, parameters of the functions are transformed to data fields & properties of a class and functions are written without parameters just like,
class clsArithmetic
{
Int x,y,z;
Public .int px
{
set{----;}
get{---;}
}
Public int py
{
set{------;}
get{-----;}
}
public int p3
{
set{----;}
get{---;}
}
public void add()
{
….
}
public void subtraction
}
…
}
Object oriented programming completely speaks about classes & objects and communication will take place with the help of object data using this we are able to get all the facilities of object oriented programming like abstraction, encapsulation, polymorphism, inheritance, etc.
With this object oriented programming we are able to build efficient applications using different object oriented programming languages like c# .net, Java, etc.
Homogeneous Applications
The applications developed using same technologies/ programming languages are known as “homogeneous applications”
Heterogeneous Applications
Applications developed using different technologies are known as “Heterogeneous Applications”.
Communication between homogeneous applications will be taken place with object data like,
Advantages of object oriented programming
Communication among heterogeneous applications is not possible on proprietary formats in object oriented programming engorges.
Make communication among the heterogeneous application in the era of 2000 companies have come with a new communication format i.e., “Massage format” like,
A message is the data required to be transferred heterogeneous application with open standard output
Service oriented architecture programming speaks specially to communicate among the heterogeneous applications. If we consider a scenario like to allow users to combine & reuse them in production of applications.
Messages:- A message is the data i.e. used to be transferred between two heterogeneous applications & which is in an open standard format.
A message. is a self contained unit of data that may consists of several parts including body & headers