Monday, 25 November 2013

12 WCF interview questions and answers


1.What is Windows Communication Foundation, WCF?
WCF helps in building applications to communicate with each other. It is a framework that helps in managing distributed computing...............
2.What are the components of WCF?
Components of WCF Contracts and descriptions: - Describes different features of messaging. The features are described by Data contract, message contract, service contract and policy and binding..................
3.What is the difference between WCF and Web services?
WCF has a variety of distributed programming infrastructures. WCF offers more flexibility and portability................
4.What is duplex contracts in WCF?
WCF allows duplex messaging pattern. Services can communicate with client through a callback. Duplex messaging in WCF................
5.What are different binding supported by WCF?
Different bindings
Built- in bindings and custom bindings. When the built in or system provided bindings are not suited for the requirement...............
6.How do we use MSMQ binding in WCF?
Message queue allows applications running at different times to send and read messages from queues. WCF uses transactional queue to capture messages, delivered and stored...................
7.Explain volatile queues and Dead letter queues.
WCF also uses non transactional queues for storing messages. Such queues are volatile in nature. They are stored in memory and not used in transactions. On shutting down the machine, the queue is lost.................
8.What are the various ways of hosting a WCF service?
Ways of hosting WCF Service: Self hosting: - The service code is embedded within the application code. An end point for the service is defined and an instance of SeriveHost is created......................
9.Explain transactions in WCF.
Transactions in WCF allow several components to concurrently participate in an operation.................
10.What are the various programming approaches for WCF?
Programming approaches for WCF: Imperative: - Different programming languages can be sued for implementing service logic..................
11.What are the advantages of hosting WCF services in IIS?
Advantages of hosting WCF services in IIS : Provides process activation and recycling ability thereby increasing reliability..............
12.What are different isolation levels provided in WCF?
The different isolation levels: READ UNCOMMITTED: - An uncommitted transaction can be read. This transaction can be rolled back later..................
<<Previous  Next>>
>Windows Presentation Foundation (WPF)
ASP.NET 2.0 Themes
One of the neat features of ASP.NET 2.0 is themes, which enable you to define the appearance of a set of controls once and apply the appearance to your entire web application............
ASP.NET Overview
This article includes brief about ASP.NET, advantages of ASP.NET, navigation sequence of ASP.NET web form, web Form components, .NET framework, event handlers in ASP.NET, web form events, server control events in ASP.NET, and server controls vs. HTML controls, validation controls, navigation, and steps to store cookies, ways to authenticate and authorize users in ASP.NET etc.
.NET Code Security
This includes explanation of code security, Principal object, declarative and imperative security, role-based security, code access security and code group.
.NET Assembly 
This article explains .Net assembly, private and shared assembly, satellite assemblies, resource-only assembly, ResourceManager class, strong name, global assembly cache.
ASP.NET Master Pages 
This article has content about master page, its advantages and how to create master page in ASP.NET. It also describes about multiple master page.

No comments: