locked
Difference between Asp.Net Core and WCF HTTP REST API RRS feed

  • Question

  • User-1350516731 posted

    Hello all!

    What is the reliability and performance difference of these API's?

    Thank you.

    Friday, May 24, 2019 9:19 PM

All replies

  • User1120430333 posted

     WebAPI is more widely used now, becuase WebAPI uses the MVC pattern, it's HTTP only and the default data exchange is Json. WCF Rest  is XML based on the data exchange,  but it uses more protocols like TCP,  HTTP and  UDP.

    From what I understand, anything over HTTP is text based, and WebAPI would be slower than using WCF Rest over TCP and using binary with binary being the fastest means possible in data transmission. 

    The link should help you.

    http://www.compilemode.com/2015/06/difference-between-web-api-and-wcf-rest.html

    Saturday, May 25, 2019 10:11 AM