apis
ASP.NET Core Web API Articles, Tutorials & News
ASP.NET Core Web API articles, tutorials, and news from the DotNetNews archive.
345 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 14
Newest first
-
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…
-
What I Wish I Knew Before Building APIs in ASP.NET Core
Medium - Somnath Mukherjee Issue #555
Leaked entities, 9-second endpoints, and a breaking change I never saw coming. Here’s what I’d tell my past self.
-
Understanding MediatR Pipeline Behaviors in .NET
Medium - YogeshKumar Hadiya Issue #554
In the previous article, we introduced MediatR into our Product Management Web API and used it to handle commands and queries through…
-
Why Is Your ASP.NET Core API Slow? Start With These 10 Checks
Medium - Converge Solution Issue #553
Your ASP.NET Core API is slow.
-
Best Practices for High-Performance .NET Web APIs
Medium Issue #547
In today’s software development landscape, building high-performance APIs is essential for providing users with a fast, reliable, and…
-
System.Text.Json Polymorphism with Swagger in .NET 7
Medium Issue #546
Polymorphic JSON is not finished when System.Text.Json can serialize a derived type. The same discriminator contract must survive OpenAPI…
-
Multiple Get Methods with the Action Method Selector Attribute in .NET Core 10
no dogma blog Issue #545
Download full source code. Here is the previous post I wrote about this . A little has changed since then. If you update the code to compile with .NET Core 10, the default Get() method will be called ...
-
Use C# unions and closed hierarchies in ASP.NET Core
Microsoft Dev Blogs Issue #542
Sometimes an API contract says that a value can have more than one JSON type. Kubernetes has a practical example: maxUnavailable can be an absolute number, such as 2, or a percentage, such as "25%". I...
-
Getting started with RAG in ASP.NET Core
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #539
AI hype is everywhere, but where do you start with .NET? In this beginner-friendly post, we build a simple RAG pipeline in an ASP.NET Core Web API using keyword matching instead of embeddings, coverin...
-
Navigate VS Code Faster with the Command Palette ⚡
YouTube Issue #538
Navigate VS Code like a pro using the Command Palette! Quickly open recent files, jump to symbols in your current file, group symbols by type, and even search for symbols across your entire workspace—...
-
6 Ways to Speed Up Your .NET Web API
Medium Issue #535
Caching, async, pagination, compression, EF Core and pooling.
-
Bot protection that outlives your provider
Medium Issue #535
Adding captcha to a .NET API — and what happens when one provider stops being enough.
-
How to Build a gRPC Service in .NET from Scratch
C# Corner Issue #534
Learn how to build a gRPC service in .NET from scratch using Protocol Buffers, ASP.NET Core, dependency injection, repositories, generated clients, HTTP/2, and shared contracts for microservices.
-
Your ASP.NET Core Endpoints Don't Have a Timeout
Milan's .NET Weekly Issue #534
ASP.NET Core doesn't enforce an application timeout on incoming requests by default. The built-in middleware can add one, but it only cancels RequestAborted.
-
Submission Manager : A Generic Multi-Tier Submission System Using Blazor, Web API, and Windows Forms
C# Corner Issue #533
Learn how to design and build a generic multi-tier application using a shared .NET architecture. This article explores a practical implementation of the SubmissionManager system, connecting Blazor web...
-
.NET 11 HTTP Compression: Benchmarking Large JSON APIs Under CPU Pressure
C# Corner Issue #533
Benchmark HTTP compression in .NET 11 APIs with large JSON responses to measure bandwidth savings, CPU usage, latency, and throughput under load.
-
YARP as an API Gateway in .NET: 7 Real-World Scenarios You Should Know
Medium Issue #532
Building modern distributed applications requires a robust API Gateway to manage traffic, security, and routing. Continue reading on CodeX »
-
How to Convert HTML to PDF in C# (.NET 10 Guide)
codewithmukesh Issue #531
Convert HTML to PDF in C# with .NET 10. Build a real invoice endpoint with page breaks, repeating table headers, culture-aware currency and a render queue.
-
Stop ignoring API failures. Use Polly
Round The Code Issue #530
API calls fail. Learn how to add Polly to an ASP.NET Core Web API to handle retries, circuit breakers and timeouts.
-
What Actually Happens When React Calls a .NET API?
Medium Issue #528
Following one API request from a React button click to PostgreSQL and back.