ASP.NET MVC Interview Questions

In this article I am sharing questions related to ASP.NET MVC. I have made list of most frequently asked questions. These questions are generally helpful for candidate having overall 2-5 years of experience(except TDD) out of which at least one project or six months in ASP.NET MVC. The candidate who are aspirant for lead role should focus more on security, authentication and authorization, filters, DI, design of best grids, scenario based(challenge faced or achieving particular functionality or he/she will give you scenario what actually he/she is facing or faced) along with below questions.

Sometimes candidates does step by step(just copying and pasting) assignment from other blogs and try to showcase experience(fake) on ASP.NET MVC. I would suggest those candidate to understand the concept first and then try to implement small CRUD based application by designing own approach.

The candidates who worked mostly on ASP.NET WebForms and seeking opportunity on ASP.NET MVC should understand the difference between the both architectural style.

The questions related to ASP.NET MVC are as below,


  1. What is MVC?
  2. What is difference between ASP.NET MVC and ASP.NET WebForm?
  3. How will you choose ASP.NET WebForm or ASP.NET MVC?
  4. What is Data Annotation?
  5. What are type of validations?
  6. What is Unobtrusive Validation?
  7. What is Model.IsValid() ?
  8. What are HTML Helpers in MVC?
  9. What is Razor?
  10. What is Model Binders?
  11. What is FormCollection?
  12. What is difference between FormCollection and Model Binders?
  13. What is Routing in MVC?
  14. What is the significance of NonActionAttribute?
  15. What is Site.Master?
  16. Can we create multiple Master pages in MVC?
  17. What are Areas in MVC?
  18. Is it possible to share a view across multiple controllers? How ?
  19. What are the Action Filters in MVC.NET?
  20. What are type of Action Filters? What are Types?
  21. What is base class for Action Filters?
  22. What is Authorization Filter ? How will you apply for all actions ? How will you apply for particular action?
  23. What is Exception Filter ? How will you make it generic ?
  24. What is Custom Filters?
  25. What are Features of MVC 3?
  26. What are the Features of MVC 4?
  27. What are the Features of MVC 5?
  28. Which MVC Version you used ? Why?
  29. What is HTTPModule and HttpHandlers?
  30. Explain in detail MVC Page life cycle?
  31. Explain in detail Routing in MVC ?
  32. What are partial views in MVC?
  33. What are different type of action results in MVC?
  34. What is JsonResult?
  35. Whai is ActionResult?
  36. What is PertialViewResult?
  37. What is TempData, ViewData and Viewbag?
  38. What are ways to POST or Submit data to MVC Controller?
  39. How will you update particular smaller section/panel without refreshing page?
  40. What is AntiForgeryToken?
  41. Did you taken any special steps to proctect your mvc application from cross site scripting (XSS) attacks ?
  42. What is Bundling and Minification?
  43. What are DTO’s?
  44. What is View Model?
  45. How did you mapped your properties?
  46. What is AutoMapper? Why it is used ?

Test Driven Development(TDD)

  1. Did you implemented any test cases? if yes What kind Of ?
  2. What is Mocking?
  3. Which Mocking Framework used ?
  4. What is Assert Class ? Why it is there?
  5. How did you tested business logic(Service Layer)?
  6. How you tested views ?
  7. What is TextFixture?

Dependency Injection(DI) and Inversion Of Control(IOC) Container

  1. What is Dependency Injection?
  2. What is Service Locator?
  3. What is Autofac?
  4. What is Unity Framework?
  5. List Examples of Dependency Injection ?


  1. What is jQuery?
  2. What is latest version available ?
  3. What are jQuery Selectors?
  4. What is siblings in jQuery?
  5. What is JSON?

**Scenario Based Question for candidate having less than 5 years of experience (most important)

Some interviewer may ask this question to validate you really worked on MVC concepts. On this question interviewer try to judge your coding skills. His/Her requirement would be as below.

Statement: I wanted to develop one application which could help me to save employee specific information. I want the application should provide me below functionalities,

  1. It should display all employee records on page in tabular format
  2. Table should have links to Edit and Delete records
  3. I want to create new employee record
  4. I want to update existing employee record
  5. I want to soft delete existing employee record
  6. I want employee’s email address should be unique in database

I hope these questions helps you prepare your ASP.NET MVC Interviews. I wish all the best for your interviews.

Leave a Reply