3

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 parameters and what else should I be aware of? Thanks!

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.