Serializing to/from Adobe AMF in C#/Mono?

安稳与你 提交于 2020-01-01 19:03:39

问题


Using Zend_Amf it's possible to serialize php objects to/from Adobe AMF format. Is there an equivalent library for serializing/unserializing C# objects to/from AMF?

I'm working in Mono 2.4.


回答1:


There are several options. Here's the best.

http://www.fluorinefx.com/

Fluorine provides a full client and server implementations of AMF over HTTP and at least server implementations of AMF over RTMP (I'm not sure about client for RTMP--we just haven't used it so I haven't looked into it). It also includes classes that can be utilized directly for AMF serialization and deserialization.

We use it extensively in our application as an HTTP AMF server, for random AMF serialization/deserialization, RTMP server, and in the past we implemented a plain AMF over TCP socket server using Fluorine (which is no longer necessary, this was pre-RTMP support).




回答2:


I've recently written a blog post regarding the Flash aspect of FluorineFx AMF data transfer. There's some open source code on github (linked to in the blog post) too.

Maybe it could come in useful : http://labs.specialmoves.com/code/flash-data-transfer-using-fluorinefx/



来源:https://stackoverflow.com/questions/2831662/serializing-to-from-adobe-amf-in-c-mono

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!