In your new job, you're asked to ensure that user passwords are at least 8 characters long. Where in the ASP.NET Core Identity would you set this requirement?

  • IdentityOptions
  • Startup.cs
  • AccountController.cs
  • UserManager
In ASP.NET Core Identity, you can set password requirements like length using the IdentityOptions configuration in the Startup.cs file. This allows you to enforce policies such as minimum password length, special characters, and more.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *