1 定义:
FluorineFX是一个开源库,提供了一种在.net FrameWork下对Flex/Flash的远程过程调用,Flex数据服务和实时数据的使用技术。能被.net Frameworks支持。
2 特性:
- Flex,Flash Remoting(RPC)
- Flex Messaging(partial)
- Flex Data Services(partial)
- Supports AMF0,AMF3 and RTMP protocols
- Service Browser
- Template based code generator(ASP.NET llike syntax)
- Easily integrate rich internet applications with .net backend
- Easily integrate with Adobe integrated Runtime(Adobe AIR™)
3 FluorineFx的配置
使用"FluorineFx Asp.net Web Site"向导生成的项目结构如下:(Adobe AIR™)
4 Web.Config关于Fluorinefx相关部分如下:(如果不用web-inf/flex目录下的services-config.xml)
说明:其中,<fluorinefx />部分不是必须有的 ;<httpModules />中的"FluorineGateway" http module entry 必须有;如果没有使用services-config.xml配置文件,才需要设置<security />部分。
5 除了把所有配置都放在services-config.xml一个文件中,还可以把Service配置信息分散到多个配置文件里,然后包含进来以达到简化的效果。如下: