1.

How will you explain the concept of RenderBody and RenderPage of MVC?

Answer»

RENDERBODY can be CONSIDERED as a ContentPlaceHolder of web forms. It is available on the layout page and will be responsible for rendering the child pages/views. On the other hand, the layout page contains a single RenderBody() method. Multiple RenderPage() can reside within the Layout page.

Additional Interview Resources:
  • C# Interview Questions and ANSWERS
  • .NET Interview Questions and Answers
  • ASP.NET Interview Questions and Answers
  • Entity Framework Interview Questions and Answers


Discussion

No Comment Found