Questions
- Which of the following is not a framework service?
a.
IConfiguration
b.
IApplicationBuilder
c.
IWeatherService
d.
IWebHostEnvironment
- True or false: DI is one of the mechanisms to achieve IoC?
a. True
b. False
- True or false: An injected service can depend on a service that has a shorter life span than its own?
a. True
b. False
- Which of the following is not a valid lifetime scope of ASP.NET Core 5 IoC Container?
a. Scoped
b. Singleton
c. Transient
d. Dynamic