I have a Post controller on a model with some string fields and an image. Exact identical code works on MVC4 but in MVC 5 the Request.Files.Count is always 0
My model ha
I wasted so much time and it turns out that all I needed to do was to use the name attribute as well
<input type="file" name="somename">
the name attribute was missing in my new project.