asp.net core 5, get current user in scoped service (using cookie auth)

后端 未结 0 558
生来不讨喜
生来不讨喜 2021-01-20 10:36

I have registered a scoped service that opens database connections.

  services.AddSingleton();
  services.AddScoped

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题