Monthly Archives: June 2011

.NET and ASP.NET interview questions: – How will you consume web services in AJAX?

Answer: The simple answer to the above question is by using the ‘asp:ServiceReference’ tag inside ‘asp:scriptmanager’ tag as shown in the below code snippet. Inside the ‘servicereference’ tag provide the ASMX file name. Following is the video for consuming webservices … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, .Net Interview Questions, AJAX interview questions, Asp.Net Interview Questions, ASP.NET training, Csharp interview questions, programming interview questions | Tagged , , , , , , , | Leave a comment

SilverLight interview questions – Explain three ways of applying layouts in SilverLight?

Answer:  There are three ways provided by Silverlight for layout management is Canvas, Grid and Stack panel. Each of these methodologies fit into different situations as per layout needs. Canvas – Absolute Positioning Canvas is the simplest methodology for layout management. … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, layouts, programming interview questions, sharepoint interview questions | Tagged , , , , , | Leave a comment

WCF interview questions – Explain 3 ways of implementing WCF(Windows Communication Foundation) concurrency?

Answer: Three ways by which you can handle concurrency in WCF is Single, multiple and reentrant. To specify WCF concurrency we need to use the ‘ServiceBehavior’ tag as shown below with appropriate ‘ConCurrencyMode’ property value. Figure: Single: – A single … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, .Net Interview Questions, concurrency, Csharp interview questions, programming interview questions, WCF, WCF interview questions and answers | Tagged , , , , , , | Leave a comment

Real world example of Web Service

Introduction Today in this article we will look at a real world technical problem in an enterprise and how web service helps us in solving the problem. This is one of the main questions while appearing for Web Service interview. … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, Java J2ee, programming interview questions, Web services | Tagged , , , , , | Leave a comment

C#/.NET interview questions – What is Manifest?

Assembly metadata is stored in the Manifest. Manifest contains all the metadata needed to do the following things: • Version of assembly. • Security identity. • Scope of the assembly. • Resolve references to resources and classes. The assembly manifest … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, C# and .NET interview questions and answers, C# interview questions, Csharp interview questions, Manifest, programming interview questions | Tagged , , , , , | Leave a comment

SQL SERVER interviewquestions: -Why do we need stored procedures.

Stored procedure increases the performance of SQL queries. When we write a query before execution the SQL Server compiler runs three steps. In first step compiler checks the syntax of query then in the second step compiler finds the best … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, programming interview questions, SQL Server interview questions, SQL server training, stored procedures | Tagged , , , , , , | 1 Comment

ASP.NET interviewquestions: -why do we need session variable in ASP.NET?

HTTP is a stateless protocol, it can’t hold the client information on page. In other words after every request and response the server does not remember the state, data and who the user was. If user inserts some information, and … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, ASP.NET, ASP.NET interview question, ASP.NET training, Csharp interview questions, programming interview questions, sessions | Tagged , , , , , | 2 Comments

ASP.NET interview questions :- How does ASP.NET page life cycle actually work?

In ASP.NET page life the first event which runs is Init , the load , validate , any ui events like button click and finally render. Remember the word SILVER (Init , Load , Validate , Event and Render) , … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, ASP.NET, ASP.NET interview question, Csharp interview questions, page life cycle, programming interview questions | Tagged , , , , , , | 1 Comment

.Net interview questions :- Will the below code compile?

public abstract partial class Person { public void Iamhere() { Console.WriteLine(“I am located”); } } public class Demo { public static void Main() { Person PersonObject = new Person(); } } Answer :- No , we cannot create a object … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, code, compile, Csharp interview questions, programming interview questions | Tagged , , , , , | 1 Comment

WCF interview questions :- What is one way contract in WCF services?

WCF one way contract ensures that the WCF client does not go in a blocking mode. If your WCF operation contracts are returning nothing and they are doing some heavy process you would like to use WCF one way contract. … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, programming interview questions, WCF, WCF interview questions, WCF services | Tagged , , , , , | Leave a comment