Skip to content

DbContext if long time request #27903

Answered by WeihanLi
sneltyn asked this question in Q&A
Nov 17, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Create the dbContext only when you need, reduce the scope of the dbContext and dispose it in time if possible

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sneltyn
Comment options

Answer selected by sneltyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants