ASP.NET Core Articles, Tutorials & News
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
1213 articles Updated Page 27 of 49
ASP.NET Core articles, tutorials, and news from the DotNetNews archive.
ASP.NET Core articles
Page 27 of 49
Newest first
-
Untangling .NET, .NET Core, ASP.NET, and ASP.NET Core (Without the Confusion)
medium.com 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
milanjovanovic.tech 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.com 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-sharpcorner.com 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.com Issue #292
Unit testing for a .NET Web API project.
-
Background Services in .NET: IHostedService vs Worker Service
medium.com 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
damienbod.com 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.com 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.com 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-sharpcorner.com 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-sharpcorner.com 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-sharpcorner.com 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.com 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-sharpcorner.com 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-sharpcorner.com 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.com 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.com Issue #289
Structuring Your Applications for Clarity, Maintainability, and Scale
-
Build Master-Detail Pages in ASP.NET Core MVC — Part 4
bipinjoshi.net 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-sharpcorner.com 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.com Issue #288
Introduction to Health Checks in ASP.NET Core — Why monitoring endpoints matters for modern APIs.
-
Preventing Path Traversal and Directory Browsing Attacks in ASP.NET Core
c-sharpcorner.com Issue #288
Protect your ASP.NET Core applications from path traversal and directory browsing attacks! Learn practical mitigation strategies, including disabling directory browsing, sanitizing file paths with Pat...
-
Model Binding and Model Validation in ASP.NET Core MVC?
c-sharpcorner.com Issue #288
Unlock the power of ASP.NET Core MVC with Model Binding and Model Validation! Learn how to automatically map HTTP request data to your models and ensure data integrity. Discover how data annotations a...
-
Dependency Injection in .NET: The Career-Level Deep Dive That Will Make You Nail Any Interview
blog.stackademic.com Issue #287
There’s one interview question that keeps haunting .NET developers: Continue reading on Stackademic »