Re: Silverlight RIA Services

2010-08-16 Thread David Burela
Have you tried hitting the service directly in a browser? You can do a basic check to ensure that the domain service is actually being hosted. If your fully qualified class name was Myapp.RiaProject.Services.MyDomainService then you would browse to it by just replacing the dots with - and adding

RE: Silverlight RIA Services

2010-08-15 Thread Tony Wright
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Shingi Mutandwa Sent: Thursday, 12 August 2010 9:19 PM To: ozSilverlight Subject: Re: Silverlight RIA Services The EDMX and the RIA services are in different projects and therefore the Generate metadata checkbox is disabled when generating

Re: Silverlight RIA Services

2010-08-15 Thread KO CHANG
Hi Shingi, It all look right to me, however, I am curious about the static declaration on title within the metadata class. Is there a reason why it is static? Ko On Thu, Aug 12, 2010 at 9:19 PM, Shingi Mutandwa shingi.mutan...@gmail.comwrote: The EDMX and the RIA services are in

Re: Silverlight RIA Services

2010-08-12 Thread tonywr
Hi Shingi, It sounds like the object does not exist within the generated code within the Silverlight component. This means that the object is not shared properly from the web app. There are a number of reasons for this - perhaps you don't have an [EnableClientAccess] attribute on your class?

RE: Silverlight RIA Services

2010-08-12 Thread Tony Wright
Sent: Thursday, 12 August 2010 5:41 PM To: ozSilverlight Subject: Re: Silverlight RIA Services Hi Tony I have the service class decorated with [EnableClientAccess()] Regards, Shingi On Thu, Aug 12, 2010 at 5:34 PM, ton...@tpg.com.au wrote: Hi Shingi, It sounds like the object does

Re: Silverlight RIA Services

2010-08-12 Thread Chris Anderson
*Sent:* Thursday, 12 August 2010 5:41 PM *To:* ozSilverlight *Subject:* Re: Silverlight RIA Services Hi Tony I have the service class decorated with [EnableClientAccess()] Regards, Shingi On Thu, Aug 12, 2010 at 5:34 PM, ton...@tpg.com.au wrote: Hi Shingi, It sounds like

Re: Silverlight RIA Services

2010-08-12 Thread Shingi Mutandwa
The EDMX and the RIA services are in different projects and therefore the “Generate metadata” checkbox is disabled when generating the domain service in Visual Studio. However we created a partial class in the same project containing the EDMX and applied the [include] attr like so:-