How to call the WCF service from silverlight application?

What is the best way to call AIDL methods of a service in an AsyncTask in another application after binding to it?

  • Reg: Android # In android we normally create a service which implements methods defined in AIDLs. Why can't these methods/apis can't be called in AsyncTask's do in Background in another application after binding to that services. Or is that something i am doing wrong?

  • Answer:

    Binding is the good way, bind to an remoteservice and in onserviceconnected get the stub, its is the good way to call remote service methods.

Nishanth Kumar at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.