Good tutorial for Silverlight with WCF and Linq To Sql

by Scott 9. July 2009 06:53

Part of Jeff Blankenburg's "31 Days of Silveright".  I went through this tutorial to get myself refreshed on Silveright.  It's been about 6 months since I've done a SL2 project and needed refreshing.

http://jeffblankenburg.com/2009/07/day-7-using-wcf-web-services-with.aspx

 

Tags: , ,

Silveright and WCF on Windows 7 issues

by Scott 9. July 2009 06:45

I've just found a solution to a problem I was having.  Using SL2 when adding a service reference to my WCF service, my project compiles fine, but does not run.  I get the error:

"Unrecognized element '' in service reference configuration. Note that only a subset of the Windows Communication Foundation configuration functionality is available in Silverlight."

It turns out this is only a problem on Windows 7 rc. In your client side service reference file, something like MyServiceReference.ClientConfig, you'll have:

The fix is to remove the <security> element above that is circled.  Apparently this is not valid and only happens on Windows 7 RC.

Tags: , ,

General

About the author

Hi, I'm Scott.  My company develops in C#/ASP.NET/Silverlight and and creates e-commerce web sites for small business.  Visit our corporate site, Gildner Solutions.  We are working on a brand new one now.

RecentComments

Comment RSS