DEVELOPING THE FUTURE
A blog for PA and NJ tech students and faculty
Lindsay Lindstrom is an Academic Developer Evangelist with Microsoft based in Pennsylvania. In 2005, she graduated with a B.S. in Computer Science from the University of Southern California. During her time at USC, she worked with ABC and Wells Fargo supporting their web properties. In her current role she educates, excites and empowers students and faculty about technology and its career possibilities, and she loves her job!
Today we discussed consuming Web Services in our Silverlight 2 applications using ASMX Web Services, WCF Services and REST. This webcast was based on a blogpost by Tim Heuer. The attached code is modified from his source code to work with Silverlight 2 Beta 2. The changes I made from his code are as follows:
Here are the links I referenced:
Tim Heuer's blogpost on Web Services in Silverlight: http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx and follow up: http://timheuer.com/blog/archive/2008/03/19/calling-services-with-silverlight-part-2.aspxA great explanation of when and how to use WebClient or HttpWebRequest in Silverlight: http://www.silverlightshow.net/items/Using-WebClient-and-HttpWebRequest.aspxTim's videos on Web Services from Silverlight.net/learn. There are 3 videos - one one WCF, one on Cross Domain networking, and one focusing on WebClient/HttpWebRequest usage: http://silverlight.net/learn/videocat.aspx?cat=2#HDI2WebServicesPlease let me know if you have any questions! See you on Wednesday for Unit Testing!