title: Uploading a file via webapi using an azure website
body: <p>I'm trying to upload a file using webapi hosted as an azure website. I'm getting a 400 bad request error. </p>
  
  <p>Failed request tracing tells me that the module ManagedPipelineHandler is giving the 400 status with a notification of 128.</p>
  
  <p>Googling suggests this is down to file size limits.</p>
  
  <p>The <code>MultipartFormDataStreamProvider</code> is successfully saving the file into a temp folder on azure, and I know the code "works on my machine" so I suspect it's a config issue (the files are under a meg at the moment)</p>
  
  <p>I've tried changing the <code>maxRequestLength</code> to something quite high in the config but that hasn't resolved the issue, and I can't really see anything to change for webapi itself.</p>
  
  <p>Any advice would be great!</p>
  
  <p>Ta</p>
  
  <p>Ross</p>