Why do I need an underscore for partial views in asp.net mvc

Elisabeth picture Elisabeth · Apr 25, 2012 · Viewed 14.5k times · Source

Just to distinguish between a view used inside a dialog or used in a foreach loop (customer details) ?

Answer

Erik Funkenbusch picture Erik Funkenbusch · Apr 25, 2012

You don't need an underscore. It's just a convention, and MVC is very keen on using conventions.