应该如何与服务器端的.NET客户端Flash(SWF)进行通信? [英] How should client Flash(SWF) communicate with server-side .NET?

查看:159
本文介绍了应该如何与服务器端的.NET客户端Flash(SWF)进行通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我在IIS7在服务器上运行ASP.NET。我想我会使用MVC一些静态页面和动态的基本形式 - 但大多数客户端都写入闪存/ ActionScript中。

So I have ASP.NET running on the server in IIS7. I think I'm going to use MVC for some static pages and basic dynamic forms - but the majority of the client side is written in Flash/ActionScript.

什么是最简单,最succint,最干燥建筑方式/生成客户端和服务器之间的代理?

What's the simplest, most succint, most DRY way of building/generating proxies between client and server?

我应该使用哪种格式?

  • JS​​ON
  • 在SOAP
  • 二进制

和其通讯科的协议,我应该使用?

And which comms protocol should I use?

  • WCF
  • 通过MVC控制器动作
  • HTTP
  • WCF
  • HTTP via MVC Controller actions

我可能错过了一些格式或协议,但基本上应该是比较有效的,不需要水暖code和$ P $很多pferably自动生成客户端代理。

I'm probably missing some format or protocol, but basically it should be relatively efficient, not require alot of plumbing code and preferably auto-generates client-side proxies.

推荐答案

WSDL Web服务是很容易消耗的Flash和简单的创建.NET。

WSDL web services are very easy to consume in Flash and simple to create in .NET.

我也建议你至少看看AMF,这是Adobe的交换客户端和服务器之间的数据专有的二进制格式。有一对夫妇的实现.NET,包括amf.net和的WebORB的。

I'd also suggest you at least look into AMF, which is Adobe's proprietary binary format for exchanging data between client and server. There are a couple of implementations for .NET, including amf.net and weborb.

我从来没有使用过它,但我听说过真正伟大的事情的WebORB:的 HTTP://www.themidnight$c$crs.com/products/weborb-for-net/overview.html

I've never used it, but I've heard really great things about weborb: http://www.themidnightcoders.com/products/weborb-for-net/overview.html

这篇关于应该如何与服务器端的.NET客户端Flash(SWF)进行通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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