简体   繁体   中英

Adding service reference for Silverlight Application with WCF services

Im totally new to WCF. Trying to create a Silverlight application with WCF services.

Im not sure what address to fill in for adding the service reference for the client side.

Also, what do I need to specify in the Web config file in the server side?

Thanks.

There are a few different kinds of WCF Services. WCF Services, WCF Data Services & WCF RIA Services. For a bit of background on these types/kinds check out this forum entry .

If you are using just WCF Services, here's an intro and a sample and another sample that should get you going. :-)

Here's a great overview from Shawn Wildermuth on creating a WCF Data service & consuming it in various ways.

WCF RIA Services are specifically built/optimized for Silverlight. If you are in control of the Service as well you might want to look into creating a RIA Service instead of just a WCF Data Service. Here's an intro to RIA Services .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM