apis
ASP.NET Core Web API Articles, Tutorials & News
ASP.NET Core Web API articles, tutorials, and news from the DotNetNews archive.
364 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
-
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.
-
Supercharging Your ASP.NET Core MVC Project: A Complete Guide to Setting Up APIs with Swagger/OpenAPI
C# Corner - Sardar Mudassar Ali Khan Issue #560
-
Building a Custom Webhook Receiver in ASP.NET Core for Azure Monitor Alerts
C# Corner - Sardar Mudassar Ali Khan Issue #560
-
Background Processing: Handling Long-Running Tasks Safely with Hosted Services
C# Corner - Sardar Mudassar Ali Khan Issue #560
Learn to process long-running ASP.NET Core Web API tasks safely with BackgroundService, IHostedService, and a thread-safe System.Threading.Channels queue.
-
7 Mistakes I Made Building My First ASP.NET Core API (Tested on .NET 10)
Medium - Somnath Mukherjee Issue #558
A few hard-earned lessons from shipping my first Web API, and the fixes I wish I’d known on day one.
-
Minimal APIs vs Controllers in ASP.NET Core: What Actually Matters in Production
C# Corner - Sagar Rane Issue #557
-
Automating Postman Collection Generation with Roslyn in .NET
Medium - Temoor Wali Issue #557
When working with a large .NET application, maintaining a Postman collection manually can become difficult, especially when the…
-
What is middleware in ASP.NET Core and the gotchas
C# Digest - [email protected] (Jakub Chodounsky) Issue #557
middleware in ASP.NET Core runs on every HTTP request and response
-
Controllers vs. Minimal APIs: I Rebuilt the Same Project Both Ways
Medium - Somnath Mukherjee Issue #557
I built the same small ASP.NET Core API twice, once with Controllers and once with Minimal APIs, to see what differs in practice. Here’s…
-
How I Cut My API Response Time from 2s to 200ms
Medium - Somnath Mukherjee Issue #556
A real debugging story: the exact bottlenecks I found in a slow ASP.NET Core endpoint, and the fixes that took it from 2 seconds to under…