
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 …
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.
ASP.NET documentation | Microsoft Learn
Learn to use ASP.NET Core to create web apps and services that are fast, secure, cross-platform, and cloud-based. Browse tutorials, sample code, fundamentals, API reference and more.
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.
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.
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.
Overview of ASP.NET Core Authentication | Microsoft Learn
Feb 14, 2024 · In ASP.NET Core, authentication is handled by the authentication service, IAuthenticationService, which is used by authentication middleware. The authentication service uses …
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 …