security
ASP.NET Core and .NET Security Articles, Tutorials & News
ASP.NET Core and .NET Security articles, tutorials, and news from the DotNetNews archive.
562 articles Updated Page 14 of 23
Browse additional ASP.NET Core and .NET Security articles from the DotNetNews archive.
ASP.NET Core and .NET Security articles
Page 14 of 23
Newest first
-
.NET and .NET Framework November 2025 servicing releases updates
Microsoft Dev Blogs Issue #327
Welcome to our combined .NET servicing updates for November 2025. Let's get into the latest release of .NET & .NET Framework, here is a quick overview of what's new in our servicing releases: Secu...
-
The EF Core Trick That Automatically Secures Your Data
Medium Issue #327
Why Your Database Queries Are Probably Leaking Data
-
How to Encrypt PAN in JavaScript and Decrypt in C#
C# Corner Issue #326
Secure sensitive data like PAN by encrypting it client-side with CryptoJS, decrypting server-side in C#, and preventing storage in ViewState. Protect data in transit and at rest.
-
Security layers in .NET9: Harmonizing JWT, OAuth2, and the API Gateway
javascript.plainenglish.io Issue #326
Security becomes manageable when each component has a well-defined job Continue reading on JavaScript in Plain English »
-
ASP.NET Core REST API Best Practices: The 2025 Developer’s Guide
Medium Issue #324
Learn ASP.NET Core REST API best practices for 2025. Master HTTP methods, status codes, JWT auth, versioning & pagination.
-
How to Secure Your .NET APIs with OAuth2 and IdentityServer — Without the Headache
Medium Issue #324
If you’ve ever tried securing a .NET API using OAuth2, you already know how quickly things can spiral from “simple auth” to a rabbit hole…
-
Key Innovations in ASP.NET Core 9 (and beyond)
C# Corner Issue #323
Explore ASP.NET Core 9's key innovations: static asset optimization, enhanced Minimal APIs, Blazor improvements, security, and performance boosts for modern web apps.
-
GitHub Profile Setup and Security
C# Corner Issue #322
Secure your GitHub! This guide covers enabling 2FA with authenticator apps and creating a personalized profile README to showcase your skills and projects. Make a great first impression!
-
Understanding the worst .NET vulnerability ever: request smuggling and CVE-2025-55315
Andrew Lock | .NET Escapades Issue #319
In this post I discuss request smuggling, the recent vulnerability in ASP.NET Core with a severity score of 9.9, and how attackers could exploit it
-
Dubious security vulnerability: Denial of service by loading a very large file
Microsoft Dev Blogs Issue #318
A denial of service vulnerability report was filed against a program, let's call it Notepad. The actual text of the report was very hard to understand because the grammar was all messed up. I'll give ...
-
Simple Image Uploads in a React & .NET Application
Medium Issue #317
And the API credibility & security concerns you must consider.
-
.NET Secrets Management with Azure App Configuration & Key Vault
blog.yaseerarafat.com Issue #315
Ensure Secure, Scalable, and Resilient Secret Management Across All Environments and Regions in .NET
-
Managing Permissions with EF Core Migrations (Part 2): A No-Nonsense Guide That Actually Scales
Medium Issue #315
If you want the full source code, join our community: Here
-
Implementing a Custom Authorization Handler in .NET
Medium Issue #313
If you want the full source code, join our community: Here
-
ASP.NET Core Advanced Authorization: Policy-Based Security & Resource Protection Guide (Part-14 of 40)
C# Corner Issue #313
Unlock robust ASP.NET Core application security with advanced authorization techniques! This guide delves into policy-based security, resource protection, and custom authorization requirements. Learn ...
-
Passwordless Authentication with Microsoft Authenticator App
C# Corner Issue #313
This article details how to implement passwordless authentication using the Microsoft Authenticator app with Entra ID. Learn to enable this secure, user-friendly sign-in method, eliminating password-r...
-
Module 16 of 40 : ASP.NET Core Middleware Mastery: Custom Logging, Auth & Pipeline Control
C# Corner Issue #313
Master ASP.NET Core middleware! This comprehensive guide covers custom logging, authentication, error handling, and pipeline optimization. Learn to build robust and efficient web applications with rea...
-
Announcing the .NET Security Group - .NET Blog
Microsoft Dev Blogs Issue #311
Learn how to join the .NET Security Group for early access to CVE information and help deliver security patches to your .NET distribution simultaneously with Microsoft.
-
JWT Authentication Ninja: Complete ASP.NET Core Security Guide with Refresh Tokens & Claims (Part-12 of 40)
C# Corner Issue #310
Master ASP.NET Core security with this comprehensive JWT authentication guide! Learn to implement robust security measures, including refresh tokens, role-based authorization, password policies, rate ...
-
Integrating Visa CyberSource in .NET: A Practical Guide
blog.yaseerarafat.com Issue #309
Learn how to integrate Visa CyberSource in .NET for secure, seamless payment processing with best practices…
-
ASP.NET Core Identity Unleashed: Complete Guide to Registration, Roles, 2FA & Security (Part 13 of 40)
C# Corner Issue #308
Unlock the full potential of ASP.NET Core Identity with this comprehensive guide! Master user registration, role-based authorization, claims, and 2FA. Learn to implement secure identity systems with p...
-
ASP.NET Core APIs, validation, and design patterns
DotNetNews Issue #307
A varied .NET roundup covering API design, validation, EF Core, Redis caching, Aspire, security, and newer C# and .NET 9 guidance.
-
How to Disarm and Reconstruct Files in C#
Medium Issue #306
In this brief article, we’ll provide context for Content Disarm and Reconstruction (CDR) file sanitization in threat scanning workflows…
-
Built-in Security in ASP.NET Core
C# Corner Issue #306
This article dives into authentication, authorization, data protection, HTTPS enforcement, CSRF/XSS protection, and more. Learn how ASP.NET Core's middleware and integrated tools empower developers to...
-
🚪 Azure Bastion: The Hidden Hero for Secure VM Access
C# Corner Issue #306
Secure your Azure VMs with Azure Bastion! This often-overlooked service provides secure RDP/SSH access directly from the Azure portal via SSL, eliminating the need for public IPs and open inbound port...