title: Iform file Serialization and Deserialization in c#
body: <p>I am getting Iform file from api request and its receiving properly in httppost method and again serialize to json format and storing in azure.</p>
  <p>After that,downloaded that json and trying to deserialize the json data into Iform file again but unable to do.</p>
  <pre><code>[HttpPost(&quot;UploadSingleFile&quot;)]
  public async Task&lt;IActionResult&gt; Postasync([FromForm(Name = &quot;file&quot;)] IFormFile formFile)
  {
      string json = JsonConvert.SerializeObject(formFile);
  
      var serResp = JsonConvert.DeserializeObject&lt;IFormFile&gt;(json);
  
      return serResp;
  }
  </code></pre>
  <p><strong>Error :</strong> Could not create an instance of type Microsoft.AspNetCore.Http.IFormFile</p>
  <p>Is this possible in ef core c# or any other approach available?</p>