I'm trying to get a silverlight 4 app running with a dataportal (CSLA 4.1). Why is WCF always such a pain?!? Anyway, I downloaded the samples but I can't find a good sample that shows a silverlight project talking through a dataportal. I'm looking at the inventory demo but it has some extra compression junk in it!
Can someone help me out with a sample web.config for my server (IIS 7) and a ServiceReferences.ClientConfig for my client?
What particular issues are you having? I recently set this up myself so maybe can be of help. I pass in the service endpoint to my SL application and set it programmatically, so I don't really have anything in my web.config other than the skeleton serviceModel code:
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
Thanks for the help. I'm not sure how this code does anything. What is the config on your silverlight client end?
Copyright (c) Marimer LLC