1) Explain what is WCF?
WCF (Windows Communication Framework) is Microsoft framework to make inter-process communication easier. Through various means, it lets you do the communication like MS messaging Queuing, Services, Remoting and so on. It also allows you talk with other.NET apps, or non-Microsoft technologies (like J2EE).
2) Mention what are the main components of WCF?
Main components of WCF are
3) Explain how does WCF works?
WCF follows the “Software as a Service” model, where all units of functionality are defined as services. For communication, each point is a portal or connection either with the client or other services. It is a program that exposes a collection of endpoints.
4) Explain what is the difference between ASMX web services and WCF?
The difference between WCF and ASMX or ASP.net web service is that ASMX is designed to send and receive messages using SOAP over HTTP only. While the WCF can exchange messages using any format over any transport protocol
5) Mention what is the endpoint in WCF and what are the three major points in WCF?
Every service must have an address that determines where the service is located, contract that defines what the service does and binding that tells how to communicate with the service.
6) Explain how many types of contract does WCF defines?
WCF defines four types of Contracts
7) What are the transport schemas does WCF supports?
It supports
8) Mention what are the ways of hosting a WCF service?
The ways of hosting a WCF service are
9) Mention the address syntax and the different formats of WCF transport scheme?
Address syntax of WCF transport scheme is
[transport]:// [machine or domain] [: optional port] format
10) In WCF what are duplex contracts?
Duplex messaging or call-back is used in WCF to communicate with the client. Over different transport system Duplex messaging in WCF is done like TCP, Named pipe and even HTTP. Collectively this is known as duplex contracts in WCF.
11) Mention what are the different instance modes in WCF?
To a particular service instance WCF binds an incoming message request, so the available modes are
12) Explain what is a Service Proxy in windows Communication Foundation?
In WCF, a service proxy enables applications to interact with WCF service by sending and receiving messages. It’s a class that covers service details like service path, service implementation technology, platform and communication protocol and so on. So, when the application interact the service through proxy, it gives the impression that it’s communicating a local object.
13) Explain what is SOA?
SOA (Service Oriented Architectural) is a collection of services that determines how two computing entities will communicate with each other to achieve certain business functionality and also how one entity can work on behalf of another entity.
14) What are the types of Data Contracts in WCF?
There are two types of Data Contracts
15) What are the three types of transaction manager WCF supports?
The types of the transaction manager that WCF supports are
16) List out the difference between XMLSerializer and the DataContractSerializer?
DataContractSerializer | XMLSerializer |
– For WCF, DataContractSerializer is the default serializer | – XMLSerializer is not a default serializer |
– Compare to XMLSerializer it is faster | – XMLSerializer is slower |
– It is used for simple schemes | – It is used for complex schemes |
17) Explain what are the MEPs available in WCF?
MEP stand for Message Exchange Pattern, three types of message exchanged patterns are allowed.
18) Name the namespace that is used to access WCF service?
System.ServiceModel is used to access WCF service
19) List out the types of binding available in WCF?
The types of binding available in WCF are
20) Explain what is DataContractSerializer?
The process of changing an object instance to a portable and transferable format is known as the Serialization, and serialization of data is referred as DataContractSerializer.
21) Mention what are the various address format in WCF?
The various address format in WCF are
22) What is REST and what is the problem with WCF REST and how it can be resolved?
REST stands for Representational State Transfer, for designing network application REST is used. It relies on a stateless, client server, cacheable communications protocol. The reason behind creating WCF is to support SOA and not REST. It requires a lot of configuration in order to create HTTP REST service using WCF. To overcome this tedious task, ASP.NET web API was introduced.
23) List out what are the different isolation levels provided in WCF?
The different isolation levels provided in WCF are
View Comments
it very help to me. so think you so much career.guru
Good summary
it's very useful from carrer.guru
Very nice collection. I just have a point on question #14. Shouldn't we include EnumMember in the answer?