Difference between view and partial view

Posted by  Niraj Kumar Mishra
 1626  View(s)
Rate this:
  1. Difference between view and partial view


     1. It contains a layout page.
    2. Before rendered of any view, viewstart page is rendered.
    3. View might have use markup tags like body, html, head, title, etc.
    4. View is high weight as compare to Partial View.
    Partial View:
    1. Partial View does not contain a layout page.
    2. We cannot use any common code for a partial view within the viewStart page.
     3. Partial view is designed originally to render within the view and that reason it does not contain any mark up.

      Modified On Mar-29-2018 01:52:02 AM