When creating partial views, it is important to follow the prescribed naming convention for the sake of consistency. In the naming convention for partial views, the file name begins with an underscore and is suffixed by Partial. For example, the partial view for ArtistInfo would be named _ArtistInfoPartial.cshtml.
While the underscore has no technical ramifications in the MVC Framework, it does have significance in ASP.NET WebPages—where the convention originated. The Partial suffix tells other developers that the file is intended to function as a partial view.
While the underscore has no technical ramifications in the MVC Framework, it does have significance in ASP.NET WebPages—where the convention originated. The Partial suffix tells other developers that the file is intended to function as a partial view.