The EnableSensitiveDataLogging method can be used to tell EF to log sensitive values. This can be helpful during development and debugging. enabling this in production can expose sensitive data, so you need to be cautious about where and when you use it.
Table of contents
Enabling EnableSensitiveDataLogging in the DbContext OnConfiguring methodEnabling EnableSensitiveDataLogging in ASP.NET DI ConfigureServices methodEnabling EnableSensitiveDataLogging for a standalone DbContextYou might also be interested in...Sort: