File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
learn-pr/aspnetcore/configure-dependency-injection Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uid: learn.configure-dependency-injection.knowledge-check
3
3
title : Knowledge check
4
4
metadata :
5
5
title : Knowledge check
6
- description : Knowledge check for ASP.NET Core depenency injection.
6
+ description : Knowledge check for ASP.NET Core dependency injection.
7
7
ms.date : 11/7/2024
8
8
author : CamSoper
9
9
ms.author : casoper
@@ -12,17 +12,17 @@ durationInMinutes: 5
12
12
quiz :
13
13
title : Check your understanding
14
14
questions :
15
- - content : " Which of the following is a true statement about dependency injection?"
15
+ - content : " Which of the following statements is true regarding dependency injection?"
16
16
choices :
17
17
- content : " Dependency injection is a design pattern that allows you to loosely couple your app's dependencies."
18
18
isCorrect : false
19
- explanation : " Incorrect. This is a true statement, but there is a better answer."
19
+ explanation : " Incorrect. This is a true statement, but there's a better answer."
20
20
- content : " ASP.NET Core comes with a built-in service container that supports dependency injection."
21
21
isCorrect : false
22
- explanation : " Incorrect. This is a true statement, but there is a better answer."
22
+ explanation : " Incorrect. This is a true statement, but there's a better answer."
23
23
- content : " ASP.NET Core's service container supports three service lifetimes: transient, scoped, and singleton."
24
24
isCorrect : false
25
- explanation : " Incorrect. This is a true statement, but there is a better answer."
25
+ explanation : " Incorrect. This is a true statement, but there's a better answer."
26
26
- content : " All of the above."
27
27
isCorrect : true
28
28
explanation : " Correct! All of the above statements are true."
You can’t perform that action at this time.
0 commit comments