WCF Interview Questions and Answers for Freshers Pdf Free Download - 1

Question: 1

What are the benefits that WCF offers?

The major benefits that WCF offers include:

Productivity – WCF is one of the fastest distributed technologies available today facilitating better performance and higher efficiency of the applications.

Interoperability – WCF supports interoperability between different platforms that use SOAP as well as interoperability with previous distributed technologies, such as MSMQ, remoting, and Web services.

Security – WCF has several security measures, such as service endpoint authentication, client principal authentication and message integrity and confidentiality. It also has support for Windows integrated and security and transport security measures, such as HTTPs, and message security measures, such as WS Security.

Reliability – WCF has support for reliable sessions between the service, clients and queues for separation between the service and clients. Reliable sessions make use of the WS ReliableMessaging protocol and ensure that the SOAP messages sent from one endpoint to another are received only once and in the same order. Queues in WCF are bases on MSMQ and allows loosely coupled applications, load leveling and disconnected operations.

Support for transactions – WCF supports transactions, which refers to a single executable unit consisting of different operations grouped together.

Support for AJAX and JSON – WCF enables services to express their

Question: 2

Which protocol does WCF employ for distributed applications?

WCF applications employ the Simple Object Access Protocol (SOAP).

Question: 3

What does the Svcutil.exe tool perform?

The Svcutil.exe tool generates a client side proxy (a language specific file, for example a .cs or .vb file) and configuration file (.config file) from the service metadata.

Question: 4

What are the features of WCF WebHttp Service?

The WCF WebHTTP service includes the following features:

Support for automatic help page – Helps a consumer to understand the RESTful web service

Simplified Hyper Text Transfer Protocol (HTTP) caching – Allows you to cache the responses of messages from WCF Web HTTP service operations

Message format selection – Allows services to handle or return the messages in either the XML or JSON format

REST-friendly exceptions – Transmits HTTP errors back to consumers by using a new class, WebFaultException<T>

New Visual Studio project templates – Allows you to implement new project, control and tools into your Visual Studio 2010 applications by using Extension Manager.

Related Questions