what is the difference between asp.net web api and asp.net core web api?
It works more or less the same way as ASP.NET MVC web application except that it sends data as a response instead of html view. It is like a webservice or WCF service but the exception is that it only supports HTTP protocol. ASP.NET Web API is an ideal platform for building RESTful services.