
Tutorial: Create a controller-based web API with ASP.NET Core
By Tim Deschryver and Rick Anderson This tutorial teaches the basics of building a controller-based web API that uses a database. Another approach to creating APIs in ASP.NET Core is to create …
Create web APIs with ASP.NET Core | Microsoft Learn
Jun 1, 2024 · ASP.NET Core supports creating web APIs using controllers or using Minimal APIs. Controllers in a web API are classes that derive from ControllerBase. Controllers are activated and …
Tutorial: Create a Minimal API with ASP.NET Core
Aug 21, 2024 · They're ideal for microservices and apps that want to include only the minimum files, features, and dependencies in ASP.NET Core. This tutorial teaches the basics of building a Minimal …
Create a web API with ASP.NET Core controllers - Training
Create a RESTful service with ASP.NET Core controllers that supports create, read, update, and delete (CRUD) operations.
ASP.NET Core web API documentation with Swagger / OpenAPI
Aug 26, 2024 · This tutorial provides a walkthrough of adding Swagger to generate documentation and help pages for a web API app.
Configure JWT bearer authentication in ASP.NET Core
Sep 29, 2025 · When using JWT access tokens for API authorization, the API grants or denies access based on the provided token. If the request is not authorized, a 401 or 403 response is returned.
Tutorial: Build and secure an ASP.NET Core web API with the Microsoft ...
Apr 4, 2025 · This tutorial series demonstrates how to protect an ASP.NET Core web API with the Microsoft identity platform to limit it's access to only authorized users and client apps.
How to use Identity to secure a Web API backend for SPAs
Sep 10, 2024 · ASP.NET Core Identity provides APIs that handle authentication, authorization, and identity management. The APIs make it possible to secure endpoints of a Web API backend with …
Enable Cross-Origin Requests (CORS) in ASP.NET Core
Sep 29, 2025 · Learn how CORS as a standard for allowing or rejecting cross-origin requests in an ASP.NET Core app.
Authentication and Authorization in ASP.NET Web API
May 11, 2022 · The first article in the series gives a general overview of authentication and authorization in ASP.NET Web API. Other topics describe common authentication scenarios for Web API.