.net 8.0 Service: Do not call GetAuthenticationStateAsync outside of the DI scope for a Razor component #4088
-
I am working with Scoped Services that retrieve information using CSLA Business Objects. After upgrading to version 8.2.5, I encountered the following error:
I noticed that this issue might have been addressed in #3614 , but it still persists for me with the following configuration:
Can someone provide guidance on the proper configuration needed to call a CSLA Business Object from a Service within a Razor component? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hmm. The issue in #3614 was with |
Beta Was this translation helpful? Give feedback.
Hmm. The issue in #3614 was with
UseInMemoryApplicationContextManager = false
. I didn't retest it with this configuration, but I guess I should have 😔