How to call the WCF service from silverlight application?

.NET Framework: What is the difference between a WCF service library and WCF service application? Would using a WCF service application make a difference in any way if I host it in IIS?

  • I want to send a string from Android to a .NET-based server. Would using a WCF service application hosted in IIS make any difference than using a WCF service library? If yes, what difference?

  • Answer:

    In simpler terms, when you choose a WCF service application, a "SVC" file comes along with a service interface, service class and Web.Config which makes it supportable hosting on an http://ASP.NET development server or IIS opposite to which in a service library no SVC file comes. You cannot host it on an IIS, rather you can self host it in other applications, like a Window service, a console application, etc.

Ahmar Husain at Quora Visit the source

Was this solution helpful to you?

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.