Questions

The following questions will allow you to consolidate the information contained in this chapter:

  1. If you are not sure what type of service lifetime to use, which type is it best to register a class as? Why?
  2. In .Net Core ASP.Net solutions, is a Scope defined per web request, or per session?
  3. Does registering a class as a Singleton in the .Net Core DI framework make it thread-safe?
  4. Is it true that the .Net Core DI framework can only be replaced with other Microsoft-supplied DI frameworks?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.238.76