-
Hi, I need to proxy login request and transform the response:
I have been successful with the What is my best option here?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Triage: This looks like general DI scoping problem -- can happen even if you have middleware and you need |
Beta Was this translation helpful? Give feedback.
-
Possible, yes, but there is a lot behind the minimal APIs required to make it work. I'm not sure if that is worth it for this scenario. |
Beta Was this translation helpful? Give feedback.
Triage: This looks like general DI scoping problem -- can happen even if you have middleware and you need
DbContext
there.We think that getting it manually is probably best. It should be documented somewhere in ASP.NET docs.
@halter73 @davidfowl any thoughts here?