title: How to read/extract content of multipart/form-data?
body: <p>I am receiving a multipart/form-data that contains an image and a string but i could not extract the content.</p>
  
  <p>A. The code below is reading the <code>string</code> content but it only reads when the string is appended first before the image and reading the image with code below(B) returns nothing</p>
  
  <pre><code>string expenseid = context.Request["ExpenseID"];
  </code></pre>
  
  <p>B. The code below is reading the image but it only reads when the image is appended first and reading the string with the code above(A) returns nothing.</p>
  
  <pre><code>HttpPostedFile uploadedfile = context.Request.Files[0];
  string ext = System.IO.Path.GetExtension(uploadedfile.FileName);
  </code></pre>
  
  <p>I would like to know the proper reading of content of multipart/form-data that contains a <code>string</code> and an image.</p>