apis
ASP.NET Core Web API Articles, Tutorials & News
ASP.NET Core Web API articles, tutorials, and news from the DotNetNews archive.
373 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
-
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…
-
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 »