如何从Flex应用程序到ASP.NET的C#Web服务传递的形象?

如何从Flex应用程序到ASP.NET的C#Web服务传递的形象?

问题描述:

我要存储图片来自Flex应用程序到ASP.NET的Web服务,并在以后将要发送这些图像回Flex应用程序。能否请您给C#中的例子Web方法或建议一个网站,以了解如何做到这一点。我试图goggling,但找不到任何东西非常有用

I want to store images from the flex application to a asp net web service and at a later point will be sending these images back to flex application . Can you please give a example web method in c# or suggest a website to read about how to do this. I tried goggling but couldn't find anything very useful

有两种方式我能想到的:

There are two ways I can think of:


  • 使用AMF和发送ByteArray的C#(flex以C#)

  • 使用的URLRequest,它的数据属性通过HTTP POST
  • 要发送的ByteArray EN codeD为Base64
  • use AMF and send ByteArray to C# (flex to c#)
  • use URLRequest and it's data property to send ByteArray encoded in Base64 via HTTP POST