如何从Flex应用程序到ASP.NET的C#Web服务传递的形象? [英] How to pass image from a flex application to a asp net c# web service?

查看:140
本文介绍了如何从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#<一个href=\"http://stackoverflow.com/questions/1103061/best-way-for-flex-to-communicate-with-c-backend\">(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

这篇关于如何从Flex应用程序到ASP.NET的C#Web服务传递的形象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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