I had the same problem with MVC4, but Will is correct, add a name to your input…..
<input type="file" id="fileInput" name="fileInput"/>
and all the magic is back up and working!
More Related Contents:
- How to add Web API to an existing ASP.NET MVC 4 Web Application project?
- Difference between ApiController and Controller in ASP.NET MVC
- ASP.NET MVC 4 Web API Authentication with Membership Provider
- How to force ASP.NET Web API to always return JSON?
- Web API and ValidateAntiForgeryToken
- Redirect from asp.net web api post action
- Return a JSON string explicitly from Asp.net WEBAPI?
- ApiController returns 404 when ID contains period
- How do I set the request timeout for one controller action in an asp.net mvc application
- AllowAnonymous not working with Custom AuthorizationAttribute
- Passing asp.net server parameters to Angular 2 app
- HTTP Error 500.19 and error code : 0x80070021
- IIS hijacks CORS Preflight OPTIONS request
- ASP.NET MVC 4 Application Calling Remote WebAPI
- How does a method in MVC WebApi map to an http verb?
- Should ServiceStack be the service layer in an MVC application or should it call the service layer?
- Discovering Generic Controllers in ASP.NET Core
- ASP.NET (OWIN) Identity: How to get UserID from a Web API controller?
- How to create two footer rows in jqgrid
- ASP.NET WebApi vs MVC? [closed]
- AutoMapper.Mapper does not contain definition for CreateMap
- Routing in Asp.net Mvc 4 and Web Api
- ASP.Net WebAPI area support
- Nested resources in ASP.net MVC 4 WebApi
- Proper usage of .net MVC Html.CheckBoxFor
- Html.ActionLink as a button or an image, not a link
- How do I get the referrer URL in an ASP.NET MVC action?
- AngularJS Web Api AntiForgeryToken CSRF
- ASP.NET MVC posted file model binding when parameter is Model
- Steve Sanderson’s BeginCollectionItem helper won’t bind correctly