Answered is that reference issue

  • Thursday, March 29, 2012 10:37 PM
     
     

    HI, I am following the quick tutorial "http://www.silverlight.net/learn/advanced-techniques/wcf-ria-services/wcf-ria-services-%28silverlight-quickstart%29"

    I tried to put my domain in here <ds:SaleDomainContext>, but there my domain is not on the list. There are only AuthticationService and UserRegistrationService. I did add those reference mentioned in the tutorial and rebuild the solution. Please advise

All Replies

  • Monday, April 02, 2012 2:59 AM
     
     Answered

    Hi sdnd2000,

    1. please check if the namespace is defined correctly as below

    xmlns:ds="clr-namespace:RIAExampleApp.Web"

    2. After creating service, "Build"/"Rebuild" whole application is needed in order to access domain service on client side.

    3. Right click on silverlight project (not .web project)  - Properties - Silverlight - WCF Ria service link. here select the web part project.

     

    Best Regards,