Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the basic difference between WebApi over WCF/Web Services?

user-image
Question added by Hari Krushna , Junior Software Developer , StateCorps Inc
Date Posted: 2017/04/18
Ahmad Hijazi
by Ahmad Hijazi , RPA Lead Development Architect , Inspire Innovations

Web API

  • This is the new framework for building HTTP services the easy and simple way.
  • Web API is open source an ideal platform for building RESTful services using the .NET Framework.
  • Unlike a WCF REST service, it use the full features of HTTP (like URIs, request/response headers, caching, versioning, various content formats).
  • It also supports the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection, unit testing that makes it more simple and robust.
  • It can be hosted within the application or on IIS.
  • It is a light weight architecture and good for devices which have limited bandwidth like smart phones.

Web Service

  • It is based on SOAP or REST and returns data in XML format.
  • It supports only the HTTP protocol.
  • It is not open source but can be consumed by any client that understands XML.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.