I am new in silverlight i am using silverlight with RIA Services.
In DomainService class i created method named GetUserByID(int UserID) it's returning User class object.
i want to know on which metho i have to set the Invoke or Query.
What is the difference in Invoke and Query.
Also i have seen when at acess time to method i have to sent the compleate Method refrence but some time not need for that. i want to know what is the reason behind that.
The following link will help you:
Thanks for reply..
yes i am satisfied with you but in my service i am using
Public Function User_Authenticate(ByVal userId As String, ByVal password As String) As LoginStatus
Dim loginStatus As New LoginStatus
loginStatus.UserName = userId
If Not Membership.ValidateUser(userId, password) Then
If Membership.FindUsersByName(userId).Count > 0 Then
Catch ex As Exception
it's not working given error-:
Operation named 'User_Authenticate' does not conform to the required signature. Return types must be an entity, collection of entities, or one of the predefined serializable types.
But in other servies code it's working i want to know about that.