Skip to content
Discussion options

You must be logged in to vote

Yes, always better to get settings asynchronously (e.g. lazily on demand), but if you want to also use the config option pattern (as we do in some places) you have no choice.

We have an action filter that gets site settings, so most of the time we retrieve them from the cache, so no database async I/O and then no problem to get them synchronously. But yes if we use a distributed cache we may still have async I/O, but here much less prone to a dead lock, and about the DI deadlock we did a fix on our side and there is a good chance that it was also fixed in 6.0.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rjpowers10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants