Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
If you want to reuse a view in your web application, you can go for the partial view concept. Partial view is like a regular view with a file extension .cshtml. We can use partial views in a situation where we need a header, footer reused for an MVC web application. We can say that it’s like a user control concept in ASP.NET.
A partial view is a "sub-view" that you can embed within a main view. It's like something that you might reuse across multiple views. Partial views are more like web parts on a portal - they are completely self-contained objects.
In MVC partial view is used to increase the efficiency of the web application by sending only the required tiny part of the view.
Partial View is like user control in asp.net web form which can be used in many forms by calling it
A partial view in MVC is just like a User Control in ASP.Net Web Forms.A parttial view is a view that is rendered within another view