frameworks
ASP.NET Core Articles, Tutorials & News
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
1458 articles Updated Page 2 of 59
Browse additional ASP.NET Core articles from the DotNetNews archive.
ASP.NET Core articles
Page 2 of 59
Newest first
-
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…
-
From Page Refresh to fetch(): The Pre-Real-Time Era of Status Updates in ASP.NET Core
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #545
Almost every non-trivial web application eventually needs to answer a simple question: something is processing on the server, and the user needs to know when it's finished (or how far along it is). Ge...
-
What is middleware in ASP.NET Core and the gotchas
Round The Code Issue #543
Learn what middleware is in ASP.NET Core, how to write your own, and the gotchas around calling next, and changing the response after it starts.
-
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...
-
SignalR Is Not Just a WebSocket Frame
Medium Issue #542
Building the DevTools panel I wanted while debugging ASP.NET Core SignalR applications
-
How to Automate Versioning in a Razor Pages Application
Medium Issue #541
As the first step, you need to add the “MinVer” nuget package into your project.
-
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...
-
Using multiline Parameters for Aspire and ASP.NET Core with user secrets and Azure default deployments
Software Engineering Issue #538
Multiple line secrets or configuration do not work in Aspire per default. An example of this is using a PEM file for certificates. This posts shows how the multiple line configuration parameters can b...
-
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—...
-
ASP.NET Core API Versioning: Why Your Old Setup Breaks in .NET 8
Medium Issue #538
API versioning becomes important as soon as an application has clients that depend on existing endpoints. You want to introduce new…
-
How Can Enterprises Secure ASP.NET Core APIs in Production?
Medium Issue #537
APIs have become the connective tissue of modern enterprise applications. They connect web and mobile applications, cloud services…
-
Who’s Asking?
Medium Issue #537
Liveness, readiness, and graceful shutdown in .NET 10, run rather than asserted. Including the green check that proves nothing.
-
️ Global Error Handling in ASP.NET Core Done Right — IExceptionHandler
Medium Issue #537
For a long time, I handled errors the same way in almost every ASP.NET Core project.
-
Send Gmail Emails from ASP.NET Core Using OAuth 2.0, Refresh Token and MailKit
C# Corner Issue #534
Learn how to send Gmail emails from ASP.NET Core using Google OAuth 2.0, refresh tokens, MailKit, MimeKit, and Gmail SMTP without storing a Gmail password.
-
ASP.NET Core 11 Static SSR: Measuring Performance and HTML Payload Size
C# Corner Issue #534
Benchmark ASP.NET Core 11 Static SSR to measure server performance, time to first byte, HTML payload size, and resource usage in web applications.
-
Passkeys in ASP.NET Core 10
C# Digest Issue #534
how registration and sign-in actually work under the hood
-
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.
-
How to Validate Configuration in ASP.NET Core
Dev Tips Issue #533
Bad configuration should crash your app at startup, not deep in a request. Learn how to validate configuration in ASP.NET Core with Data Annotations and FluentValidation, and fail fast with ValidateOn
-
Feature Flags Beyond the UI
Medium Issue #532
Before getting into the code, it’s useful to understand the request flow end to end. A client request arrives at the ASP.NET Core REST API…
-
How to Scan and Sanitize File Uploads Before Storage in ASP.NET Core
Medium Issue #532
Virus scanning a file upload can tell us whether it contains a known threat, but it doesn’t change anything about the dangerous content…
-
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 »
-
Building your first MCP server in ASP.NET Core
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #532
The Model Context Protocol (MCP) gives AI assistants a standardized way to interact with software. Learn how to construct your first MCP server in ASP.NET Core, expose C# tools using standard attribut...
-
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.
-
Distributed Tracing in ASP.NET Core: From HTTP to the Queue with OpenTelemetry
Medium Issue #531
OpenTelemetry gets the HTTP half of a distributed trace right automatically: two services, one trace, zero manual wiring. The interesting…