# Is there really no difference between a partial view and a regular view in MVC?

DevFeed: [Is there really no difference between a partial view and a regular view in MVC?](<https://devfeed.tech/articles/is-there-really-no-difference-between-a-partial-view-and-a-regular-view-in-mvc-41560.md>)

Original publisher: [Read original article](<http://www.adamtuliper.com/2014/01/is-there-really-no-difference-between.html>)

Author: Adam Tuliper (noreply@blogger.com)

Published: 2014-01-08T20:49:00Z

Content type: article

Language: en

Sources: [Adam Tuliper](<https://devfeed.tech/sources/adam-tuliper.md>)

Topics: [mvc](<https://devfeed.tech/topics/mvc.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [code](<https://devfeed.tech/tags/code.md>), [developers](<https://devfeed.tech/tags/developers.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [view](<https://devfeed.tech/tags/view.md>)

## AI overview

This article examines the differences between partial views and regular views in ASP.NET MVC. It explains that partial views do not process layouts or check _ViewStart files, may produce different exceptions, and follow a different view-processing pipeline.

## Source excerpt

The question I've read several posts on the net about there being no real difference between a partial view and a regular view in ASP.NET MVC, only that the convention of using them was different. Is this really the case? I decided to find out the details for myself as part of the new "MVC for Web Forms Developers" course I'm working on for pluralsight.com so I could see exactly what all this entailed outside of just being a convention difference. Let it be known, there is indeed several differences you should be aware of. This post isn't meant to state when you should use one vs the other, there are plenty of resources for that. Here we just want to delve into how they are different, which in turn can help you decide when to use a View vs PartialView (and to confuse things more the decision there is really View vs PartialView vs Html.Action vs Html.Partial vs Ajax in any combination) The differences The differences that were obvious from the code are Partial Views don't have a layout processed. Very important to know. Partial Views don't check for a _ViewStart.cshtml. Note this is typically where layouts are specified but technically you could specify one in your partial and it would be ignored. Very important to know. Partial Views can throw a slightly different exception, the details included to InvalidOperationException in PartialViewResult vs ViewResult classes. This is pretty minor. There is a slight difference in how they are processed. Lets look at the code, shall we? First, the differences between a PartialViewResult and a ViewResult as contained in the following files from the MVC source code: c:\source\aspnetwebstack\src\System.Web.Mvc\PartialViewResult.cs (link to source here) c:\source\aspnetwebstack\src\System.Web.Mvc\ViewResult.cs (link to source here) Lets dive into FindPartialView and FindView. These are the functions called when you "return View()" and "return Partial()" from inside a controller. The comparison of PartialViewResult and ViewResult F