Getting Instance of AuthorizationHandler without ServiceProvider

后端 未结 0 967
眼角桃花
眼角桃花 2021-01-30 17:31

In a dotnet core 3.1 Web API, I have defined an custom AuthorizationHandler. The code to register the Handler in the ConfigureServices usually looks like this:

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