frameworks
ASP.NET Core Articles, Tutorials & News
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
1441 articles Updated Page 36 of 58
Browse additional ASP.NET Core articles from the DotNetNews archive.
ASP.NET Core articles
Page 36 of 58
Newest first
-
5 Traps That Break .NET Background Services in Production (and How to Fix Them)
Medium Issue #295
Five production traps with .NET BackgroundServices — and the patterns that kept them from silently killing our system.
-
Visual Studio Dev Tunnels: Built-In Power and When to Use Third-Party Tools
Medium Issue #294
When you’re building and debugging an API or web app in Visual Studio, you often hit the same wall:
-
⚡ CancellationToken: .NET’s Most Overlooked Superpower
Medium Issue #294
Imagine this: your .NET web API starts a heavy data-processing task. Then the user closes their browser or the request times out…
-
Untangling .NET, .NET Core, ASP.NET, and ASP.NET Core (Without the Confusion)
Medium Issue #294
When I first stumbled across .NET, I honestly thought it was just another programming language like Java or Python. Then I ran into terms…
-
Building Secure APIs with Role-Based Access Control in ASP.NET Core
Milan's .NET Weekly Issue #294
Learn how to implement Role-Based Access Control (RBAC) in ASP.NET Core with custom authorization handlers, permission-based policies, and clean extension methods for both Minimal APIs and MVC control...
-
5 Traps That Break .NET Background Services in Production (and How We Fixed Them)
Medium Issue #293
Five production traps with .NET BackgroundServices — and the patterns that kept them from silently killing our system.
-
How to Restrict API Calls in ASP.NET Core Using Action Filters and Middleware
C# Corner Issue #293
This article demonstrates how to implement age-based restrictions on specific endpoints with Action Filters and application-wide blacklist checks using Middleware. Learn to control access, enhance sec...
-
ASP.NET Community Standup - Vibe coding a C# MCP server
YouTube Issue #292
Unit testing for a .NET Web API project.
-
Background Services in .NET: IHostedService vs Worker Service
Medium Issue #292
IHostedService vs Worker Service: A Detailed Guide for .NET Developers to Choose the Right Background Service Approach.
-
Implement a secure MCP server using OAuth and Entra ID
Software Engineering Issue #292
The article shows how to implement a secure model context protocol (MCP) server using OAuth and Entra ID. The MCP server is implemented using ASP.NET Core and uses Microsoft Entra ID to secure the API...
-
Mastering Logging in .NET with Serilog -Part 1
Medium Issue #291
Logging is often underestimated until you hit your first production issue. At that moment, you realize how much reliable logs can save…
-
Global Error Handling in ASP.NET Core: From Middleware to Modern Handlers
Medium Issue #291
Let’s talk about something we all deal with but often put off until the last minute — error handling in our ASP.NET Core apps.
-
Penetration Testing Basics for ASP.NET Core Web Applications
C# Corner Issue #291
Secure your ASP.NET Core web applications with this practical guide to penetration testing. Learn essential techniques, from reconnaissance to reporting, with C# examples. Discover how to identify vul...
-
Protecting Background Jobs and Scheduled Tasks from Abuse in ASP.NET Core
C# Corner Issue #291
This article explores common threats like job injection, privilege escalation, and resource abuse. Learn practical strategies for robust protection, including secure scheduling interfaces, input valid...
-
12 Hours Gone: The .NET Middleware Trap Every Developer Should Fear
blog.stackademic.com Issue #291
Learn the subtle execution order pitfall that silently breaks APIs, wastes precious time, and how you can bulletproof your code against it. Continue reading on Stackademic »
-
The Harsh Truth: 5 Reasons Your .NET Hosting Code Is Sloppy
blog.stackademic.com Issue #290
From DI misuse to broken shutdown hooks, here’s how to clean up your hosting game like a pro. Continue reading on Stackademic »
-
How to Perform Security Testing on ASP.NET Core Applications
C# Corner Issue #290
Comprehensive guide to ASP.NET Core security testing, covering static analysis, dependency scanning, secure configuration, and dynamic testing. Learn to implement security headers, validate inputs, ha...
-
Elegant Global Error Handling Using Middleware In .NET 9
Medium Issue #290
Global error handling is critical for creating robust, secure, and maintainable .NET applications. .NET 9 provides multiple sophisticated…
-
API Versioning in .NET Core: A Complete Guide
C# Corner Issue #290
Evolve your .NET Core APIs gracefully with versioning! This article explores strategies like URL, query string, and header versioning using Microsoft's library. Learn to maintain backward compatibilit...
-
ASP.NET Core Application Lifecycle
C# Corner Issue #290
Explore the ASP.NET Core application lifecycle, from startup and middleware pipeline to routing, controller execution, model binding, and result execution. Understand how each stage contributes to han...
-
How To Add Fault Handling In .NET With Polly
Medium Issue #289
Building resilient ASP.NET Core applications requires proper fault handling for transient failures, network issues, and downstream service…
-
Untangling Your Code: A Beginner’s Guide to MVC in .NET
Medium Issue #289
Structuring Your Applications for Clarity, Maintainability, and Scale
-
Build Master-Detail Pages in ASP.NET Core MVC — Part 4
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #289
In Part 2 and Part 3 of this series, we completed the implementation of the TeamsController and TeamMembersController, respectively. So far, each controller action has returned the Main view, supplyin...
-
ASP.NET Core - How to Use appsettings.json and IConfiguration
C# Corner Issue #288
This article simplifies using appsettings.json and IConfiguration to manage application settings like database connections, API keys, and logging levels. Learn how to access settings, leverage strongl...
-
Health Checks in ASP.NET Core: Building Reliable Endpoint Monitoring
Medium Issue #288
Introduction to Health Checks in ASP.NET Core — Why monitoring endpoints matters for modern APIs.