Help with Silverlight dataportal

Help with Silverlight dataportal

Old forum URL:

JonM posted on Tuesday, January 25, 2011

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?


Gort replied on Tuesday, January 25, 2011


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:

          <behavior name="">
            <serviceMetadata httpGetEnabled="true" />
            <serviceDebug includeExceptionDetailInFaults="true" />
      <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />

JonM replied on Tuesday, January 25, 2011


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