Link to home
Start Free TrialLog in
Avatar of Sovereign
SovereignFlag for Ukraine

asked on

Can't access DomainContext via RIA Services

I'm building Silverlight App with RIA Services

I've created strongly typed domain service called ContactsDomainService.

The problem is that I can't access it in SL app like this

private void OKButton_Click(object sender, RoutedEventArgs e)
{
  ContactsDomainContext contactsContext = new
ContactsDomainContext();
...
}

Nevertheless it is auto-generated in Contacts.Web.g.cs

Have I missed smth? TIA
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

did ContactsDomainService.cs and ContactsDomainService.metadata.cs were generated?
ASKER CERTIFIED SOLUTION
Avatar of Sovereign
Sovereign
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial