Monday, December 31, 2018

ASP.NET MVC Interview Questions -- Part 2

ASP.NET MVC Interview Questions -- Part 2

  1. Explain Bundle.Config in MVC.
  2. What is Route in MVC?
  3. Where is the route mapping code written?
  4. What is Default Route in MVC?
  5. How route table has been created in ASP.NET MVC?
  6. Which are the important namespaces used in MVC?
  7. In which assembly is the MVC framework is defined?
  8. What is ViewData?
  9. What is the difference between ViewBag and ViewData in MVC?
  10. What is the difference between Temp data, View, and View Bag?
  11. How can we pass the data From Controller To View In MVC?
  12. Explain using hyperlink how you can navigate from one view to other view?
  13. Explain TempData in MVC?
  14. What is Area in ASP.Net MVC?
  15. How we can register the Area in ASP.Net MVC?
  16. What are HTML Helpers in MVC?
  17. What is the difference between “HTML.TextBox” and “HTML.TextBoxFor”?
  18. What are AJAX Helpers in MVC?
  19. What are the Exception filters in MVC?
  20. How we can handle the exception at controller level in ASP.Net MVC?
  21. How can we do exception handling in MVC?
  22. What are the options can be configured in AJAX helpers?
  23. What is Layout in MVC?
  24. Explain Sections is MVC?
  25. Explain RenderSection in MVC?
  26. Explain RenderBody and RenderPage in MVC?
  27. What is ViewStart Page in MVC?
  28. Explain the methods used to render the views in MVC?
  29. What are the sub types of ActionResult?
  30. What is the difference between "ActionResult" and "ViewResult" ?
  31. What are Non Action methods in MVC?
  32. How to change the action name in MVC?
  33. Explain Peek method in Tempdata in ASP.Net MVC?
  34. Explain Keep method in Tempdata in ASP.Net MVC?
  35. How do you implement Forms authentication in MVC?
  36. What are Code Blocks in Views?
  37. What is Output Caching in MVC?
  38. What are the locations for Output Caching?
  39. How we can multiple submit buttons in ASP.Net MVC?
  40. What is the “HelperPage.IsAjax” Property?
  41. How we can call a JavaScript function on the change of a Dropdown List in MVC?
                 Click Here for Part 1            Click Here for Part 3

No comments:

Post a Comment