Mid ASP.NET Core

What are controllers, actions, views, and view components?

  • Controller: Handles HTTP requests.
  • Action Method: A method in the controller that returns a result (like

a view or JSON).

  • View: .cshtml file that renders HTML.
  • View Component: Reusable mini-views with logic (like partials but

with code-behind).

More from ASP.NET Core Tutorial

All questions for this course