Skip to content

Performance issue when login is called.  #10

Description

@Amit1150

I tried your method. Now when I'm trying to login using username and password then FindByIdAsync method is getting called many times (more that 5-6 times). which is causing slow performance.

this is how I'm calling sign in method.

 SignInStatus result =
               await SignInManager.PasswordSignInAsync("Amit","123456", false, false);

And also it is hitting database for every single info (when It has already fetched user from db in FindByIdAsync). like

  • GetPasswordHash
  • HasPasswordAsync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions