Interface Vs Abstract Class

Difference between Interface and Abstract Class is favourite question of interviewer while he wants to evaluate your knowledge about Object Oriented Programming. When we consider .NET, there are some more stuff we can include in the answer of question. .NET has introduced some more features which creates some similarities and differences between the two building blocks of OOPs like .NET introduced Automatic Properties, Extension Methods, etc.

Following is a try to …

MVC Interview Questions – Deep Dive

For basic Interview Questions of MVC refer my first post of MVC Interview Questions.

1. Can you describe ASP.NET MVC Request Life Cycle?
Ans.
There are two answers for the question.
Short Answer: Following are the steps that are executed in ASP.NET MVC Request Life Cycle.

I. Receive request, look up Route object in RouteTable collection and create RouteData object.
II. Create RequestContext instance.
III. Create MvcHandler and pass RequestContext to handler.
IV. Identify IControllerFactory from …

ASP.NET 4.0 New Features Interview Questions

1. What is main focus in Microsoft’s Latest ASP.NET 4.0?
Ans.
The focus of Microsoft’s latest ASP.NET 4.0 has mainly been on improving the performance and Search-engine Optimization (SEO).

2. What are the improvements Microsoft has done in AJAX Library for ASP.NET 4.0?
Ans.
Following are some major improvements in the AJAX Library in ASP.NET 4.0.
Script Loader: The new script loader control enable developers to load all the required scripts only once, thereby …

Entity Framework Interview Questions

What is Entity Framework?

Entity Framework is an additional layer between application and database that enables the developers to program against the conceptual application model instead of programming directly against the relational storage schema.

Will there be any issues adding a table without primary keys to a data model?

Every entity must have a key, even in the case where the entity maps to a view. When you use the Entity Designer to …