apis
ASP.NET Core Web API Articles, Tutorials & News
ASP.NET Core Web API articles, tutorials, and news from the DotNetNews archive.
373 articles Updated
This DotNetNews topic collects ASP.NET Core Web API material from the daily archive. ASP.NET Core Web API sits in the ASP.NET Core and broader Microsoft web stack that most C# services use. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for ASP.NET Core Web API; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include Web API .NET, ASP.NET Core API tutorials, controller APIs, and asp.net. Secondary angles such as ASP.NET Core Web API and Web API .NET appear when the archive actually covered them. Related hubs such as ASP.NET Core Minimal APIs and REST API Development in C# cover adjacent problems.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for Web API
-
Custom User Management in ASP.NET Core Web API (.NET 10)
codewithmukesh Issue #502
Practical user-management coverage for ASP.NET Core APIs, especially where Identity defaults don't fit cleanly.
-
.NET app returning a blank 500? Not with exception handlers
Round The Code Issue #493
If your API emits useless 500s, fix that first. Clear exception handling is operational hygiene, not a nice-to-have.
-
Why I Switched from Swagger UI to Scalar in .NET
Medium Issue #482
Worth a look if you’re revisiting API docs tooling after the template changes in newer .NET versions.
-
Vertical Slice Architecture in ASP .NET Web API
Medium Issue #475
Vertical slice architecture still resonates because it maps better to features and teams than layered abstractions often do.
-
How to upload files in an ASP.NET Core Web API
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #474
File uploads in ASP.NET Core APIs have built-in support; learn the patterns.
-
Building a Full-Stack Task Manager App with .NET Core Web API + Angular 20
Medium Issue #468
A practical full-stack walkthrough with familiar building blocks: Web API, EF Core, JWT, and Angular.
-
How to upload files in an ASP.NET Core Web API
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #462
Straightforward, practical ASP.NET Core guidance. File uploads sound simple until validation, storage, and request handling details pile up.
-
Optimistic Concurrency in EF Core 10: ASP.NET Core Web API Guide
codewithmukesh Issue #456
Useful for teams building APIs that need sane conflict handling instead of hand-wavy concurrency stories.
Archive
Page 1 of 15
Newest first
-
Choosing Between Include and Select in EF Core for Better API Performance
C# Corner Issue #589
Learn when to use Include and Select in EF Core, how eager loading differs from projection, and how each approach affects API query performance and response payloads.
-
Opening a Legacy System to the Outside World: Building a Secure Customer API in .NET 10
Medium Issue #588
The brief
-
System.Text.Json in .NET 11: What Actually Changed for Backend APIs?
Medium Issue #586
Union payloads, JSON Lines, inferred polymorphism, and generated contracts tested on .NET 11 RC3.
-
Resumable Uploads Are Not Optional: Content-Range, 308 Resume Incomplete, and a Transcode Queue…
Medium Issue #584
YouTube does not wait for the last byte to start work — and neither should your upload API.
-
The Simplest Way to Build a REST API in .NET — Minimal API
Medium Issue #583
Java and .NET are well-known platforms for building complete REST API projects, offering a rich set of built-in features (authorization…
-
Redis Caching in ASP.NET Core: A Beginner's Guide to Building Faster APIs
C# Corner Issue #582
Learn how to use Redis distributed caching in an ASP.NET Core Web API, including cache hits and misses, cache-aside, configuration, and IDistributedCache.
-
Testing Webhook Retry Logic When Your Server Is Unavailable
C# Corner Issue #582
Learn how to build and test reliable ASP.NET Core webhook receivers with durable event storage, duplicate-delivery protection, retries, and background processing.
-
JWT Authentication in ASP.NET Core Web API (.NET 10): Identity, Refresh Tokens and a Locked MCP Endpoint
C# Corner Issue #578
Before you let AI near your API, you need to know who is asking. In this article we take an ASP.NET Core Web API (.NET 10, EF Core and PostgreSQL) that has no login at all and lock it down with ASP.NE...
-
Custom Validation Messages in .NET 11 With DataAnnotations
C# Corner Issue #575
Learn to customize DataAnnotations validation messages, use placeholders and display names, and apply reusable validation rules in .NET and ASP.NET Core APIs.
-
C# 15 Union Types for API Results: Examples, Trade-Offs, and Migration
Medium Issue #574
Learn how C# 15 union types simplify ASP.NET Core API results, compare with existing C# patterns, and help you decide when to adopt them.Continue reading on Syncfusion »
-
How to Prevent Duplicate API Requests in ASP.NET Core Using Idempotency Keys
C# Corner Issue #574
Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, request validation, stored responses, and SQL Server persistence.
-
Understanding ASP.NET Core Web APIs
Medium Issue #574
When we use a website, we interact with a user interface built with technologies such as HTML, CSS, and JavaScript. But behind the scenes…
-
How to Add API Versioning to an ASP.NET Core Web API
C# Corner Issue #571
Learn to add URL-based API versioning to an ASP.NET Core Web API using Asp.Versioning, create v1 and v2 controllers, and preserve compatibility for existing clients.
-
How to Trace a Slow API Request with OpenTelemetry in .NET
C# Corner Issue #570
Configure OpenTelemetry tracing in an ASP.NET Core Web API to trace incoming requests, outgoing HTTP calls, and custom operations when investigating slow responses.
-
Understanding CancellationToken in C# and ASP.NET Core Web API
C# Corner Issue #570
Learn how to use CancellationToken in ASP.NET Core Web API to stop abandoned requests, cancel EF Core queries, and handle request cancellation efficiently.
-
RAG in ASP.NET Core (.NET 10): A Chat API That Remembers
codewithmukesh Issue #569
Build RAG in ASP.NET Core on .NET 10 with GoodMem: ingest docs, answer with citations, keep chat memory across restarts, and measure what a reranker adds.
-
Preventing Duplicate Operations in ASP.NET Core APIs
C# Corner - Riya Patel Issue #567
Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, durable EF Core storage, request hashes, and database uniqueness constraints.
-
How to Return Large JSON Responses in ASP.NET Core Without Loading Everything into Memory
C# Corner Issue #567
Learn how to stream large JSON responses in ASP.NET Core with IAsyncEnumerable, Entity Framework Core, cancellation, and memory-conscious API design.
-
Keeping API Pagination Consistent While Records Change
C# Corner - Vivek Kumar Issue #567
Learn how record changes cause offset pagination duplicates and gaps, and implement stable cursor-based pagination in ASP.NET Core with Entity Framework Core.
-
The Fastest C# Code in a Benchmark Lost the Real-World API Test - HackerNoon
""charp" OR "asp.net" OR "fsharp" OR "c#" OR "vb.net" " - Google News Issue #567
The Fastest C# Code in a Benchmark Lost the Real-World API Test HackerNoon
-
How to Add Rate Limiting to ASP.NET Core APIs
C# Corner Issue #565
Configure ASP.NET Core API rate limiting with built-in middleware, endpoint policies, HTTP 429 responses, and fixed, sliding, token bucket, and concurrency limiters.
-
Resumable File Uploads: Let Users Continue After a Network Failure
C# Corner - Saurav Kumar Issue #565
Learn how to build resumable file uploads in ASP.NET Core using upload sessions, chunk offsets, durable state, and validation after network failures.
-
Use C# Unions With System.Text.Json in ASP.NET Core APIs
C# Corner - Riya Patel Issue #564
-
Robust API Verification: Writing Unit Tests for ASP.NET Core Webhook Controllers Using xUnit and FluentAssertions
C# Corner - Sardar Mudassar Ali Khan Issue #563
-
How I upgraded Autofac 8 to 9 on .NET Framework, and why I left System.ValueTuple alone
Medium - Roger Issue #562
A practical walkthrough for developers maintaining ASP.NET MVC 5 and Web API 2 applications on packages.config.