Getting Started with JSON APIs in ASP.NET
Learn about the basic components that are needed to make an API controller class.
To enable JSON Web APIs, you have to create a new controller class in your controller’s folder. It is preferred to place these controllers inside a folder called Api, which sits inside your controller’s folder. This controller class requires the attribute [ApiController]
for the framework to figure out that this class will be used for JSON API ...