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 Page 2 of 15
Browse additional ASP.NET Core Web API articles from the DotNetNews archive.
ASP.NET Core Web API articles
Page 2 of 15
Newest first
-
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.
-
Build a .NET 10 Web API - Minimal APIs, EF Core & SQL Server
Round The Code Issue #527
Build a .NET 10 Web API with Minimal APIs, Entity Framework Core and SQL Server, using Clean Architecture and FluentValidation.
-
Benchmarking .NET 11 HTTP Compression for Large JSON APIs
C# Corner Issue #526
Benchmark .NET 11 HTTP compression for large JSON APIs by measuring response size, bandwidth savings, CPU usage, latency, throughput, and compression efficiency across realistic workloads.
-
My API Test Passed. EF Core Still Run 51 Queries.
Medium Issue #526
I was working on an EF Core endpoint and noticed something I’d probably ignored plenty of times before.
-
API Versioning in ASP.NET Core - The .NET 10 Guide
codewithmukesh Issue #526
An opinionated guide to API versioning in ASP.NET Core on .NET 10: URL vs header, Asp.Versioning 10.2, Minimal APIs, OpenAPI, and field-level versioning.
-
5 Ways to Improve ASP.NET Core Web API Performance with a Real-World Example
C# Corner Issue #525
Learn five practical ways to improve ASP.NET Core Web API performance using optimized database queries, pagination, async/await, AsNoTracking, and caching for scalable applications.
-
Testing .NET 11 DNS APIs Under Real Failover Conditions
C# Corner Issue #523
Test the new .NET 11 DNS APIs under realistic failover conditions, measuring DNS resolution latency, caching behavior, recovery time, and service-discovery reliability.