Sunday 16 February 2014

ASP.Net MVC interview questions

 ASP.Net MVC interview questions

  1.  Explain MVC process to handle request using MHPM events
    1. http://myfrequentlyasked.blogspot.com/2011/08/process-request-using-mhpm-events-fired.html
    2. http://www.codeproject.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle
  2. Explain the MVC ASP.Net flow to process the request
    1. http://msdn.microsoft.com/en-us/library/dd381612%28v=vs.100%29.aspx
  3. Explain the page life cycle of an ASP.Net MVC page
    1. http://stackoverflow.com/questions/17953756/mvc4-and-page-life-cycle
    2. http://stackoverflow.com/questions/460145/what-is-the-page-lifecycle-of-an-asp-net-mvc-page-compared-to-asp-net-webform
    3. http://www.dotnet-tricks.com/Tutorial/mvc/TbR0041112-Asp.net-MVC-Request-Life-Cycle.html
  4. Explain the function of URL routing system in the ASP.Net MVC
    1. http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx
    2. http://careerride.com/view.aspx?id=2185
  5. When I type return view() how does it know which view to return ?
  6. Explain how to access viewstate value of this page in next page.
  7. Is it possible to combine ASP.net webpages and MVC application and make a single application ?
    1. http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx
  8. How can you share a view across multiple controllers ?
    1. Put the view in shared folder.
  9. Name different return types of a controller action method 
    1. http://msdn.microsoft.com/en-us/library/dd410269%28v=vs.100%29.aspx
    2. http://careerride.com/view.aspx?id=3840
  10. How route table is created in ASP.Net MVC
    1. http://www.asp.net/mvc/tutorials/older-versions/controllers-and-routing/asp-net-mvc-routing-overview-cs
    2. http://msdn.microsoft.com/en-us/library/cc668201.aspx
  11. What are the 3 segments of default route that are present in an ASP.Net MVC application ?
  12. What is the difference between adding routes to a ASP.Net webform application and an MVC application ?



http://www.dotnet-tricks.com/Tutorial/mvc/4XDc110313-return-View%28%29-vs-return-RedirectToAction%28%29-vs-return-Redirect%28%29-vs-return-RedirectToRoute%28%29.html

No comments:

Post a Comment