Dot.Net interview questions and answers for 3 to 5 years experienced


     

C# & OOPs

---------------------------
1.       Difference between Abstract class and Interface. Give example.
2.       Why and when should we use an abstract class & Interface
3.       What are the Oops pillars?
4.       Difference between encapsulation and polymorphism.
5.       Difference between runtime and compile time polymorphism.
6.       Difference between sealed class and class having private constructor
7.       What is dependency Injection in c#?
8.       What is event and delegates.
9.       What is Indexer?
10.   What is generic in c#?
11.   Difference between Var, Object and Dynamic.
12.   Difference between Static and Read Only variable.
13.    What is eager loading and lazy loading?
14.   difference between copy and clone in array
15.   What is use of IEnumerable interface?
16.   Difference between ienumerable & iqueryable interface.

ASP.Net

---------------------
1.       Page life cycle of Asp.net.
2.       In which event of page lifecycle view state will be loaded
3.       How to managed Session in ASP.Net.
4.       What Is Http Handler? How we can create custom handler.
5.       Asp.net web Application vs MVC Application.

WCF

--------------------
1.       Difference between Web service and Web API?
2.       What is end point in WCF?
3.       Exception handling in WCF.
4.       Difference between Data Contract and Message Contract in WCF.
5.       Type of Binding.
6.       Message Exchange Patterns in WCF.
7.       What is MTOM in WCF?
8.       What is throttling?
9.       What are the Instance Context Mode in WCF?
10.   Security in WCF service.
11.   How to managed Versioning of WCF service?
12.   How to managed Session in WCF service.

SQL Server

----------------------
1.       Type of Joining in sql Server.
2.       What is self-Join?
3.       Difference Between Left and right out Join
4.       Difference Between Join and Union
5.       Difference between Union and UnionAll, which one is fast and why?
6.       What is CTE?
7.       Difference between CTE and TempTable
8.       Difference between TempTable and Temporary Table.
9.       Find the second highest salary.
10.   Difference between scope identity and @@identity.
11.   What are the advantage of View in sql server?
12.   Trigger and its type.
13.   Type of constraint in Sql Server


Comments

Popular posts from this blog

iframe vs embed vs object in HTML 5

Constructor in c#

What is the need of method overriding ???