apis
REST API Development in C# Articles, Tutorials & News
REST API Development in C# articles, tutorials, and news from the DotNetNews archive.
161 articles Updated
REST API in C# is the focus of this topic page. REST API Development in C# is a recurring focus for C# and .NET developers working in the Microsoft ecosystem. Intermediate and senior .NET developers use this hub to scan practical writing without treating every link as an endorsement.
Recurring subtopics in recent issues include REST API in C#, REST API ASP.NET Core, RESTful API .NET, and HTTP API C#. Those themes are drawn from titles and excerpts in the newest archive entries for this tag, not from a marketing outline.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for REST API Development in C#; the archive list is chronological and larger. Secondary angles such as REST API in C# and REST API ASP.NET Core appear when the archive actually covered them. Nearby reading often overlaps with ASP.NET Core Web API and ASP.NET Core Minimal APIs.
Start here
Editor picks for REST API
-
gRPC vs REST APIs: Performance, Scalability, and Use Cases Compared
C# Corner Issue #495
Good side-by-side refresher on protocol tradeoffs when teams default to REST without revisiting internal service requirements.
-
Get Service Connections with the Azure DevOps API (REST and TypeScript)
I CAN MAKE THIS WORK Issue #493
Useful nuts-and-bolts Azure DevOps API post. I appreciate seeing both curl and TypeScript instead of a hand-wavy overview.
-
Essential Patterns for Building Production-Ready REST APIs in .NET 8
C# Corner Issue #489
A broad API patterns roundup covering structure, validation, errors, and logging in .NET 8.
-
RESTful API Best Practices for .NET Developers (.NET 10) – The Complete 2026 Guide to Production-Ready APIs
codewithmukesh Issue #480
Strong checklist material for teams standardizing APIs on .NET 10, especially around idempotency and error contracts.
-
8 “Finally Maintainable” Steps to Build a CRUD REST API with Clean Architecture + DDD in .NET
Medium Issue #369
A maintainable CRUD guide with Clean Architecture and DDD is always welcome, especially for teams standardizing API structure.
-
Best Practices For Building REST APIs
Dev Tips Issue #352
Solid REST API fundamentals never really go out of style.
-
Mastering REST APIs in ASP.NET Core and C#: A Complete Guide for .NET Developers
Medium Issue #298
A useful REST refresher that stays close to how ASP.NET Core apps are actually built.
-
How To Implement HttpClient in C# (4 Ways)
Medium Issue #286
HttpClient in .NET simplifies calling REST APIs by sending HTTP requests and receiving responses.
Archive
Page 1 of 7
Newest first
-
Understanding Slow API Requests and HTTP Connection Pooling in .NET
C# Corner Issue #587
Learn how HttpClient connection pooling affects outbound API performance in .NET and how to avoid socket exhaustion, unnecessary connections, and stale DNS resolution.
-
Why JSON.parse Quietly Changes Your IDs (and 3 Ways to Stop It)
Medium Issue #587
Your API sends 9007199254740993. Your frontend shows 9007199254740992. No error, no warning. Here is why it happens and how to fix it in…
-
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…
-
How to Implement HTTP Resilience Without Polly in .NET 10
codewithmukesh Issue #582
Polly's maintenance fee starts 16 November 2026. See who pays, the free Microsoft route, Kevlar, and a tested Polly-free retry and circuit breaker in .NET 10.
-
C# 15 Union Types vs Result Pattern: What Do Backend APIs Actually Gain?
Medium Issue #581
Four checkout outcomes, a fifth-case change, and the boundaries between compiler coverage, HTTP contracts and JSON in .NET 11 RC3.
-
How to Run Java and Rust Services Together in a .NET Aspire Application
C# Corner Issue #579
Learn how to use .NET Aspire to coordinate Java and Rust HTTP services alongside an ASP.NET Core API, including project structure, service discovery, health checks, and deployment considerations.
-
HttpClient in .NET 10 - IHttpClientFactory and Resilience
codewithmukesh Issue #576
Use HttpClient in .NET 10 with IHttpClientFactory, keyed and typed clients, and AddStandardResilienceHandler, with real socket and POST retry test results.
-
How to Test API Rate Limits and Retry-After Headers Automatically
C# Corner Issue #576
Configure and automatically test ASP.NET Core API rate limits, HTTP 429 responses, Retry-After headers, client partitions, and retry behavior with xUnit.
-
Your API Worked. So Why Did It Create Two Orders?
Medium Issue #576
The production bug that teaches you why a successful HTTP response is not the same as a reliable system.
-
How to Test API Retries Without Sending Duplicate Payments
C# Corner Issue #575
Learn how to test payment API retries safely using idempotency keys, simulated network failures, and C# examples to prevent duplicate charges.
-
How to Mock External HTTP APIs in .NET Integration Tests
C# Corner Issue #574
Learn how to mock external HTTP APIs in .NET integration tests with a custom HttpMessageHandler, HttpClient, and xUnit to test successful and error responses reliably.
-
Unwiring WireMock .NET: Elevate Your API Testing
Medium Issue #574
Overview: WireMock .NET is a free, open-source C# tool that lets integration tests talk to a simulated API over HTTP instead of real…Continue reading on T.8ytes by Titansoft »
-
C# Concepts Every .NET Backend Developer Should Know in 2026
Medium Issue #573
A .NET API can feel perfectly fine with a little traffic and then start struggling as the app grows. Queries get slower, outgoing HTTP…
-
How to Use ETags in ASP.NET Core to Prevent Users from Overwriting Each Other’s Changes
C# Corner Issue #572
Learn how to use ETags, If-Match headers, EF Core rowversion columns, and HTTP 412 responses to prevent conflicting updates in ASP.NET Core APIs.
-
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 Add Rate Limiting to ASP.NET Core APIs
C# Corner Issue #570
Learn how to configure and apply ASP.NET Core rate limiting policies, choose limiter algorithms, and return HTTP 429 responses for excessive API requests.
-
gRPC vs. REST in .NET: When to Use Which
Medium Issue #570
Use REST for public, browser-facing, and third-party APIs, and gRPC for internal, high-throughput service-to-service communication. Most…
-
How to Mock External HTTP APIs in .NET Integration Tests
C# Corner Issue #569
Learn how to mock external HTTP APIs in .NET integration tests with a custom HttpMessageHandler, including success, error, and not-found response scenarios.
-
How to Mock External HTTP APIs in .NET Integration Tests
C# Corner - Nidhi Sharma Issue #569
Learn how to mock external HTTP APIs in ASP.NET Core integration tests by replacing HttpMessageHandler for typed HttpClient instances in WebApplicationFactory.
-
How to Use ETags in ASP.NET Core to Prevent Users from Overwriting Each Other’s Changes
C# Corner Issue #568
Learn how to use HTTP ETags, If-Match headers, and EF Core rowversion tokens in ASP.NET Core APIs to detect concurrent edits and prevent lost updates.
-
Designing APIs for AI agents: your API has a new user
elmah.io Blog - .NET Technical tutorials/guides and new features - Ali Hamza Ansari Issue #568
AI agents are a new kind of API consumer: they call endpoints, retry requests, and chain multi-step workflows on their own. This post covers practical ASP.NET Core patterns for building agent-ready AP...
-
Resolving Common Pitfalls in ASP.NET Core Hybrid Projects: APIs, HTML Redirects, and Decimal Parsing
C# Corner - Sardar Mudassar Ali Khan Issue #566
-
Data API builder 2.1.5: JSON and Vector Data Type Support, and More
Microsoft Dev Blogs - Carlos Robles Issue #565
Data API builder (DAB) 2.1.5 is now available as a stable release, and it is about meeting modern data where it lives: documents next to rows, embeddings next to both. This release brings native suppo...
-
Use ETags in ASP.NET Core to Prevent Lost Updates
C# Corner - Bhavya Singh Issue #565
Learn how to use ETags, If-Match headers, and EF Core rowversion tokens in ASP.NET Core to detect stale updates and prevent lost data changes.