0 votes
in C Sharp by
What is the concept of RenderBody and RenderPage of MVC?

1 Answer

0 votes
by

RenderBody can be considered as a ContentPlaceHolder of web forms. It is available in 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.

Related questions

0 votes
asked Jul 30, 2021 in C Sharp by DavidAnderson
0 votes
0 votes
asked Mar 6, 2020 in C Sharp by Hodge
...