apis
REST API Development in C# Articles, Tutorials & News
REST API Development in C# articles, tutorials, and news from the DotNetNews archive.
150 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 6
Newest first
-
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.
-
Test Apigee Proxies Locally Before Deploying Them to Google Cloud
C# Corner - Nidhi Sharma Issue #561
-
Launching Calcifer 2.0:
Medium - Rakibul H. Rabbi Issue #560
Every new API starts with the same chores.
-
Step-by-Step Guide to Create Your First Dataverse Custom API
C# Corner - Arun Potti Issue #559
-
Committed but Unconfirmed: Handling a Lost Response After a Successful Save
C# Corner - dhana gani Issue #558
-
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.
-
The Day One Downstream API Took Down Our Service
Medium - Anirban Banerjee Issue #554
It started with a few slow API calls.
-
Swagger vs. Scalar: A comparison for ASP.NET Core developers
elmah.io Blog - .NET Technical tutorials/guides and new features - Ali Hamza Ansari Issue #550
Swagger UI used to ship by default with ASP.NET Core API projects, but recent .NET versions replaced it with a bare OpenAPI document. This post compares Swagger and Scalar as documentation UIs, walks ...
-
Avoid API Breaking Changes
codeopinion.com Issue #549
Have you ever changed your backing data model and then all of a sudden all your clients explode? It’s not because you broke your code. You broke your contract. Most times API breaking changes occur be...
-
Building More Resilient ASP.NET Core Applications with Http.Resilience
Medium Issue #545
When your ASP.NET Core application depends on external APIs, temporary failures are inevitable — network glitches, timeouts, 5xx responses…
-
GraphQL for Beginners
C# Corner Issue #544
Learn GraphQL for beginners by comparing it with REST and gRPC, understanding queries, mutations, subscriptions, schemas, over-fetching, under-fetching, N+1 queries, and practical API use cases.
-
Building Apps That Live Inside Someone Else’s Software
Medium Issue #542
What we learned building inside Reapit’s AppMarket