182k views
0 votes
What are the differences between an Api Controller and "regular/view" Controller in .Net?

1 Answer

1 vote

Answer:

An API controller in .Net is a code statement or function that returns data and a RESTful API to the application while a regular or view controller is a class that returns a view.

Step-by-step explanation:

The .Net framework is a platform used for creating user-friendly and user interactive interfaces in desktop and web applications. Like all programming frameworks, it uses API and API controllers to source data and other properties.

User Priyanksriv
by
5.1k points