Dot Net Interview Questions




What is .NET 3.0 ?




What are the main components of WCF?
Can you explain how End points, Contract, Address and Bindings are done in WCF?
What is a service class?
What is a service contract, operation contract and Data Contract?
What are the various ways of hosting a WCF service?
What are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?
Can we have two way communications in MSMQ?
What are Volatile queues?
What are Dead letter queues?
What is a poison message?
WPF Interview questions What is WPF?
What is XAML?
What are dependency properties?
Are XAML file compiled or built on runtime?

Can you explain how we can separate code and XAML?
How can we access XAML objects in behind code?
What are the kind of documents are supported in WPF?
Windows workflow foundation(Vista series)
What is Windows Workflow Foundation?
What is a Workflow?.
What are different types of Workflow in Windows Workflow foundation?
When should we use a sequential workflow and when should we use state machiHow
do we create workflows using designer?
How do we specify conditions in Work flow?
How do you handle exceptions in workflow?
What is the use of XOML files?
Twist: - How can we serialize workflows?
How can we pass parameters to workflow?
AJAX Interview questions
What problem does Ajax solve?
What is Ajax?
What is the basic fundamental behind Ajax?
What is JSON?
How do we use XMLHttpRequest object in JavaScript?
How do we do asynchronous processing using Ajax?
What are the various states in XMLHttpRequest and how do we check the same?
How can we get response text?
How can we create XMLHttpRequest component?
How can we create a class in JavaScript using Atlas?
How do we do inheritance using Atlas?
How do we define interfaces using Atlas?
How do we reference HTML controls using Atlas?
Can you explain server controls in Atlas?
Can you explain ScriptManager control?
What is the importance of UpdatePanel Control?
Can you explain update progress control?
Can you explain control extenders?
How can we data binding in Atlas?
Can you explain AtlasUIGlitz library?
I want to create a project like Google maps how can we do that with Atlas?
How can we integrate Atlas with Web services?
How can implement drag and drop using Atlas?
How do we do authentications using Atlas?
How can we access profiles using Atlas?
How can we access dataset in Atlas?



What is .NET 3.0 ?




What are the main components of WCF?
Can you explain how End points, Contract, Address and Bindings are done in WCF?
What is a service class?
What is a service contract, operation contract and Data Contract?
What are the various ways of hosting a WCF service?
What are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?
Can we have two way communications in MSMQ?
What are Volatile queues?
What are Dead letter queues?
What is a poison message?
WPF Interview questions What is WPF?
What is XAML?
What are dependency properties?
Are XAML file compiled or built on runtime?

Can you explain how we can separate code and XAML?
How can we access XAML objects in behind code?
What are the kind of documents are supported in WPF?
Windows workflow foundation(Vista series)
What is Windows Workflow Foundation?
What is a Workflow?.
What are different types of Workflow in Windows Workflow foundation?
When should we use a sequential workflow and when should we use state machiHow
do we create workflows using designer?
How do we specify conditions in Work flow?
How do you handle exceptions in workflow?
What is the use of XOML files?
Twist: - How can we serialize workflows?
How can we pass parameters to workflow?
AJAX Interview questions
What problem does Ajax solve?
What is Ajax?
What is the basic fundamental behind Ajax?
What is JSON?
How do we use XMLHttpRequest object in JavaScript?
How do we do asynchronous processing using Ajax?
What are the various states in XMLHttpRequest and how do we check the same?
How can we get response text?
How can we create XMLHttpRequest component?
How can we create a class in JavaScript using Atlas?
How do we do inheritance using Atlas?
How do we define interfaces using Atlas?
How do we reference HTML controls using Atlas?
Can you explain server controls in Atlas?
Can you explain ScriptManager control?
What is the importance of UpdatePanel Control?
Can you explain update progress control?
Can you explain control extenders?
How can we data binding in Atlas?
Can you explain AtlasUIGlitz library?
I want to create a project like Google maps how can we do that with Atlas?
How can we integrate Atlas with Web services?
How can implement drag and drop using Atlas?
How do we do authentications using Atlas?
How can we access profiles using Atlas?
How can we access dataset in Atlas?

Dot Net Interview Questions




What is .NET 3.0 ?




What are the main components of WCF?
Can you explain how End points, Contract, Address and Bindings are done in WCF?
What is a service class?
What is a service contract, operation contract and Data Contract?
What are the various ways of hosting a WCF service?
What are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?
Can we have two way communications in MSMQ?
What are Volatile queues?
What are Dead letter queues?
What is a poison message?
WPF Interview questions What is WPF?
What is XAML?
What are dependency properties?
Are XAML file compiled or built on runtime?

Can you explain how we can separate code and XAML?
How can we access XAML objects in behind code?
What are the kind of documents are supported in WPF?
Windows workflow foundation(Vista series)
What is Windows Workflow Foundation?
What is a Workflow?.
What are different types of Workflow in Windows Workflow foundation?
When should we use a sequential workflow and when should we use state machiHow
do we create workflows using designer?
How do we specify conditions in Work flow?
How do you handle exceptions in workflow?
What is the use of XOML files?
Twist: - How can we serialize workflows?
How can we pass parameters to workflow?
AJAX Interview questions
What problem does Ajax solve?
What is Ajax?
What is the basic fundamental behind Ajax?
What is JSON?
How do we use XMLHttpRequest object in JavaScript?
How do we do asynchronous processing using Ajax?
What are the various states in XMLHttpRequest and how do we check the same?
How can we get response text?
How can we create XMLHttpRequest component?
How can we create a class in JavaScript using Atlas?
How do we do inheritance using Atlas?
How do we define interfaces using Atlas?
How do we reference HTML controls using Atlas?
Can you explain server controls in Atlas?
Can you explain ScriptManager control?
What is the importance of UpdatePanel Control?
Can you explain update progress control?
Can you explain control extenders?
How can we data binding in Atlas?
Can you explain AtlasUIGlitz library?
I want to create a project like Google maps how can we do that with Atlas?
How can we integrate Atlas with Web services?
How can implement drag and drop using Atlas?
How do we do authentications using Atlas?
How can we access profiles using Atlas?
How can we access dataset in Atlas?



What is .NET 3.0 ?




What are the main components of WCF?
Can you explain how End points, Contract, Address and Bindings are done in WCF?
What is a service class?
What is a service contract, operation contract and Data Contract?
What are the various ways of hosting a WCF service?
What are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?
Can we have two way communications in MSMQ?
What are Volatile queues?
What are Dead letter queues?
What is a poison message?
WPF Interview questions What is WPF?
What is XAML?
What are dependency properties?
Are XAML file compiled or built on runtime?

Can you explain how we can separate code and XAML?
How can we access XAML objects in behind code?
What are the kind of documents are supported in WPF?
Windows workflow foundation(Vista series)
What is Windows Workflow Foundation?
What is a Workflow?.
What are different types of Workflow in Windows Workflow foundation?
When should we use a sequential workflow and when should we use state machiHow
do we create workflows using designer?
How do we specify conditions in Work flow?
How do you handle exceptions in workflow?
What is the use of XOML files?
Twist: - How can we serialize workflows?
How can we pass parameters to workflow?
AJAX Interview questions
What problem does Ajax solve?
What is Ajax?
What is the basic fundamental behind Ajax?
What is JSON?
How do we use XMLHttpRequest object in JavaScript?
How do we do asynchronous processing using Ajax?
What are the various states in XMLHttpRequest and how do we check the same?
How can we get response text?
How can we create XMLHttpRequest component?
How can we create a class in JavaScript using Atlas?
How do we do inheritance using Atlas?
How do we define interfaces using Atlas?
How do we reference HTML controls using Atlas?
Can you explain server controls in Atlas?
Can you explain ScriptManager control?
What is the importance of UpdatePanel Control?
Can you explain update progress control?
Can you explain control extenders?
How can we data binding in Atlas?
Can you explain AtlasUIGlitz library?
I want to create a project like Google maps how can we do that with Atlas?
How can we integrate Atlas with Web services?
How can implement drag and drop using Atlas?
How do we do authentications using Atlas?
How can we access profiles using Atlas?
How can we access dataset in Atlas?

SQL Server Interview Questions

1) What is the difference between CAST and CONVERT in SQL?
Ans)
You can use either CAST or CONVERT. Because CAST and CONVERT provide similar functionality.
The difference is CASE is more ANSI standard and use this only if you are writing a program which you will need to use in many database platforms. Where CONVERT is Microsoft specific and more powerful.
---------------------------------------------------------------------------------
2) Which of the following are the limitations of VIEWS?
Ans)

Select from following answers:
  1. Views cannot be relied on Temporary tables
  2. If TOP or FOR XMl are used then using OrderBy Clause is invalid
  3. We cannot pass parameters to VIEWS
  4. All of the Above

All the above mentioned sentences are the limitations of VIEW.

Sample VIEW example :
CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
1) What is the difference between CAST and CONVERT in SQL?
Ans)
You can use either CAST or CONVERT. Because CAST and CONVERT provide similar functionality.
The difference is CASE is more ANSI standard and use this only if you are writing a program which you will need to use in many database platforms. Where CONVERT is Microsoft specific and more powerful.
---------------------------------------------------------------------------------
2) Which of the following are the limitations of VIEWS?
Ans)

Select from following answers:
  1. Views cannot be relied on Temporary tables
  2. If TOP or FOR XMl are used then using OrderBy Clause is invalid
  3. We cannot pass parameters to VIEWS
  4. All of the Above

All the above mentioned sentences are the limitations of VIEW.

Sample VIEW example :
CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition

SQL Server Interview Questions

1) What is the difference between CAST and CONVERT in SQL?
Ans)
You can use either CAST or CONVERT. Because CAST and CONVERT provide similar functionality.
The difference is CASE is more ANSI standard and use this only if you are writing a program which you will need to use in many database platforms. Where CONVERT is Microsoft specific and more powerful.
---------------------------------------------------------------------------------
2) Which of the following are the limitations of VIEWS?
Ans)

Select from following answers:
  1. Views cannot be relied on Temporary tables
  2. If TOP or FOR XMl are used then using OrderBy Clause is invalid
  3. We cannot pass parameters to VIEWS
  4. All of the Above

All the above mentioned sentences are the limitations of VIEW.

Sample VIEW example :
CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
1) What is the difference between CAST and CONVERT in SQL?
Ans)
You can use either CAST or CONVERT. Because CAST and CONVERT provide similar functionality.
The difference is CASE is more ANSI standard and use this only if you are writing a program which you will need to use in many database platforms. Where CONVERT is Microsoft specific and more powerful.
---------------------------------------------------------------------------------
2) Which of the following are the limitations of VIEWS?
Ans)

Select from following answers:
  1. Views cannot be relied on Temporary tables
  2. If TOP or FOR XMl are used then using OrderBy Clause is invalid
  3. We cannot pass parameters to VIEWS
  4. All of the Above

All the above mentioned sentences are the limitations of VIEW.

Sample VIEW example :
CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition

Interview Questions on Asp.net,C#.net & Sql Server


Interview Questions on Asp.net,C#.net & Sql Server Part -I

Interview Questions on Asp.net,C#.net & Sql Server Part -II

Interview Questions on Asp.net,C#.net & Sql Server Part -III


Latest Interview Questions

1) How can you assign page specific attributes in an ASP.NET application?
Ans)

Select from following answers:
  1. @Page
  2. "scrip" attribute
  3. %page%


The @Page directive is responsible for this.
-------------------------------------------------------------------------

Interview Questions on Asp.net,C#.net & Sql Server Part -I

Interview Questions on Asp.net,C#.net & Sql Server Part -II

Interview Questions on Asp.net,C#.net & Sql Server Part -III


Latest Interview Questions

1) How can you assign page specific attributes in an ASP.NET application?
Ans)

Select from following answers:
  1. @Page
  2. "scrip" attribute
  3. %page%


The @Page directive is responsible for this.
-------------------------------------------------------------------------

Interview Questions on Asp.net,C#.net & Sql Server


Interview Questions on Asp.net,C#.net & Sql Server Part -I

Interview Questions on Asp.net,C#.net & Sql Server Part -II

Interview Questions on Asp.net,C#.net & Sql Server Part -III


Latest Interview Questions

1) How can you assign page specific attributes in an ASP.NET application?
Ans)

Select from following answers:
  1. @Page
  2. "scrip" attribute
  3. %page%


The @Page directive is responsible for this.
-------------------------------------------------------------------------

Interview Questions on Asp.net,C#.net & Sql Server Part -I

Interview Questions on Asp.net,C#.net & Sql Server Part -II

Interview Questions on Asp.net,C#.net & Sql Server Part -III


Latest Interview Questions

1) How can you assign page specific attributes in an ASP.NET application?
Ans)

Select from following answers:
  1. @Page
  2. "scrip" attribute
  3. %page%


The @Page directive is responsible for this.
-------------------------------------------------------------------------

Dot Net Interview questions for 3+ years of experience - Part-2




1)In MVC Framework, who decides what to render in the VIEW ?

Ans)
Select from following answers:
Model
Controller
View

Controller decides what to render in the VIEW.

Only job of the VIEW in MVC is " how to render".
-------------------------------------------------------
2)Whats is the difference between API and WebServices?

Ans)

A)Web Services gives the output in the form of XML or JSON.Where as API return the output in the form of void,
scalar or generic type
B)We need to add web references for web-services and add references for API
----------------------------------------------------------

3) Singleton is also called as Anti-Pattern, why ?
Ans)

It's very hard to create a subclass, or to create a mock object for a Singleton class.
Singleton makes the unit testing harder. Singleton hide the dependencies and make the classes tightly coupled with
each other.

For the above reasons, Singletons are called as Anti-Pattern.
---------------------------------------------------------
4) Why should a Singleton class be serialized only once ?
Ans)
If a Singleton class is serialized and then De-serialized multiple times,
there will be multiple objects which will violate the principles of Singleton pattern.
Therefore it should be serialized and De-serialized only once !
-----------------------------------------------------------
5)How many design patterns can be created ?
Ans)
There is no limit in creating a design pattern. Design patterns are based on re-usability,
object creation and communication. Design patterns can be created in any language.
-----------------------------------------------------------
6) How can we trace our view state information?
Ans)
We can trace View State of our application by placing this tag at Page Directive.

<%@ Page Language="C#" AutoEventWireUp="true" Trace="True"
-------------------------------------------------------------
7) Which of the following tool is useful to see all the methods which are used in the class file of our application ?
Ans)
Select from following answers:
  1. Object Browser
  2. Object Explorer
  3. Class Viewer
  4. Class Explorer

The Object Browser allows us to examine and
discover objects (namespaces, classes, structures, interfaces, types, enums, and so on..) and
their members (properties, methods, events, variables, constants, enum items, and so on..)
from different components. Hence we can use Object Browser to locate our methods in a class file.




1)In MVC Framework, who decides what to render in the VIEW ?

Ans)
Select from following answers:
Model
Controller
View

Controller decides what to render in the VIEW.

Only job of the VIEW in MVC is " how to render".
-------------------------------------------------------
2)Whats is the difference between API and WebServices?

Ans)

A)Web Services gives the output in the form of XML or JSON.Where as API return the output in the form of void,
scalar or generic type
B)We need to add web references for web-services and add references for API
----------------------------------------------------------

3) Singleton is also called as Anti-Pattern, why ?
Ans)

It's very hard to create a subclass, or to create a mock object for a Singleton class.
Singleton makes the unit testing harder. Singleton hide the dependencies and make the classes tightly coupled with
each other.

For the above reasons, Singletons are called as Anti-Pattern.
---------------------------------------------------------
4) Why should a Singleton class be serialized only once ?
Ans)
If a Singleton class is serialized and then De-serialized multiple times,
there will be multiple objects which will violate the principles of Singleton pattern.
Therefore it should be serialized and De-serialized only once !
-----------------------------------------------------------
5)How many design patterns can be created ?
Ans)
There is no limit in creating a design pattern. Design patterns are based on re-usability,
object creation and communication. Design patterns can be created in any language.
-----------------------------------------------------------
6) How can we trace our view state information?
Ans)
We can trace View State of our application by placing this tag at Page Directive.

<%@ Page Language="C#" AutoEventWireUp="true" Trace="True"
-------------------------------------------------------------
7) Which of the following tool is useful to see all the methods which are used in the class file of our application ?
Ans)
Select from following answers:
  1. Object Browser
  2. Object Explorer
  3. Class Viewer
  4. Class Explorer

The Object Browser allows us to examine and
discover objects (namespaces, classes, structures, interfaces, types, enums, and so on..) and
their members (properties, methods, events, variables, constants, enum items, and so on..)
from different components. Hence we can use Object Browser to locate our methods in a class file.