Web APIs

ASP.NET Core supports creating web APIs using controllers or using minimal APIs.

  • Controllers in an API project are classes that derive from ControllerBase.

  • Minimal APIs define endpoints with logical handlers in lambdas or methods.

Resources

Last updated

Was this helpful?