Tuesday, 28 March 2017

37 Best MVC Interview Questions and Answers

MVC Interview Questions and Answers

  1. What is MVC?
  2. Is MVC different from a 3 layered architecture?
  3. Where is the route mapping code written?
  4. How can we maintain session in MVC?
  5. How can we do validations in MVC?
  6. What is razor in MVC?
  7. How to implement windows authentication for MVC?
  8. What is the difference between “ActionResult” and “ViewResult”?
  9. How to send result back in JSON format in MVC?
  10. Can you explain the complete flow of MVC?
  11. What is the latest version of MVC?
  12. Can we map multiple URL’s to the same action?
  13. What is the difference between tempdata , viewdata and viewbag?
  14. Can we display all errors in one go?
  15. Why razor when we already had ASPX?
  16. How do you implement forms authentication in MVC?
  17. What are the different types of results in MVC?
  18. What is “WebAPI”?
  19. Is MVC suitable for both windows and web application?
  20. What is the difference between each version of MVC?
  21. How can we navigate from one view to other view using hyperlink?
  22. What are partial views in MVC?
  23. What are the other data annotation attributes for validation in MVC?
  24. So which is a better fit Razor or ASPX?
  25. How to implement Ajax in MVC?
  26. What are “ActionFilters”in MVC?
  27. But WCF SOAP also does the same thing, so how does “WebAPI” differ?
  28. How to implement “WebAPI” in MVC?
  29. What are the benefits of using MVC?
  30. What are routing in MVC?
  31. How can we restrict MVC actions to be invoked only by GET or POST?
  32. How did you create partial view and consume the same?
  33. How can we enable data annotation validation on client side?
  34. How can you do authentication and authorization in MVC?
  35. What kind of events can be tracked in AJAX ?
  36. Can we create our custom view engine using MVC?
  37. With WCF also you can implement REST,So why "WebAPI"?

1 comment:

  1. I got this blog site through my friends and when I searched this really there were informative articles at the place.
    Braun Series 7- 790cc


Note: only a member of this blog may post a comment.