Abstractions map WCF Web API vs ASP.NET Web API
2012-09-06
there are some concepts map between old WCF Web API and new ASP.NET Web API.
(From WCF Official page)
The WCF Web API abstractions map to ASP.NET Web API roughly as follows
WCF Web API | WCF Web API |
---|---|
Service | Web API controller |
Operation | Action |
Service contract | Not applicable |
Endpoint | Not applicable |
URI templates | ASP.NET Routing |
Message handlers | Same |
Formatters | Same |
Operation handlers | Filters, model binders |