Search This Blog

Friday, 11 August 2017

ASP.Net Web API vs WCF, which one should I choose?

  • Choose WCF when you want to create a service that should support special scenarios such as one way messaging, message queues, duplex communication etc.

  • Choose WCF when you want to create a service that can use fast transport channels when available, such as TCP, Named Pipes, or maybe even UDP (in WCF 4.5), and you also want to support HTTP when all other transport channels are unavailable.

  • Choose Web API when you want to create a resource-oriented services over HTTP that can use the full features of HTTP (like URIs, request/response headers, caching, versioning, various content formats).

  • Choose Web API when you want to expose your service to a broad range of clients including browsers, mobiles and tablets.

1 comment:

Creating a NuGet Package Feed to Host Artifacts

Step-by-Step Guide: Creating a NuGet Package Feed to Host Artifacts 🔹 Step 1: Create a C# Class Library and Generate NuG...

Recent Post