Chapter 1
- What are the benefits of dependency injection?
It allows better separation of the interface and the actual implementation and lets us change the implementation at any time. It also recursively injects all required dependencies.
- What are environments?
A named set of startup values.
- What does MVC mean?
Easy peasy: model-view-controller!
- What are the supported lifetimes in the built-in dependency injection container?
Transient (a new instance is created every time), Scoped (a new instance is created on each HTTP request and always returned), and Singleton (a single instance is created).
- What is the difference between .NET Core and .NET Standard?
.NET Standard is just a standard set of APIs that is implemented ...