Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal YelveRank #178 · 13.6K reputationPosted Sep 12, 2022, 11:00 AM EDT
View components are similar to partial views, but they're much more powerful. View components don't use model binding, they depend on the data passed when calling the view component. This article was written using controllers and views, but view components work with Razor Pages
Please refer to below links
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-6.0
https://www.c-sharpcorner.com/article/viewcomponent-in-asp-net-core/
Amit MohantyRank #112 · 20K reputationPosted Sep 12, 2022, 2:35 AM EDT
Check the below links
https://www.c-sharpcorner.com/article/viewcomponent-in-asp-net-core/
https://www.codingame.com/playgrounds/4981/view-components-in-asp-net-core
https://cazton.com/blogs/technical/view-components-in-asp-net-core
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 12, 2022, 5:22 AM EDT
Hello Naresh, refer below articles,
https://www.c-sharpcorner.com/article/viewcomponent-in-asp-net-core/
https://www.c-sharpcorner.com/article/working-with-view-components-in-asp-net-core-mvc/
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 12, 2022, 11:58 PM EDT
View components are similar to partial views, but they're much more powerful. View components don't use model binding, they depend on the data passed when calling the view component. This article was written using controllers and views, but view components work with Razor Pages