Home  /  Questions  /  Question

55   94.7
Feb 06, 2011

integrating a silverlight client in Patterns In Action Solution


I was trying to integrate a Silverlight client in the Patterns in Action example solution but when I try to access the GetCustomers from CustomerRepository class within the DomainService class (which is going to serve the Silverlight client), I get a compile time error saying that ActionServiceRefence.Customer has a property 'ExtensionData' with an unsupported type.

on a lot of search i found that the application hosting the domain service class must also have either the entity model or linqToSQl file which can define the domain context for the data.

How can we avoid duplicating the entity model in DataObjects and the DomainService project and still implement this solution ?

I would really appreciate any help on this !!!!

Best Regards