frameworks
ASP.NET Core Articles, Tutorials & News
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
1533 articles Updated Page 4 of 62
Browse additional ASP.NET Core articles from the DotNetNews archive.
ASP.NET Core articles
Page 4 of 62
Newest first
-
Building an Agentic System in .NET, Part 5: Designing an Agent Bus in ASP.NET Core
Medium - Mehdi Mohseni Issue #559
Multi-agent systems fail in boring ways: two agents claim the same task, a disconnected agent misses its hand-off, a heartbeat proves the…
-
Multi-tenant reporting in ASP.NET Core: row-level security your users can’t bypass
Medium - Dotnet Report Builder Issue #559
By Razi Syed. Sample code for this article: github.com/dotnetreport/dotnetreport-multitenant-rls
-
Boosting ASP.NET Core Performance: A Guide to Read-Only EF Core Queries
Medium - Rakibul H. Rabbi Issue #558
When building ASP.NET Core applications, it’s common to have multiple database contexts. You might have one for your main application…
-
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
-
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.
-
Experimental support for Device Bound Session Credentials (DBSC) in ASP.NET Core: Exploring the .NET 11 preview - Part 8
Andrew Lock | .NET Escapades Issue #554
In this post I look at the new experimental support for DBSC provided by the Microsoft.AspNetCore.Authentication.DeviceBoundSessions package
-
Real-Time at Last: SSE and SignalR in ASP.NET Core
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #554
In Part 1, we walked through the pre-real-time era of server status updates: full page refresh, XMLHttpRequest, Ajax and fetch(), and short/long polling. What all of that machinery was really reaching...
-
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.
-
CORS in ASP.NET Core (.NET 10) - Cross-Origin Done Right
codewithmukesh Issue #552
Configure CORS in ASP.NET Core .NET 10. Preflight, named policies, the AllowAnyOrigin + AllowCredentials trap, 7 misconfigurations, and a production checklist.
-
23 GoF Design Patterns — Part 1: Creational and Structural Patterns
Medium - Pavan pitthdiya Issue #551
If you have been working with C# or ASP.NET Core for some time, you have probably heard terms like:
-
Interfaces vs Abstract Classes in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #551
Interfaces are everywhere in real ASP.NET Core code — IOrderService, ILogger, IRepository — and this topic is also where everything from…
-
Add self-service ad hoc reporting to an ASP.NET Core app (without writing every report yourself)
Medium - Dotnet Report Builder Issue #550
By Razi Syed. Sample code: github.com/dotnetreport/dotnetreport-aspnetcore-quickstart
-
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 ...
-
Why ViewModels Matter in ASP.NET Core Web Apps
Medium Issue #548
If you’ve spent any time building ASP.NET Core MVC or Razor Pages applications, you’ve probably run into a moment where you’re tempted to…
-
.NET 10 MCP Authentication: How OpenCode Uses a Bearer Token with ASP.NET Core MCP Server
Medium Issue #548
In the previous post, I already made .NET 10 ASP.NET Core support MCP, and OpenCode could directly call UpdateHoroscope to update the…
-
Mastering the Decorator Pattern in ASP.NET Core applications
Medium Issue #547
Add caching, logging, or retry to a service without touching the service — wrap it. The decorator pattern in ASP.NET Core, made painless…
-
Protecting File Access in the wwwroot Folder in ASP.NET
Rick Strahl's Weblog Issue #547
In many of my applications I have a few files that are dynamically created as part of administrative tasks. These files tend to be cumulative and contain data that can be accessed directly from the fi...
-
Authentication in ASP.NET Core
Medium Issue #546
A deep-dive walkthrough of authentication in ASP.NET Core — covering the ClaimsPrincipal/ClaimsIdentity model everything else builds on…
-
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 ...
-
Validation improvements in ASP.NET Core
Medium Issue #545
The validation pipeline is now asynchronous, so you can inject dependencies and await DB calls directly in a validation attribute.