Last post Jun 15, 2017 09:46 AM by PatriceSc
Jun 15, 2017 06:13 AM|FarhatKhan|LINK
Please give me some core difference on behalf we use web api restful service instead of
wcf restful service and vice versa.
Thanks and Best Regards,
Jun 15, 2017 08:45 AM|kaushalparik27|LINK
Here is some explanation:
Some reference link:
Jun 15, 2017 09:00 AM|FarhatKhan|LINK
I have already read out these difference in internet but i want to some unique difference . Why we use web api when already wcf provide the same restful service?
Jun 15, 2017 09:05 AM|kaushalparik27|LINK
You should refer the differences carefully. This is similar to evolution of any technology of software. Example, people were happy with WinXP and still Windows 10 is out and people are loving it. The particular section that describes when you should opt
for restful WCF and when for Web API may clear out your doubt.
Jun 15, 2017 09:46 AM|PatriceSc|LINK
You also have
ASP.NET web api is newer, lighter, based on controllers making it familiar to MVC users (and even merged with MVC in ASP.NET Core), can be updated out of band as needed etc...
So it would be rather the other way round that is always try the simplest Web API option and switch to WCF only if you need something that web api doesn't offer.