I am working on an asp.net MVC web application, and inside my code i am sending email using an SMTP server, and to do so i need to pass the username and password. currently i have the password inside my code, but i am not sure what is the best place to store the password inside asp.net core MVC ? For example inside the appsettings.json or inside the database?
↧