Consume data returned from a WCF Service Application in HTML Lightswitch

时间:2015-10-30 21:37:27

标签: c# wcf visual-studio-lightswitch lightswitch-2012

I have a WCF Service Application hosted in IIS. This service queries clients on our network for WMI data on demand. I would like to consume this data in my Lightswitch HTML application which is also hosted in IIS on the same server. Do i need to use a WCF RIA service? I have little to no knowledge of RIA. I looked into this tutorial and I'm not sure if this solution applies. The data that's being returned from my service isn't coming from a database. Any guidance on how to consume data from my WCF service in Lightswitch HTML would be greatly appreciated.

1 个答案:

答案 0 :(得分:0)

LightSwitch无法直接连接到 WCF服务,但您可以将其包装成:

a) RIA服务

b) OData web api控制器