+91-9650292515 torusacademy@gmail.com

Interview Question

(ASP.NET MVC Interview Questions and Answers )


  • Q1. Difference between NHibernate and Entity framework?

.

  • Q2. How route table is created in ASP.NET MVC4?

.

  • Q3. What is namespace of asp.net mvc?

.

  • Q4. Give an example for Authorization filters in an asp.net mvc application?

.

  • Q5. What filters are executed in the end?

.

  • Q6. What type of filter does OutputCacheAttribute class represents?

.

  • Q7. What symbol would you use to denote, the start of a code block in razor views?

.

  • Q8. In razor syntax, what is the escape sequence character for @ symbol?

.

  • Q9. System.Web.Mvc namespace?

.

  • Q10. What is Razor View Engine?

.

  • Q11. What are the 2 popular asp.net mvc view engines?

.

  • Q12. What are the file extensions for razor views?

.

  • Q13. How do you specify comments using razor syntax?

.

  • Q14. What are the ASP.NET MVC folder conventions?

.

  • Q15. What is the main function of URL routing system in ASP.NET MVC?

.

  • Q16. What are the namespace classes used in ASP.NET MVC?

.

  • Q17. What is Repository Pattern in ASP.NET MVC?

.

  • Q18. What is Repository Pattern in ASP.NET MVC?

.

  • Q19. What is the page lifecycle of an ASP.NET MVC?

.

  • Q20. What are the different types of filters, in an asp.net mvc application?

.

  • Q21. What are the 2 ways of adding constraints to a route?

.

  • Q22. What are three segments of the default route, that is present in an ASP.NET MVC application?

.

  • Q23. What is the significance of ASP.NET routing?

.

  • Q24. What is the significance of NonActionAttribute?

.

  • Q25. Is it possible to share a view across multiple controllers?

.

  • Q26. What is the greatest advantage of using asp.net mvc over asp.net webforms?

.

  • Q27. In which assembly is the MVC framework defined?

.

  • Q28. What are the 3 main components of an ASP.NET MVC application?

.

  • Q29. What is the page lifecycle of an ASP.NET MVC?

.

  • Q30. How to call javascript function on the change of dropdownlist in ASP.Net MVC?

.

  • Q31. How route table created in ASP.Net MVC?

.

  • Q32. How do you avoid XSS vulnerabilities in ASP.Net (MVC)?

.

  • Q33. How to create dynamic property with the help of ViewBag in Asp.net MVC?

.

  • Q34. Explain how to access ViewState value of this page in the next page.

.

  • Q35. What is difference between ViewBag and ViewData in ASP.NET MVC?

.

  • Q36. What is Routing in ASP.NET MVC?

.

  • Q37. Explain MVC pattern?

.

  • Q38. What are the advantages of ASP.NET MVC?

.

  • Q39. What is Controller in ASP.NET MVC?

.

  • Q40. What is View in ASP.NET MVC?

.

  • Q41. What is model in ASP.NET MVC?

.

  • Q42. How to identify AJAX request with C# in MVC.NET?

.

  • Q43. What is repository patterm in MVC.NET?

.

  • Q44. What is namespace of asp.net mvc?

.

  • Q45. What is ASP.NET MVC?

.