Flash connecting to a WCF service

2019-01-25 21:47发布

I would like ask for guidance on the proper endpoint configuration for my WCF service to enable a Flash app to consume it.

Thanks, Keith Rull

1条回答
啃猪蹄的小仙女
2楼-- · 2019-01-25 22:23

Well you should start with a webHttpBinding and naturally you need to apply the webHttp behavior as well. Then you just need to figure out what serialization format you want to work with. Flash can do JSON or XML, so you need to decide which you prefer and then you set the ReqeustFormat/ResponseFormat properties of the WebInvokeAttribute which are applied to your operations.

查看更多
登录 后发表回答