Add Scaffolded Item Erorr with startindex cannot be larger than length of string.

Rodge 1 Reputation point
2022-11-30T07:38:02.163+00:00

I try to follow the Microsoft Document WebApp MVC and stuck at part 4 Add a model

It shows Error with StartIndex cannot be larger than length of string.

265596-screenshot-4.png

My code only has a student class

265614-screenshot-1.png

And this package I Installed.

265631-screenshot-2.png

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.