In a previous video, you have a class being passed to the api RegisterUser when contains the user email, user name and user password. When you add these items to the database the password is hashed. My question is this, should the password not be hashed prior to getting to the api? If request is coming from an mobile application, should the password have a hash prior to being sent to the web api? I have read yes and doens't matter if its going across HTTPS. If you should hash prior do have recommendations of what hash and how the process works being the password would be hashed again by identity framework
Could you please tell me ,Which recorder do you use for recording these videos actually our normal screen recorder doesn't work for showing the output?
When I ran the code, the system noticed that this command was faulty: client.Connect(_emailConfig.SmtpServer, _emailConfig.Port, true) -> Value cannot be null. (Parameter 'host')
To get around the CS0120 on Configuration.GetSection: //Add Email Configs var emailConfig = builder.Configuration .GetSection("EmailConfiguration") .Get(); builder.Services.AddSingleton(emailConfig);