'Passing list data from View to Controller in MVC core

I am trying to pass a list of items from a view to the controller with a selected option on the list.

My View has the following loop for each record:

@for (int i = 0; i < Model.Count(); i++)
        {
            <tr>
                <td>
                    @Model[i].Name
                </td>
                <td>
                    @Model[i].DateofBirth
                </td>
                <td>
                    <input asp-for="@Model[i].Selected">
                </td>
            </tr>
            
        }

The controllers post parameter accepts a list of the model

It all works perfectly until the list is over 101 records long then nothing is being passed to the controller on submit. Any Ideas Why?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source