9 posts about C# security by 8 contributors.
Know C# security? Share what you know with developers who are learning it.
Learn how to review AI-generated C# and ASP.NET Core code for SQL injection, missing authorization, exposed secrets, unsafe inputs, and other security risks before merging.
Learn the difference between authentication and authorization with simple examples, ASP.NET Core code, JWT, roles, permissions, and 401 vs 403 status codes.
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.
Master .NET application security. Learn how attackers weaponize TOCTOU file system race conditions (CWE-367) and how senior architects patch them using deterministic memory snapshots and the Acquire-Check-Use pattern.
Learn how to generate OTP (One-Time Password) in C# using both basic and secure methods. Implement secure authentication and verification in your applications.
Learn how to security-test ASP.NET Core applications with static and dependency scans, secure configuration, security headers, input validation, file-upload checks, CSRF protection, and integration tests.
Enhance C# application security! Learn best practices for authentication, authorization, data protection, and more. Secure your ASP.NET Core apps now!
Learn how to convert a password string to and from hexadecimal in C# by converting characters through their ASCII values.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article