MVC 6 View and Partial View

What Is the difference between View and Partial View?

What Is the difference between View and Partial View?
View -
1.      View contains the layout page
2.      Before any view is rendered, viewstart page is rendered
3.      View might have markup tags like body, html, head, title, Meta etc.
4.      View is not lightweight as compare to Partial View

Partial View-
1.      Partial View does not contain the layout page
2.      Partial view does not verify for a viewstart.cshtml page.
3.      Partial view is designed specially to render within the view and just because of that it does not consist any mark up
4.      We can pass a regular view to the RenderPartial method

ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..
My Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.
^