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.
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.
You may also like
Samsung Galaxy SII
With only two smartphones running on a dual-core processor, LG Optimus 2x and Samsung Galaxy SII, our future-proof choice is the Samsung device. A bigger 4-3-inch, super AMOLED display, ultra-rich colors, sleek body...
Sony Reveals the Price, Name and Titles for Its New PS Vita Console
The Japanese tech giant Sony at its E3 conference announced that its new handheld device will carry the official name of the “PlayStation Vita”. It is worth mentioning that the company has already revealed a number of...
Sony to Present Its New PSP2 Boasting with OLED Screen and 3G Support
Gamers will soon be able to witness the launch of a new Sony PSP2 that will feature an OLED screen and support 3G. The information on the preliminary details of the console and PSP smartphone were recently unveiled in...
Advertisement
Recent posts
Difference Between Clustered And Non Clustered Index
March 10, 2022
What are the core components of WCF service?
March 10, 2022
What are the different kinds of controls in WPF?
March 10, 2022
Role of UIApplicationMain in iOS App Launch Process
March 10, 2022
Facade Design Pattern In C#
March 10, 2022
What are Azure Storage Limits?
March 10, 2022
You Aren’t Gonna Need It – Yagni Design
March 10, 2022
what-is-wcf-wcf-interview-question
March 10, 2022
Add comment