IFormFile vs byte[] in .NET Core and file upload best practice

后端 未结 0 962
感情败类
感情败类 2021-02-04 02:15

I\'m designing a REST API controller with .NET CORE so I can upload a file, should I use IFormFile or byte[] in my model\'s request ?

It\'s better to do this ?

p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题