What is the need for Hash Table and Serialization in .Net ?

What is the need for Hash Table and Serialization in .Net ?

Ans)
The Hashtable object contains items in key/value pairs. The keys are used as indexes. We can search value by using their corresponding key.
In .NET, the class that implements a hash table is the Hashtable class.

By using Add Method we can add elements to the Hashtable as shown below:
----------
private Hashtable table = new Hashtable();

public void AddEntry(BookEntry entry)
{
table.Add( entry.GetPerson(), entry );
}
-----------
Once the Hashtable gets populated,you can search and retrieve data in it by calling the indexer for the Hashtable class as shown below:
-----------------------------
public BookEntry GetEntry(Person key)
{
return (BookEntry) table[key];
}
----------------------------------

You can also remove the records from the Hashtable by calling the Remove Method which takes a key identifying the element you want to remove as shown below:
-------------------------------------
public void DeleteEntry(Person key)
{
table.Remove( key );
}
---------------------------------------
The data populated from the Hashtable can be saved using Serialization process.
Serialization is a process where the object gets converted into a linear sequence of Bytes for storage or transmission to another location.
This process can be done by using BinaryFormater class which serializes Hashtable object to file stream.
--------------------------
public void Save()
{
Stream s = File.Open("Phone.bin", FileMode.Create, FileAccess.ReadWrite);
BinaryFormatter b = new BinaryFormatter();
b.Serialize(s, table);
s.Close();
}
-----------------------------

By using the Deserialize method, you can get back the recovered Hashtable object as shown below:
--------------------
s = File.Open("Phone.bin", FileMode.Open, FileAccess.Read);
BinaryFormatter b = new BinaryFormatter();
table = (Hashtable) b.Deserialize(s);
--------------------------
What is the need for Hash Table and Serialization in .Net ?

Ans)
The Hashtable object contains items in key/value pairs. The keys are used as indexes. We can search value by using their corresponding key.
In .NET, the class that implements a hash table is the Hashtable class.

By using Add Method we can add elements to the Hashtable as shown below:
----------
private Hashtable table = new Hashtable();

public void AddEntry(BookEntry entry)
{
table.Add( entry.GetPerson(), entry );
}
-----------
Once the Hashtable gets populated,you can search and retrieve data in it by calling the indexer for the Hashtable class as shown below:
-----------------------------
public BookEntry GetEntry(Person key)
{
return (BookEntry) table[key];
}
----------------------------------

You can also remove the records from the Hashtable by calling the Remove Method which takes a key identifying the element you want to remove as shown below:
-------------------------------------
public void DeleteEntry(Person key)
{
table.Remove( key );
}
---------------------------------------
The data populated from the Hashtable can be saved using Serialization process.
Serialization is a process where the object gets converted into a linear sequence of Bytes for storage or transmission to another location.
This process can be done by using BinaryFormater class which serializes Hashtable object to file stream.
--------------------------
public void Save()
{
Stream s = File.Open("Phone.bin", FileMode.Create, FileAccess.ReadWrite);
BinaryFormatter b = new BinaryFormatter();
b.Serialize(s, table);
s.Close();
}
-----------------------------

By using the Deserialize method, you can get back the recovered Hashtable object as shown below:
--------------------
s = File.Open("Phone.bin", FileMode.Open, FileAccess.Read);
BinaryFormatter b = new BinaryFormatter();
table = (Hashtable) b.Deserialize(s);
--------------------------

What is the need for Hash Table and Serialization in .Net ?

What is the need for Hash Table and Serialization in .Net ?

Ans)
The Hashtable object contains items in key/value pairs. The keys are used as indexes. We can search value by using their corresponding key.
In .NET, the class that implements a hash table is the Hashtable class.

By using Add Method we can add elements to the Hashtable as shown below:
----------
private Hashtable table = new Hashtable();

public void AddEntry(BookEntry entry)
{
table.Add( entry.GetPerson(), entry );
}
-----------
Once the Hashtable gets populated,you can search and retrieve data in it by calling the indexer for the Hashtable class as shown below:
-----------------------------
public BookEntry GetEntry(Person key)
{
return (BookEntry) table[key];
}
----------------------------------

You can also remove the records from the Hashtable by calling the Remove Method which takes a key identifying the element you want to remove as shown below:
-------------------------------------
public void DeleteEntry(Person key)
{
table.Remove( key );
}
---------------------------------------
The data populated from the Hashtable can be saved using Serialization process.
Serialization is a process where the object gets converted into a linear sequence of Bytes for storage or transmission to another location.
This process can be done by using BinaryFormater class which serializes Hashtable object to file stream.
--------------------------
public void Save()
{
Stream s = File.Open("Phone.bin", FileMode.Create, FileAccess.ReadWrite);
BinaryFormatter b = new BinaryFormatter();
b.Serialize(s, table);
s.Close();
}
-----------------------------

By using the Deserialize method, you can get back the recovered Hashtable object as shown below:
--------------------
s = File.Open("Phone.bin", FileMode.Open, FileAccess.Read);
BinaryFormatter b = new BinaryFormatter();
table = (Hashtable) b.Deserialize(s);
--------------------------
What is the need for Hash Table and Serialization in .Net ?

Ans)
The Hashtable object contains items in key/value pairs. The keys are used as indexes. We can search value by using their corresponding key.
In .NET, the class that implements a hash table is the Hashtable class.

By using Add Method we can add elements to the Hashtable as shown below:
----------
private Hashtable table = new Hashtable();

public void AddEntry(BookEntry entry)
{
table.Add( entry.GetPerson(), entry );
}
-----------
Once the Hashtable gets populated,you can search and retrieve data in it by calling the indexer for the Hashtable class as shown below:
-----------------------------
public BookEntry GetEntry(Person key)
{
return (BookEntry) table[key];
}
----------------------------------

You can also remove the records from the Hashtable by calling the Remove Method which takes a key identifying the element you want to remove as shown below:
-------------------------------------
public void DeleteEntry(Person key)
{
table.Remove( key );
}
---------------------------------------
The data populated from the Hashtable can be saved using Serialization process.
Serialization is a process where the object gets converted into a linear sequence of Bytes for storage or transmission to another location.
This process can be done by using BinaryFormater class which serializes Hashtable object to file stream.
--------------------------
public void Save()
{
Stream s = File.Open("Phone.bin", FileMode.Create, FileAccess.ReadWrite);
BinaryFormatter b = new BinaryFormatter();
b.Serialize(s, table);
s.Close();
}
-----------------------------

By using the Deserialize method, you can get back the recovered Hashtable object as shown below:
--------------------
s = File.Open("Phone.bin", FileMode.Open, FileAccess.Read);
BinaryFormatter b = new BinaryFormatter();
table = (Hashtable) b.Deserialize(s);
--------------------------

WCF Interview Questions Part_3

Previous Questions

7) What is a service contract, operation contract and Data Contract?
Ans)
ServiceContract :
ñ  Describes which operation client can perform on the services
ñ  Indicates that an interface or a class defines a service contract in a application
     operation contract:
ñ  Indicates that a method defines an operation that is part of a service contract
      Data Contract :
Defines which data type are processed  to and from the services, It provides built in contract for implicit type


Previous Questions
Previous Questions

7) What is a service contract, operation contract and Data Contract?
Ans)
ServiceContract :
ñ  Describes which operation client can perform on the services
ñ  Indicates that an interface or a class defines a service contract in a application
     operation contract:
ñ  Indicates that a method defines an operation that is part of a service contract
      Data Contract :
Defines which data type are processed  to and from the services, It provides built in contract for implicit type


Previous Questions

WCF Interview Questions Part_2

Previous Questions                                                                                 Next Questions

4)      What are the main components of WCF?
Ans)
            The main components of WCF are

1. Service class
2. Hosting environment
3. End point
----------------------------------------------------
5)      Can you explain how End points, Contract, Address and Bindings are done in WCF?
Ans)
All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.
            Each endpoint consists of four properties:
ñ An address that indicates where the endpoint can be found.
ñ A binding that specifies how a client can communicate with the endpoint.
ñ A contract that identifies the operations available.
ñ A set of behaviors that specify local implementation details of the endpoint.
Example for Create EndPoints:
This example we explain with TCP Binding  binding type & class for this one is NetTcpBinding
string urlService=  “HostName”;
NetTcpBinding tcpBinding = new NetTcpBinding();
tcpBinding.TransactionFlow = false;
tcpBinding.Security.Transport.ProtectionLevel =                             System.Net.Security.ProtectionLevel.EncryptAndSign;
tcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
tcpBinding.Security.Mode = SecurityMode.None; // <- Very crucial
                
 // Add a endpoint
syntax :: host.AddServiceEndpoint(contract,Binding,Address)
host.AddServiceEndpoint(typeof(Method or class for access your service), tcpBinding, urlService);

-------------------------------------
6)What is a service class?
Ans) Service class means a .cs file, it contains the Servicecontract,DataContract & Operationcontract.
Service class is contains Endpoints.


Previous Questions                                                            Next Questions

Previous Questions                                                                                 Next Questions

4)      What are the main components of WCF?
Ans)
            The main components of WCF are

1. Service class
2. Hosting environment
3. End point
----------------------------------------------------
5)      Can you explain how End points, Contract, Address and Bindings are done in WCF?
Ans)
All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.
            Each endpoint consists of four properties:
ñ An address that indicates where the endpoint can be found.
ñ A binding that specifies how a client can communicate with the endpoint.
ñ A contract that identifies the operations available.
ñ A set of behaviors that specify local implementation details of the endpoint.
Example for Create EndPoints:
This example we explain with TCP Binding  binding type & class for this one is NetTcpBinding
string urlService=  “HostName”;
NetTcpBinding tcpBinding = new NetTcpBinding();
tcpBinding.TransactionFlow = false;
tcpBinding.Security.Transport.ProtectionLevel =                             System.Net.Security.ProtectionLevel.EncryptAndSign;
tcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
tcpBinding.Security.Mode = SecurityMode.None; // <- Very crucial
                
 // Add a endpoint
syntax :: host.AddServiceEndpoint(contract,Binding,Address)
host.AddServiceEndpoint(typeof(Method or class for access your service), tcpBinding, urlService);

-------------------------------------
6)What is a service class?
Ans) Service class means a .cs file, it contains the Servicecontract,DataContract & Operationcontract.
Service class is contains Endpoints.


Previous Questions                                                            Next Questions

WCF Interview Questions Part_2

Previous Questions                                                                                 Next Questions

4)      What are the main components of WCF?
Ans)
            The main components of WCF are

1. Service class
2. Hosting environment
3. End point
----------------------------------------------------
5)      Can you explain how End points, Contract, Address and Bindings are done in WCF?
Ans)
All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.
            Each endpoint consists of four properties:
ñ An address that indicates where the endpoint can be found.
ñ A binding that specifies how a client can communicate with the endpoint.
ñ A contract that identifies the operations available.
ñ A set of behaviors that specify local implementation details of the endpoint.
Example for Create EndPoints:
This example we explain with TCP Binding  binding type & class for this one is NetTcpBinding
string urlService=  “HostName”;
NetTcpBinding tcpBinding = new NetTcpBinding();
tcpBinding.TransactionFlow = false;
tcpBinding.Security.Transport.ProtectionLevel =                             System.Net.Security.ProtectionLevel.EncryptAndSign;
tcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
tcpBinding.Security.Mode = SecurityMode.None; // <- Very crucial
                
 // Add a endpoint
syntax :: host.AddServiceEndpoint(contract,Binding,Address)
host.AddServiceEndpoint(typeof(Method or class for access your service), tcpBinding, urlService);

-------------------------------------
6)What is a service class?
Ans) Service class means a .cs file, it contains the Servicecontract,DataContract & Operationcontract.
Service class is contains Endpoints.


Previous Questions                                                            Next Questions

Previous Questions                                                                                 Next Questions

4)      What are the main components of WCF?
Ans)
            The main components of WCF are

1. Service class
2. Hosting environment
3. End point
----------------------------------------------------
5)      Can you explain how End points, Contract, Address and Bindings are done in WCF?
Ans)
All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service. Endpoints provide clients access to the functionality offered by a WCF service.
            Each endpoint consists of four properties:
ñ An address that indicates where the endpoint can be found.
ñ A binding that specifies how a client can communicate with the endpoint.
ñ A contract that identifies the operations available.
ñ A set of behaviors that specify local implementation details of the endpoint.
Example for Create EndPoints:
This example we explain with TCP Binding  binding type & class for this one is NetTcpBinding
string urlService=  “HostName”;
NetTcpBinding tcpBinding = new NetTcpBinding();
tcpBinding.TransactionFlow = false;
tcpBinding.Security.Transport.ProtectionLevel =                             System.Net.Security.ProtectionLevel.EncryptAndSign;
tcpBinding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
tcpBinding.Security.Mode = SecurityMode.None; // <- Very crucial
                
 // Add a endpoint
syntax :: host.AddServiceEndpoint(contract,Binding,Address)
host.AddServiceEndpoint(typeof(Method or class for access your service), tcpBinding, urlService);

-------------------------------------
6)What is a service class?
Ans) Service class means a .cs file, it contains the Servicecontract,DataContract & Operationcontract.
Service class is contains Endpoints.


Previous Questions                                                            Next Questions

WCF Interview Questions Part_1

1)What is WCF?

First let us give a short answer to this: - “WCF (Indigo was the code name for WCF) is a unification of .NET framework communication technologies “.WCF is a unification technology, which unites the following technologies:-
• NET remoting
• MSMQ
• Web services
• COM+.
Below figure depicts WCF fundamentals pictorially.


---------------------------------------------------------------------

2)What are bindings?
Ans)
Bindings specify how a Windows Communication Foundation (WCF) service endpoint communicates with other endpoints. At its most basic, a binding must specify the transport (for example, HTTP or TCP) to use. You can also set other characteristics, such as security and transaction support, through bindings.
Here we have 9 types of binidings and this binding classes are under the
System.ServiceModel namespase
Binding type
Class name under  “System.ServiceModel” namespase

Basic Binding

BasicHttpBinding

TCP Binding

NetTcpBinding

Peer Network Binding

NetPeerTcpBinding 

IPC Binding

NetNamedPipeBinding

Web Service (WS)  Binding

WSHttpBinding

Federated WS Binding

WSFederationHttpBinding

Duplex WS Binding

WSDualHttpBinding

MSMQ Binding

NetMsmqBinding

MSMQ Integration Binding

MsmqIntegrationBinding



-------------------------------------------------------------------------------------------------------

3)      Which specifications does WCF follow?
Ans)

WCF supports specifications defined by WS-* specifications. WS-* specifications are defined together by Microsoft, IBM, SUN and many other big companies so that they can expose there service through a common protocol. WCF supports all specifications defined we will understand them one by one.

1.Messaging (WS-Addressing):- SOAP is the fundamental protocol for web services. WS Addressing defines some extra additions to SOAP headers, which makes SOAP free from underlying transport protocol. One of the good things about Message transmission is MTOM, also termed as Message Transmission Optimization Mechanism. They optimize transmission format for SOAP messages in XML-Binary formant using XML optimized packaging (XOP). Because the data will sent in binary and optimized format, it will give us huge performance gain.

2.Security (WS-Security, WS-Trust, and WS-Secure Conversation): - All the three WS- define authentication, security, data integrity and privacy features for a service.

3.Reliability (WS-Reliable Messaging): - This specification ensures end-to-end communication when we want SOAP messages to be traversed back and forth many times.

4.Transactions (WS-Coordination and WS-Atomic Transaction): - These two specifications enable transaction with SOAP messages.

5.Metadata (WS-Policy and WS-Metadata exchange): - WSDL is a implementation of WS-Metadata Exchange protocol. WS-Policy defines more dynamic features of a service, which cannot be expressed by WSDL.
We have stressed on the WS-* specification as it is a specification which a service has to follow to be compatible with other languages. Because WCF follows WS-* specifications other languages like JAVA , C++ can also exploit features like Messaging , Security , Reliability and transactions written in C# or VB.NET. This is the biggest achievement of WCF to integrate the above features with other languages. 

1)What is WCF?

First let us give a short answer to this: - “WCF (Indigo was the code name for WCF) is a unification of .NET framework communication technologies “.WCF is a unification technology, which unites the following technologies:-
• NET remoting
• MSMQ
• Web services
• COM+.
Below figure depicts WCF fundamentals pictorially.


---------------------------------------------------------------------

2)What are bindings?
Ans)
Bindings specify how a Windows Communication Foundation (WCF) service endpoint communicates with other endpoints. At its most basic, a binding must specify the transport (for example, HTTP or TCP) to use. You can also set other characteristics, such as security and transaction support, through bindings.
Here we have 9 types of binidings and this binding classes are under the
System.ServiceModel namespase
Binding type
Class name under  “System.ServiceModel” namespase

Basic Binding

BasicHttpBinding

TCP Binding

NetTcpBinding

Peer Network Binding

NetPeerTcpBinding 

IPC Binding

NetNamedPipeBinding

Web Service (WS)  Binding

WSHttpBinding

Federated WS Binding

WSFederationHttpBinding

Duplex WS Binding

WSDualHttpBinding

MSMQ Binding

NetMsmqBinding

MSMQ Integration Binding

MsmqIntegrationBinding



-------------------------------------------------------------------------------------------------------

3)      Which specifications does WCF follow?
Ans)

WCF supports specifications defined by WS-* specifications. WS-* specifications are defined together by Microsoft, IBM, SUN and many other big companies so that they can expose there service through a common protocol. WCF supports all specifications defined we will understand them one by one.

1.Messaging (WS-Addressing):- SOAP is the fundamental protocol for web services. WS Addressing defines some extra additions to SOAP headers, which makes SOAP free from underlying transport protocol. One of the good things about Message transmission is MTOM, also termed as Message Transmission Optimization Mechanism. They optimize transmission format for SOAP messages in XML-Binary formant using XML optimized packaging (XOP). Because the data will sent in binary and optimized format, it will give us huge performance gain.

2.Security (WS-Security, WS-Trust, and WS-Secure Conversation): - All the three WS- define authentication, security, data integrity and privacy features for a service.

3.Reliability (WS-Reliable Messaging): - This specification ensures end-to-end communication when we want SOAP messages to be traversed back and forth many times.

4.Transactions (WS-Coordination and WS-Atomic Transaction): - These two specifications enable transaction with SOAP messages.

5.Metadata (WS-Policy and WS-Metadata exchange): - WSDL is a implementation of WS-Metadata Exchange protocol. WS-Policy defines more dynamic features of a service, which cannot be expressed by WSDL.
We have stressed on the WS-* specification as it is a specification which a service has to follow to be compatible with other languages. Because WCF follows WS-* specifications other languages like JAVA , C++ can also exploit features like Messaging , Security , Reliability and transactions written in C# or VB.NET. This is the biggest achievement of WCF to integrate the above features with other languages. 

WCF Interview Questions Part_1

1)What is WCF?

First let us give a short answer to this: - “WCF (Indigo was the code name for WCF) is a unification of .NET framework communication technologies “.WCF is a unification technology, which unites the following technologies:-
• NET remoting
• MSMQ
• Web services
• COM+.
Below figure depicts WCF fundamentals pictorially.


---------------------------------------------------------------------

2)What are bindings?
Ans)
Bindings specify how a Windows Communication Foundation (WCF) service endpoint communicates with other endpoints. At its most basic, a binding must specify the transport (for example, HTTP or TCP) to use. You can also set other characteristics, such as security and transaction support, through bindings.
Here we have 9 types of binidings and this binding classes are under the
System.ServiceModel namespase
Binding type
Class name under  “System.ServiceModel” namespase

Basic Binding

BasicHttpBinding

TCP Binding

NetTcpBinding

Peer Network Binding

NetPeerTcpBinding 

IPC Binding

NetNamedPipeBinding

Web Service (WS)  Binding

WSHttpBinding

Federated WS Binding

WSFederationHttpBinding

Duplex WS Binding

WSDualHttpBinding

MSMQ Binding

NetMsmqBinding

MSMQ Integration Binding

MsmqIntegrationBinding



-------------------------------------------------------------------------------------------------------

3)      Which specifications does WCF follow?
Ans)

WCF supports specifications defined by WS-* specifications. WS-* specifications are defined together by Microsoft, IBM, SUN and many other big companies so that they can expose there service through a common protocol. WCF supports all specifications defined we will understand them one by one.

1.Messaging (WS-Addressing):- SOAP is the fundamental protocol for web services. WS Addressing defines some extra additions to SOAP headers, which makes SOAP free from underlying transport protocol. One of the good things about Message transmission is MTOM, also termed as Message Transmission Optimization Mechanism. They optimize transmission format for SOAP messages in XML-Binary formant using XML optimized packaging (XOP). Because the data will sent in binary and optimized format, it will give us huge performance gain.

2.Security (WS-Security, WS-Trust, and WS-Secure Conversation): - All the three WS- define authentication, security, data integrity and privacy features for a service.

3.Reliability (WS-Reliable Messaging): - This specification ensures end-to-end communication when we want SOAP messages to be traversed back and forth many times.

4.Transactions (WS-Coordination and WS-Atomic Transaction): - These two specifications enable transaction with SOAP messages.

5.Metadata (WS-Policy and WS-Metadata exchange): - WSDL is a implementation of WS-Metadata Exchange protocol. WS-Policy defines more dynamic features of a service, which cannot be expressed by WSDL.
We have stressed on the WS-* specification as it is a specification which a service has to follow to be compatible with other languages. Because WCF follows WS-* specifications other languages like JAVA , C++ can also exploit features like Messaging , Security , Reliability and transactions written in C# or VB.NET. This is the biggest achievement of WCF to integrate the above features with other languages. 

1)What is WCF?

First let us give a short answer to this: - “WCF (Indigo was the code name for WCF) is a unification of .NET framework communication technologies “.WCF is a unification technology, which unites the following technologies:-
• NET remoting
• MSMQ
• Web services
• COM+.
Below figure depicts WCF fundamentals pictorially.


---------------------------------------------------------------------

2)What are bindings?
Ans)
Bindings specify how a Windows Communication Foundation (WCF) service endpoint communicates with other endpoints. At its most basic, a binding must specify the transport (for example, HTTP or TCP) to use. You can also set other characteristics, such as security and transaction support, through bindings.
Here we have 9 types of binidings and this binding classes are under the
System.ServiceModel namespase
Binding type
Class name under  “System.ServiceModel” namespase

Basic Binding

BasicHttpBinding

TCP Binding

NetTcpBinding

Peer Network Binding

NetPeerTcpBinding 

IPC Binding

NetNamedPipeBinding

Web Service (WS)  Binding

WSHttpBinding

Federated WS Binding

WSFederationHttpBinding

Duplex WS Binding

WSDualHttpBinding

MSMQ Binding

NetMsmqBinding

MSMQ Integration Binding

MsmqIntegrationBinding



-------------------------------------------------------------------------------------------------------

3)      Which specifications does WCF follow?
Ans)

WCF supports specifications defined by WS-* specifications. WS-* specifications are defined together by Microsoft, IBM, SUN and many other big companies so that they can expose there service through a common protocol. WCF supports all specifications defined we will understand them one by one.

1.Messaging (WS-Addressing):- SOAP is the fundamental protocol for web services. WS Addressing defines some extra additions to SOAP headers, which makes SOAP free from underlying transport protocol. One of the good things about Message transmission is MTOM, also termed as Message Transmission Optimization Mechanism. They optimize transmission format for SOAP messages in XML-Binary formant using XML optimized packaging (XOP). Because the data will sent in binary and optimized format, it will give us huge performance gain.

2.Security (WS-Security, WS-Trust, and WS-Secure Conversation): - All the three WS- define authentication, security, data integrity and privacy features for a service.

3.Reliability (WS-Reliable Messaging): - This specification ensures end-to-end communication when we want SOAP messages to be traversed back and forth many times.

4.Transactions (WS-Coordination and WS-Atomic Transaction): - These two specifications enable transaction with SOAP messages.

5.Metadata (WS-Policy and WS-Metadata exchange): - WSDL is a implementation of WS-Metadata Exchange protocol. WS-Policy defines more dynamic features of a service, which cannot be expressed by WSDL.
We have stressed on the WS-* specification as it is a specification which a service has to follow to be compatible with other languages. Because WCF follows WS-* specifications other languages like JAVA , C++ can also exploit features like Messaging , Security , Reliability and transactions written in C# or VB.NET. This is the biggest achievement of WCF to integrate the above features with other languages.