I have a List as a field in a Model class named "Person" enter image description here
I have enabled Custom Person Model Binder globally in Program.cs file enter image description here
Since I'm binding the values manually I was able to retrieve other fields like Emailenter image description here
But how do I retrieve the values from Tags List from the Request body and manually assign them to the person.Tags list?
So this is basically a combinations of Custom Model Class Provider and Collection Binding.
I tried this but it returned me nullenter image description here
Your custom model-binding is almost correct, there may be some mistakes in your tags binding. Here is a sample.
PersonModelBinder
PersonModelBinderProvider
Controller
Create view