What is the difference between a View and a PartialView in ASP.NET MVC?

后端 未结 6 1607
粉色の甜心
粉色の甜心 2020-12-16 09:28

What is the difference between a View and a PartialView in ASP.NET MVC?

At first glance the need for both seems non-obvious to me.

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 09:49

    If you come from a webforms background, think of PartialView as a usercontrol.

提交回复
热议问题