Wednesday, December 12, 2018

'Foo' is a type, which is not valid in the given context.

I was getting this error at a model binding in a .cshtml view in the Razor markup. After I just ran the application and navigated to the point of pain however the error message disappeared.

No comments:

Post a Comment