I want to send a file from android to .NET server, will it make any difference if I use a WCF service application and WCF service library? (Further info: I am using IIS for hosting.)
The major difference is that the WCF Service Application has a . svc file, whereas the WCF Service Library does not have a . svc file. Suppose we want to host this service application in IIS, then you need to specify for IIS the execution runtime environment requirements.
The WCF Service Application template can be used to create WCF services with a hosting website created within the project. The WCF Service Library template can be used to create WCF services that are hosted by the WCF Service Host, and these can be tested using the WCF service Test Client.
Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.
you need to use a wcf service application project and host it over IIS. If you are creating a WCF client library, you need to add another project in your solution and add reference of service in it to host. If you want to keep separate projects for service library and hosting project so that you can host it on some other hosting application also, you can go for second approach. other wise WCF service Application is enough for IIS hosting.
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.
Here you can find the best explanation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With