开发者

How to receive binary data using ASP.NET MVC?

I'm using ASP.NET MVC controllers for providing RESTful web services. That works just fine for simple data types like string and int. Now I need to send some binary data (like images and video) to this web service. My question is - what data types do I have to use as Action paramete开发者_JS百科rs and what else should I be aware of? Thanks!


I think byte[] suits any binary data. Of course, you have to know how to process it, otherwise it's useless.


Or System.Data.Linq.Binary.MVC1 Futures included LinqBinaryModelBinder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜