frameworks
ASP.NET Core Articles, Tutorials & News
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
1559 articles Updated Page 2 of 63
Browse additional ASP.NET Core articles from the DotNetNews archive.
ASP.NET Core articles
Page 2 of 63
Newest first
-
Handling Large File Processing Without Blocking ASP.NET Core Requests
C# Corner Issue #580
Build an ASP.NET Core file-upload workflow that stores files, creates durable processing jobs, and uses background workers to process large files without blocking HTTP requests.
-
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.
-
Our Retries Took Down the Service: Polly, Timeouts and Retry Storms in .NET
Medium Issue #579
How retry storms happen in .NET, and how to fix them with Polly v8: backoff with jitter, layered timeouts, circuit breakers and graceful…Continue reading on Coffee☕ And Code »
-
JWT Authentication in ASP.NET Core Web API (.NET 10): Identity, Refresh Tokens and a Locked MCP Endpoint
C# Corner Issue #578
Before you let AI near your API, you need to know who is asking. In this article we take an ASP.NET Core Web API (.NET 10, EF Core and PostgreSQL) that has no login at all and lock it down with ASP.NE...
-
OpenTelemetry in .NET: How to Trace Requests Across Microservices
C# Corner Issue #578
Learn how to configure OpenTelemetry distributed tracing in ASP.NET Core, instrument HTTP requests, create custom spans, and propagate trace context across microservices.
-
How to Test Webhook Delivery When the Receiver Is Temporarily Offline
C# Corner Issue #578
Learn how to test ASP.NET Core webhook delivery during receiver outages, including retries, duplicate events, timeouts, idempotent processing, and recovery.
-
.NET 10 MCP Server: 3 Methods AI Should Never Get
C# Corner Issue #578
Build a read-only MCP server in .NET 10 and ASP.NET Core that lets Claude Code or GitHub Copilot query PostgreSQL without exposing update, delete, or arbitrary SQL tools.
-
What's new in ASP.NET Core authentication in .NET 11
Personal Blog of Tore Nestenius | Insights on .NET, C#, and Software Development Issue #577
What changed in ASP.NET Core authentication, authorization and Data Protection in .NET 11 RC2 and the .NET 10 updates, found by comparing the source code.
-
How to Build AI Agents Using ASP.NET Core and Azure OpenAI?
C# Corner Issue #577
Learn how to build an AI agent API with ASP.NET Core and Azure OpenAI, including architecture, tool integration, authentication, and enterprise deployment preparation.
-
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.
-
Custom Validation Messages in .NET 11 With DataAnnotations
C# Corner Issue #575
Learn to customize DataAnnotations validation messages, use placeholders and display names, and apply reusable validation rules in .NET and ASP.NET Core APIs.
-
C# 15 Union Types for API Results: Examples, Trade-Offs, and Migration
Medium Issue #574
Learn how C# 15 union types simplify ASP.NET Core API results, compare with existing C# patterns, and help you decide when to adopt them.Continue reading on Syncfusion »
-
How to Prevent Duplicate API Requests in ASP.NET Core Using Idempotency Keys
C# Corner Issue #574
Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, request validation, stored responses, and SQL Server persistence.
-
How to Return Large JSON Responses in ASP.NET Core Without Loading Everything into Memory
C# Corner Issue #574
Learn how to stream large JSON responses in ASP.NET Core with Utf8JsonWriter and IAsyncEnumerable to reduce memory usage when exporting database records.
-
Understanding ASP.NET Core Web APIs
Medium Issue #574
When we use a website, we interact with a user interface built with technologies such as HTML, CSS, and JavaScript. But behind the scenes…
-
Beyond Convention-Based Middleware: Mastering Factory-Based IMiddleware in ASP.NET Core
Medium Issue #573
In ASP.NET Core, middleware forms the core processing pipeline for every incoming HTTP request. Whether you are handling authentication…
-
How to Run Background Tasks in ASP.NET Core Without Blocking Requests
C# Corner Issue #573
Learn how to run managed background tasks in ASP.NET Core using BackgroundService, hosted services, and Channel-based queues without blocking API requests.
-
ASP.NET Core Output Caching vs. Response Caching: Which One Should You Use?
C# Corner Issue #573
Compare ASP.NET Core Output Caching and Response Caching, including setup, HTTP cache headers, server-side reuse, and guidance for choosing the right approach.
-
Localize Minimal API Validation Messages in .NET 11
Khalid Abuhakmeh Issue #573
ASP.NET Core 11 localizes Minimal API validation messages. Wire up AddValidation and AddLocalization, add resx files, and return errors per culture.
-
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 Passkey Login to an ASP.NET Core Application
C# Corner Issue #572
Learn how to configure and register passkeys in an ASP.NET Core Identity application using .NET 10, WebAuthn, and passwordless authentication practices.
-
How to Secure File Uploads in ASP.NET Core by Checking File Signatures
C# Corner Issue #572
Learn how to secure ASP.NET Core file uploads by validating file signatures, enforcing allowlists and size limits, and safely handling uploaded files.
-
How to Diagnose Memory Leaks in ASP.NET Core Applications in Production
C# Corner Issue #572
Learn how to distinguish normal memory growth from leaks in ASP.NET Core, monitor runtime metrics, collect memory dumps, and identify retained objects in production.
-
How to Add Health Checks to an ASP.NET Core Application
C# Corner Issue #571
Learn to add ASP.NET Core health checks, verify SQL Server connectivity, and expose separate liveness and readiness endpoints for production monitoring.
-
How to Use CancellationToken in ASP.NET Core Without Leaving Work Running
C# Corner Issue #571
Learn how to use CancellationToken in ASP.NET Core to stop unnecessary work when requests are aborted, including cancellation in EF Core queries and HttpClient calls.