Explain Web API Applications.
Web API Applications
- Before ASP.NET Web API core, the two-different frameworks MVC and Web API were pretty much similar.
- Both are used to support Controller and action methods. In the earlier version, the main purpose of Web API was to make REST API calls and there was a view engine like Razor.
- On the other hand, MVC was designed for HTML front ends to communicate to the backend in a standard web application.
- However, when ASP.NET Web API core was released, the main target was to support JSON-based REST API. It combines the key feature of both MVC and the old Web API framework.
Comments
Post a Comment