ANKO Code Academy
AI-Native Coding Learning Platform
Courses
Labs
Discussions
quiz
EF Core Fundamentals - Final Assessment
Question 1 of 15
Score: 0/15
What is the recommended lifetime for DbContext in an ASP.NET Core application?
Singleton - one instance for the entire application
Transient - a new instance every time it is injected
Scoped - one instance per HTTP request
Static - shared globally across all threads
Check Answer
Previous
Finish