Using WCF RIA service in non-Silverlight .NET application
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a problem to use one type of WCF RIA service in non-Silverlight .NET application. For example, I want to use it in WPF application. I know how to use domain service that has method like this:
[Query(IsDefault = true)]
public IQueryable GetContinents()
{
return this.ObjectContext.Continents;
}But, when I try to add some custom method to domain service class, which is decorated with [Invoke] attribute:
[Invoke]
public string MakeWordUpper(string text)
{
return text.ToUpper();
}it's not visible in "Add Service Reference" dialog in WPF application. Only GetContinents method is visible. How can I make it work? Thank you in advance.