Design Patterns in C#: Singleton

Design Patterns in C#: Singleton

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 13 Lessons (0h 47m) | 174 MB

Learn everything there is to know about the Singleton Design Pattern
The Singleton Design Pattern is one of the most commonly used Design Patterns in software engineering. It is a core pillar of many applications, and understanding it is a requirement for any developer because it ensures that a class has only one instance and provides a global point of access to that instance. This is particularly useful for managing resources efficiently, maintaining consistency across the application, and synchronizing access in multithreaded environments. In this course, Amichai Mantinband will teach you everything you need to know to understand why we need the singleton pattern and how to use it effectively in our applications.

Table of Contents

1 Course overview
2 What is the Singleton Design Pattern
3 Characteristics & Implementation Aspects
4 Naive singleton implementation
5 Naive singleton implementation with Lazy Loading
6 Naive singleton implementation with Thread Safety
7 Proper Lazy Instantiation & Thread Safety
8 Singleton Design Pattern Cool Implementation
9 Singleton Pattern vs Singleton Behavior (via the DI IoC Container)
10 Section Recap
11 Benefits
12 Drawbacks (and How To Get Around Them)
13 Conclusion

Homepage