MVC Interview Questions

MVC Interview Questions

In this article, I will share my ASP.NET MVC interview experience with questions and Anserwers.

MVC Interview Questions


1. What is MVC in Asp.net C#?

  • MVC is an abbreviation for Model, View, and Controller
  • MVC is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller.
  • MVC is one of the most frequently used industry-standard web development frameworks to create scalable and extensible projects.

2. What is the difference between ASP.NET and ASP.NET MVC?

 ASP.NET:
  1. ASP.NET is a web platform.
  2. It provides a layer that sits on top of IIS (the webserver) which facilitates the creation of web applications and web services.
  3. ASP.NET is a 2 tier application in which no separate section for the database.
  4. In ASP.NET for each .aspx form one URL is generated.

 ASP.NET MVC:
  1. ASP.NET MVC is a framework specifically for building web applications
  2. It sits on top of ASP.NET and uses APIs provided by ASP.NET.
  3. MVC is a 3 tier application in which view and logic is kept separate
  4. MVC the url's are generated based on the controller and by the router configuration




I hope this post will help you. Please put your feedback using comments which will help me to improve myself for the next post. If you have any doubts or queries, please ask in the comments section and if you like this post, please share it with your friends. Thanks!

0 Comments