ASP.NET Core & Web API (50 Qs)•Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)
What is Data Protection API (DPAPI) in ASP.NET Core?
senior LevelSystem DesignHTTP & REST APIs
In Simple Words: Provides cryptographic APIs for protecting sensitive data at rest (cookie encryption, anti-forgery tokens, password reset tokens):
- Automatically manages cryptographic key generation and rotation.
- In multi-pod production environments, keys must be persisted to a shared location (Redis or Azure Blob) and protected with a master key (Azure Key Vault or AWS KMS).