Caching ApplicationContext.GetRequiredService<IDataPortal<ChildWidget.Factory>> #3147
Unanswered
michaelcsikos
asked this question in
Questions
Replies: 1 comment
-
I think that should be fine as long as the cache doesn't extend outside the current DI scope. In other words, you can't cache it in a static, but you can probably cache it in a local variable within the data portal operation method. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a
BusinessListBase
is it OK to cache theIDataPortal<ChildWidget.Factory>
instead of creating a new instance every time a child is created?Beta Was this translation helpful? Give feedback.
All reactions