I'm using the .net core framework with razor pages without MVC and I'm trying to integrate a form with a view component to make it reusable.
The problem is I noticed that it's not really made for. Indeed I use the asp-for attribute of the form which in reality is based on the parent PageModel in which I have bound an attribute corresponding to the field of my form.
I would like to know how you can create reusable component that contain forms to be used in a final PageModel.
Thank you :)