title: There is any difference in uploading IFormFile vs Base64 string in .netcore web api?
body: <p>I'm using .net core web api to accept, upload and download the file content.</p>
  
  <p>I've already tried IFormFile and simple base64 encoded file content</p>
  
  <p><code>UploadFile(IFormFile file)</code>
  <code>UploadFile([FromBody] string base64Filecontentstring)</code></p>
  
  <p>I'm just wondering if there is any difference in using any of those? If there is, which one should you use and when?</p>