ASP.NET Core Practice Test
✕
📝 ASP.NET Core Practice Tests
Authentication & Authorization
Configuration & Environments
Configuration & Logging
Dependency Injection
Entity Framework Core
Middleware & Pipeline
Middleware & Request Pipeline
Routing & Controllers
ASP.NET Core General
📖 ASP.NET Core Study Guides
ASP.NET Core Practice Test
🎥 ASP.NET Core Videos
ASP.NET Core Practice Test
☰
ASP.NET Core Practice Test
▶
ASP.NET Core Dependency Injection 2
Free · Instant Results
Which method retrieves a required service and throws if it is not registered?
A
GetRequiredService<T>()
B
GetService<T>()
C
Resolve<T>()
D
Fetch<T>()
▶ Start Practice Test