ASP.NET Web API 2上传几个文件 - 如何? [英] ASP.NET Web API 2 uploading several files - how to?

查看:59
本文介绍了ASP.NET Web API 2上传几个文件 - 如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我想知道如何在ASP.NET Web API 2中的同一表单上上传几个文件,然后将它们的数据保存在DataBase中(名称,日期,文件类型,大小等)。此外,如果您知道不止一种方法,请向我推荐最好的(最快/最安全/最有效)方式。在此先感谢。

Hey guys, I would like to know how I can upload several files on the same form in ASP.NET Web API 2 and then save their data in a DataBase (name, date, file type, size, etc.). Also if you know more than one way to do this please refer me to the best(fastest/safest/most efficient) way. Thanks in advance.

推荐答案

您好,



参考:

1 ) ASP.NET Web API 2文件上传

2) WEB API FILE UPLOAD,SINGLE或多个文件


这篇关于ASP.NET Web API 2上传几个文件 - 如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆