Josh-CO Dev

Solving the worlds problems one line of code at a time.

Silverlight WCF RIA Issues – Implement Domain Service

Leave a comment


As i’ve mentioned in previous posts, I have been having some issues with WCF services in Silverlight. On my local computer, my application would compile and run just fine. When I would move the web service out to my host, GoDaddy, I would always get back errors that did not make any sense. I scoured the internet and found nothing of use. I have a clientaccesspolicy.xml, crossdomainpolicy.xml and did everything else the web told me. I then stumbled into some articles about using the entity framework with RIA calls, I am using LinqToSQL. These articles uses a domain services file to interface with the web service. I implemented this and everything began working. The weird thing is, so far it seems that I only need to expose the table itself through the domain service. I can still make all my web service calls, inserts, etc by calling my web service directly. Most frustrating problem ever!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s