Tag Archives: Interview Questions

.Net WCF Interview Questions and Answers

1.       What is WCF? Answer 2.       How to enable streaming? Answer 3.       What types of the operation contract parameters could be streamed? Answer 4.       Do we have to change the maxReceivedMessageSize parameter to use streaming? Answer 5.       What types of the quota have the WCF transports? Answer 6.       What is it the Teredo? How we […]

C# Interview Questions 5

What are indexers? What are their advantages over arrays?An indexer enables you to treat an object like an array.It helps you to acces the arrays in a class using the class name. Indexer enables you to use bracket notation ([]) with an object to set and get a value from an object.They encapsulate method calls […]

C# Interview Questions 4

Explain the differences between Server-side and Client-side code? Server side code executes on the server.For this to occur page has to be submitted or posted back.Events fired by the controls are executed on the server.Client side code executes in the browser of the client without submitting the page. e.g. In ASP.NET for webcontrols like asp:button […]

C# Interview Questions 3

What does \a character do? On most systems, produces a rather annoying beep. Can you create enumerated data types in C#? Yes. What’s different about switch statements in C#? No fall-throughs allowed. What happens when you encounter a continue statement inside the for loop? The code for the rest of the loop is ignored, the […]

ADO.Net Interview Questions 3

How do you handle data concurrency in .NET ?One of the key features of the ADO.NET DataSet is that it can be a self-contained and disconnected data store. It can contain the schema and data from several rowsets in DataTable objects as well as information about how to relate the DataTable objects-all in memory. The […]

ADO.Net Interview Questions 2

Explain what a diffgram is and its usage ? A DiffGram is an XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. When a DataSet is written […]

COM and COM+ Interview Questions 1

What are different transaction options available for services components ? There are 5 transactions types that can be used with COM+. Whenever an object is registered with COM+ it has to abide either to these 5 transaction types. Disabled: – There is no transaction. COM+ does not provide transaction support for this component. Not Supported: […]

Web Services Interview Questions 1

Can you give an example of when it would be appropriate to use a web service as opposed to non-serviced .NET component Web service is one of main component in Service Oriented Architecture. You could use web services when your clients and servers are running on different networks and also different platforms. This provides a […]

ASP.Net Interview Questions 8

What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested for the first time versus when the form is posted (sent to the server), which  allows you to program accordingly. […]

ASP.Net Interview Questions 7

Is it necessary to lock application state before accessing it? Only if you’re performing a multistep update and want the update to be treated as an atomic     operation. Here’s an example:                 Application.Lock ();                 Application[“ItemsSold”] = (int) Application[“ItemsSold”] + 1;                 Application[“ItemsLeft”] = (int) Application[“ItemsLeft”] – 1;                 Application.UnLock ();  By locking application state […]