July 2019
Intermediate to advanced
410 pages
10h 32m
English
In .Net Core, the Singleton pattern is implemented so that dependency is only ever instantiated once, just like the Singleton pattern that was implemented in the previous chapter. Similar to the Singleton pattern in the previous chapter, the singleton class needs to be thread safe, and only the factory method that is used to create the singleton class is guaranteed to be called only once by a single thread.
Read now
Unlock full access