in MVC Language by
Explain What Is The Difference Between View And Partial View?

▼ Show 1 Answer

0 votes


It contains the layout page

Before any view is rendered, viewstart page is rendered

View might have markup tags like body, html, head, title, meta etc.

View is not lightweight as compare to Partial View

Partial View :

It does not contain the layout page

Partial view does not verify for a viewstart.cshtml. We cannot put common code for a partial view within the

Partial view is designed specially to render within the view and just because of that it does not consist any mark up

We can pass a regular view to the RenderPartial method

Learn More with Madanswer

Related questions

0 votes
asked Aug 18, 2019 in MVC Language by sheetalkhandelwal