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 4 of 23
Browse additional ASP.NET Core and .NET Security articles from the DotNetNews archive.
ASP.NET Core and .NET Security articles
Page 4 of 23
Newest first
-
C# 15 Unsafe Model: Auditing Existing Native Interop Code for .NET 11
C# Corner Issue #532
Learn how to audit existing C# native interop and unsafe code for C# 15 and .NET 11, focusing on compatibility, safety, migration risks, and best practices.
-
Stop ignoring API failures. Use Polly
Round The Code Issue #530
API calls fail. Learn how to add Polly to an ASP.NET Core Web API to handle retries, circuit breakers and timeouts.
-
How to implement HMAC authentication in ASP.NET Core - InfoWorld
infoworld.com Issue #530
How to implement HMAC authentication in ASP.NET Core InfoWorld
-
Fixing .NET SslException on Linux Container
Network Programming in .NET Issue #529
.NET 8 / C# LINUX / OPENSSL GOOGLE CLOUD RUNFixing .NET SslException on Linux ContainerDeployments: The ‘RequireEncryption’ Policy PitfallAuthor: DevOps & Software Architecture Engineering Category: T...
-
NuGet Package Source Mapping: Preventing Dependency Confusion in .NET
C# Corner Issue #529
Learn how NuGet Package Source Mapping prevents dependency confusion attacks in .NET applications by controlling package sources and securing software supply chains.
-
Use Aspire to implement and deploy the BFF security architecture
Software Engineering Issue #527
This blog demonstrates how to use Aspire to set up a solution for developing and deploying an ASP.NET Core web application with Auth0 as the identity provider and a downstream API. The application use...
-
The Lazy Engineer’s Blueprint, Part 7: Security
Medium Issue #526
Part 7: authenticate a person or a machine, project the caller into a module without the host, and authorize with policies off the handler.
-
Security Headers and CSP for Blazor: One Middleware, Every Host
Medium Issue #526
Every client-facing host must stamp the same hardened response headers, but a Blazor host needs a Content-Security-Policy no static string…
-
Building a Reliable and Scalable AI-Powered ATS with .NET and Angular
C# Corner Issue #525
Explore how to build a reliable and scalable AI-powered ATS with .NET and Angular, covering AI integration, security, observability, asynchronous processing, and human oversight.
-
Stopping copy-paste of Frontegg auth across 15 .NET services
Medium Issue #525
We had a simple goal: around a dozen .NET applications on our platform needed to integrate with Frontegg, and nobody wanted to implement…
-
Building Reproducible .NET Builds with Locked Dependency Graphs
C# Corner Issue #525
Build reproducible .NET applications with locked dependency graphs to control transitive packages, prevent unexpected dependency changes, and improve build integrity across environments.
-
CodeAct + Hyperlight: Sandboxed Code Execution in the Microsoft Agent Framework
Medium Issue #525
What happens when you stop handing your agent ten tools and start letting it write the code itself — and where that code actually runs.
-
Field-Level Encryption in EF Core: AES-GCM for PII Columns
Medium Issue #524
Transparent database encryption protects the file, then decrypts for anyone who can query it. When a column holds data sensitive enough…
-
Managing Secrets in Microsoft Agent Framework
YapCast – Jesse Liberty Issue #524
In the realm of software development, managing configuration values and sensitive information is a critical aspect that can significantly impact the security and functionality of applications. Develop...
-
Building Scalable Enterprise Architectures with the Backend for Frontend (BFF) Pattern in C#
C# Corner Issue #524
Unlock scalable enterprise architectures with the Backend for Frontend (BFF) pattern in C#. Optimize performance, security, and client experience.
-
CSP Nonces vs Hashes: Lessons I Learned Securing an ASP.NET Core Application
C# Corner Issue #524
Master CSP nonces vs hashes for ASP.NET Core security. Learn when to use each to prevent XSS and secure your application effectively.
-
C# 15 Memory Safety: Auditing Unsafe Code Contracts
C# Corner Issue #523
C# 15 enhances memory safety by making unsafe code boundaries explicit, shifting focus from pointer syntax to actual memory access for better auditing.
-
Detecting .NET Security Regressions Before Production Deployment
C# Corner Issue #522
Create a CI/CD security regression gate for .NET applications that validates runtime and framework updates before deployment and detects security issues early.
-
Auditing AI-Generated C# for Unsafe Code Contracts
C# Corner Issue #522
Audit AI-generated C# unsafe code. C# 15's new model clarifies safety contracts, making review critical for pointer, stackalloc, and interop code.
-
REST API Security Best Practices in ASP.NET Core
Medium Issue #521
It does not matter how clean your architecture is or how fast your queries run — if an attacker can read another user’s orders or forge a… Continue reading on CodeX »
-
Securing ZIP-Based .NET Applications with Password-Protected Archives
C# Corner Issue #521
Explore password-protected ZIP archives in .NET and learn how to securely package, transfer, and protect application data using the latest ZIP security capabilities.
-
Your .NET API Works. But Is It Actually Production-Ready?
Medium Issue #521
A practical guide to taking an ASP.NET Core API from “it works on my machine” to something you can confidently deploy.
-
Building Secure and Scalable Multi-Tenant SaaS Applications with .NET and Angular
C# Corner Issue #520
Learn how to build secure and scalable multi-tenant SaaS applications with .NET and Angular, covering tenant isolation, database architecture, authentication, scalability, monitoring, and DevOps.
-
Modern authentication in ASP.NET Core with 2FA and passkey
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #519
This walkthrough builds a .NET 10 ASP.NET Core Web API (TwoFaNET10) implementing two-factor authentication and WebAuthn/FIDO2 passkey login, using Microsoft.AspNetCore.Identity.EntityFrameworkCore wit...
-
Implementing JWT Authentication with Secure Refresh Tokens in .NET Core
C# Corner Issue #519
Implement secure JWT authentication with refresh tokens in .NET Core. Learn to generate, validate, and refresh tokens for stateless API security.