| 1 | What is the Inversion of Control (IoC) principle, and how does dependency injection relate to it as one specific technique? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Intermediate |
| 2 | What is dependency injection, and what problem does it solve compared to a class creating its own dependencies directly? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Beginner |
| 3 | How do you register and resolve a service using ASP.NET Core's built-in dependency injection container? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Beginner |
| 4 | How would you implement the Factory pattern using dependency injection to resolve a specific implementation at runtime based on a parameter, when the standard container can't decide statically? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 5 | How does constructor injection differ from property (setter) injection, and why is constructor injection generally preferred? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Intermediate |
| 6 | What causes a 'captive dependency' bug, and how does ASP.NET Core's DI container detect and prevent it? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 7 | How do you correctly and safely resolve a Scoped service from within a Singleton service using IServiceScopeFactory, avoiding the captive dependency problem? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 8 | How would you write a custom IServiceProviderFactory or use a third-party container (like Autofac) to enable advanced DI features not supported by the built-in ASP.NET Core container, like property injection or convention-based registration? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 9 | What is the difference between Singleton, Scoped, and Transient service lifetimes in ASP.NET Core's DI container? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Intermediate |
| 10 | How does the DI container resolve a class with MULTIPLE constructors, and how do you influence which one gets chosen? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 11 | How does the .NET dependency injection container and ASP.NET Core's model binding use reflection and attributes together under the hood? C# › Attributes & Reflection | C# | Attributes & Reflection | Advanced |
| 12 | How do C# 12 primary constructors interact with dependency injection in ASP.NET Core minimal APIs and controller classes? C# › Modern C# Features (Global Usings, File-Scoped Namespaces, Top-Level Statements) | C# | Modern C# Features (Global Usings, File-Scoped Namespaces, Top-Level Statements) | Advanced |
| 13 | How do you create a custom attribute class, and what does AttributeUsage control? C# › Attributes & Reflection | C# | Attributes & Reflection | Intermediate |
| 14 | How does the Repository pattern abstract data access, and what interface typically defines its contract? C# › Design Patterns in C# | C# | Design Patterns in C# | Intermediate |
| 15 | How is the Factory pattern commonly applied in Node.js applications, and what problem does it solve? Node.js › Architecture & Design Patterns | Node.js | Architecture & Design Patterns | Intermediate |
| 16 | How would you implement the Unit of Work pattern alongside the Repository pattern to coordinate multiple repository changes within a single transaction? C# › Design Patterns in C# | C# | Design Patterns in C# | Advanced |
| 17 | What is a Hexagonal Architecture (Ports and Adapters), and what specific benefit does it provide for a Node.js API? Node.js › Architecture & Design Patterns | Node.js | Architecture & Design Patterns | Advanced |