Security has to be designed in. It cannot be bolted on afterward. These guides explain how authentication and authorization work in ASP.NET Core, how to choose between ASP.NET Core Identity, Microsoft Entra ID and other identity providers, and how to apply OpenID Connect and JWT correctly.

You will also learn how the OWASP Top 10 risks map to concrete .NET mitigations, how to manage secrets with user secrets, Azure Key Vault and managed identities, and how to use the cryptography and Data Protection APIs without the common mistakes that lead to breaches.

Intermediate

OWASP Top 10 for .NET Developers

A code-first tour of the OWASP Top 10:2025 risks, with concrete ASP.NET Core, EF Core and C# mitigations for access control, injection and more.

17 min read