title: upload large files (> 1 GB) to azure blob storage through web api
body: <p>we have an application(.Net core) that is hosted in azure app service and we are trying to upload large files to Azure blob through web API using Form data from UI. We have changed request length and API request timeout still we are facing connection time out errors even while uploading 200MB files</p>
  
  <p>below is the sample code I am using</p>
  
  <pre><code>[HttpPost]
  [Route("upload")]
  [Consumes("multipart/form-data")]
  [RequestFormLimits(MultipartBodyLengthLimit = 2147483648)]
  public async Task&lt;IHttpActionResult&gt; Upload([FromForm] FileRequestObject fileRequestObject)
  {
      var url = "upload_url_to_blob_storage";
      var file = fileRequestObject.Files[0];
  
      var blob = new CloudBlockBlob(new Uri(url));
      blob.Properties.ContentType = file.ContentType;
  
      await blob.UploadFromStreamAsync(file.InputStream);
  
      //some other operations based on file upload
      return Ok();
  }
  
  
  public class FileRequestObject
  {
      public List&lt;IFormFile&gt; Files { get; set; }
      public string JSON { get; set; }
      public string BlobUrls { get; set; }
  
  }
  </code></pre>