Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

What exactly is the WebAPI discussed in this Code Magazine / Angular article?

I am trying to understand this article:

http://www.codemag.com/article/1705021

and how they fulfill the WebAPI mentioned under the heading:

"Create Web API"

I see they stat with an empty C# Controller, but can not find what exactly they mean by WebAPI.

I am not understanding what is meant by the term.

Please explain.

Thanks
SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

So, given that I have been on handfuls of C# and MVC projects over the years and have coded many a web back-end, that means, by definition, it was WebAPI.

Depending on the requirements, those were sometimes AJAX endpoints, and other times I used "RediectToRoute() methods, this was all WebAPI.

Am I right about that?
I am not a web expert. I know the theory of it but not the fine details. I wouldn't be able to provide an real answer to that specific question without risking to introduce an error!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, I have used these kinds of web services in my website as well as made web service calls for public consumption.

These both qualify as instances of WebAPI?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks