Dakoy
Dakoy

Reputation: 53

WCF service application and wcf service library

i know it's been asked, but i want to clear things out, what is the difference between WCF service application and wcf service library, and how can i connect them to other machine?

is Wcf SA need to host on IIS? or is it the SL?

Upvotes: 1

Views: 514

Answers (1)

Thilina H
Thilina H

Reputation: 5804

A service application includes a website host already setup for you. A service library is a library of services that a host can reference and startup.

If you start with a service library (recommended) you can then choose any host you wish (a windows service, IIS/ASP.NET, or even a console application) and you'd just reference your library from your new host. Choosing a Service Application limits your host to just IIS/ASP.NET (though this might be ok for your purposes, but will limit the protocols you can use).

Upvotes: 3

Related Questions