title: ReadAsMultipartAsync in Asp.net Core
body: <p>i want use resumable.js in asp.net core but some codes not work in .net core , Example :</p>
  <pre><code>private async Task&lt;bool&gt; readPart(MultipartFormDataStreamProvider provider)
  {
      try
      {
  
          await  Request.Content.ReadAsMultipartAsync(provider);
  
          ResumableConfiguration configuration = GetUploadConfiguration(provider);
                  int chunkNumber = GetChunkNumber(provider);
  
          // Rename generated file
          MultipartFileData chunk = provider.FileData[0]; // Only one file in multipart message
                  RenameChunk(chunk, chunkNumber, configuration.Identifier);
  
          // Assemble chunks into single file if they're all here
          TryAssembleFile(configuration);
                  return true;
      }
      catch 
      {
          return false;
      }
  }
  </code></pre>
  <p>how to change Request.Content.ReadAsMultipartAsync for use in .net core ?</p>
  <p><a href="https://github.com/23/resumable.js/blob/master/samples/DotNET/Controllers/ResumableController.cs" rel="nofollow noreferrer">ResumableController.cs</a></p>