| 1 | What is dependency injection in Angular, and how does a component receive a service? Angular › Services & Dependency Injection | Angular | Services & Dependency Injection | Beginner |
| 2 | What is hierarchical dependency injection in Angular, and how does providing a service at the component level differ from providing it at the root level? Angular › Services & Dependency Injection | Angular | Services & Dependency Injection | Advanced |
| 3 | How does the newer inject function differ from using constructor based dependency injection in Angular? Angular › Services & Dependency Injection | Angular | Services & Dependency Injection | Intermediate |
| 4 | What is a service in Angular and why are services used to hold shared logic? Angular › Services & Dependency Injection | Angular | Services & Dependency Injection | Beginner |
| 5 | How would you mock a service during testing to isolate a component from its real dependencies? Angular › Services & Dependency Injection | Angular | Services & Dependency Injection | Intermediate |
| 6 | How is dependency injection set up in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Beginner |
| 7 | How is dependency injection set up in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Beginner |
| 8 | How do you resolve services from a static or platform context where constructor injection isn't possible? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Advanced |
| 9 | How do you resolve services from a static or platform context where constructor injection isn't possible? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Advanced |
| 10 | What is dependency injection, and why is it a generally recommended practice for structuring a Flutter application's various services and repositories? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Beginner |
| 11 | What is a provider in Angular's dependency injection system? Angular › Dependency Injection Providers & Injection Tokens | Angular | Dependency Injection Providers & Injection Tokens | Beginner |
| 12 | 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 |
| 13 | What are the DI service lifetimes and when do you use each? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Beginner |
| 14 | What are the DI service lifetimes and when do you use each? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Beginner |
| 15 | How do you inject a view model into a page? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 16 | What is the service locator anti-pattern and how do you avoid it in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 17 | How do you register and use HttpClient with IHttpClientFactory in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 18 | How do you inject a view model into a page? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 19 | What is the service locator anti-pattern and how do you avoid it in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 20 | How do you register and use HttpClient with IHttpClientFactory in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 21 | How do you implement a messaging/event aggregator to decouple view models? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Advanced |
| 22 | How do you implement a messaging/event aggregator to decouple view models? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Advanced |
| 23 | How do you use IServiceScopeFactory to manually create a DI scope outside the normal per-request pipeline, such as inside a background service? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 24 | What is the 'captive dependency' problem, and how does the DI container help catch it? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 25 | How do you use IServiceScopeFactory to manually create and manage a DI scope outside the normal request pipeline? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 26 | What is the 'captive dependency' problem, and how does ASP.NET Core's DI container help catch it automatically? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 27 | How do you register a service using a factory delegate instead of a simple type mapping, when construction requires reading configuration or resolving other services conditionally? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 28 | What are keyed services (introduced in .NET 8), and what problem do they solve compared to multiple unnamed registrations? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 29 | How does the DI container's disposal behavior work for IDisposable and IAsyncDisposable services across different lifetimes? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 30 | What are keyed services (introduced in .NET 8), and what problem do they solve compared to injecting IEnumerable<T> when you need one specific implementation? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 31 | How does the DI container's disposal behavior work for IDisposable services registered as Transient, and why can this cause unexpected memory retention? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 32 | How does Laravel's service container and service providers work together to manage dependency injection and bootstrap an application's various services? PHP › Laravel Framework Essentials | PHP | Laravel Framework Essentials | Advanced |
| 33 | What does providedIn root mean when registering an Angular service? Angular › Dependency Injection Providers & Injection Tokens | Angular | Dependency Injection Providers & Injection Tokens | Beginner |
| 34 | What is the difference between providing a service using useClass and useExisting? Angular › Dependency Injection Providers & Injection Tokens | Angular | Dependency Injection Providers & Injection Tokens | Intermediate |
| 35 | How does the useFactory provider option let you create a service with more complex setup logic? Angular › Dependency Injection Providers & Injection Tokens | Angular | Dependency Injection Providers & Injection Tokens | Advanced |
| 36 | How do you register and run multiple independent BackgroundServices within the same application? .NET › Background Services | .NET | Background Services | Intermediate |
| 37 | How do you safely access scoped services like a DbContext from within a BackgroundService, which is registered as a singleton? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Intermediate |
| 38 | What is the difference between Singleton, Scoped, and Transient service lifetimes, and how does Scoped specifically map to an HTTP request? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 39 | How does the Options pattern's IOptions<T>/IOptionsSnapshot<T> relate to and build upon the standard DI container? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 40 | How do health checks interact with dependency injection scoping, particularly for checks that need a scoped service like a DbContext? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 41 | How do you safely access scoped services (like a DbContext) from within a BackgroundService, which itself is registered as a singleton? .NET › Background Services | .NET | Background Services | Advanced |
| 42 | What is the Options pattern's relationship to DI, and how does IOptions<T> itself get resolved through the container? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 43 | How do you access the built IHost's service provider after Build() to resolve services outside the normal request/injection flow, such as in Program.cs itself? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 44 | What is a BackgroundService in ASP.NET Core, and how do you register one to run alongside a web application? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Beginner |
| 45 | How do you implement a gRPC server method in ASP.NET Core, and how does it integrate with the standard hosting model? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 46 | What is the difference between IHostedService and the BackgroundService convenience base class? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Intermediate |
| 47 | How do you generate and use a strongly-typed gRPC client in a .NET application to call a gRPC service? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Intermediate |
| 48 | What is the single responsibility principle and how does it apply to writing Angular components and services? Angular › Angular Style Guide & Best Practices | Angular | Angular Style Guide & Best Practices | Intermediate |
| 49 | How do you test a BackgroundService's business logic without waiting for its actual polling interval, keeping tests fast? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 50 | How do you mock platform/device services for testing? .NET MAUI › Testing & Debugging | .NET MAUI | Testing & Debugging | Intermediate |
| 51 | How do you mock platform/device services for testing? .NET MAUI › Testing & Debugging | .NET MAUI | Testing & Debugging | Intermediate |
| 52 | What is the Options pattern, and why is it preferred over directly injecting IConfiguration into services? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 53 | How do you inject scoped (per-request) services into middleware, given that middleware classes are constructed once at app startup? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 54 | How do you add a Material dialog to an Angular app? Angular › Angular Material & UI Component Libraries | Angular | Angular Material & UI Component Libraries | Beginner |
| 55 | How do you make a basic GET request to a server using Angular's HttpClient? Angular › HTTP Client & Interceptors | Angular | HTTP Client & Interceptors | Beginner |
| 56 | What are lifecycle hooks in Angular and why would you use them? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Beginner |
| 57 | What is a route guard in Angular, and what is it commonly used for? Angular › Router Guards & Resolvers | Angular | Router Guards & Resolvers | Beginner |
| 58 | What is state management in an Angular app? Angular › State Management | Angular | State Management | Beginner |
| 59 | What is a common sign that an Angular app's state management approach needs to be reconsidered? Angular › State Management | Angular | State Management | Beginner |
| 60 | How would you generate a new component, service, or module using Angular CLI commands? Angular › Angular CLI & Project Structure | Angular | Angular CLI & Project Structure | Intermediate |
| 61 | How do you use the effect function with signals to run code whenever a signal's value changes? Angular › Angular Signals | Angular | Angular Signals | Intermediate |
| 62 | How would you manually trigger change detection in Angular when needed, such as after code that runs outside Angular's normal tracking? Angular › Change Detection | Angular | Change Detection | Intermediate |
| 63 | How would you create a custom attribute directive in Angular? Angular › Directives | Angular | Directives | Intermediate |
| 64 | What is an HTTP interceptor in Angular, and what is it commonly used for? Angular › HTTP Client & Interceptors | Angular | HTTP Client & Interceptors | Intermediate |
| 65 | What is the difference between a Subject, a BehaviorSubject, and a ReplaySubject in RxJS? Angular › RxJS & Observables | Angular | RxJS & Observables | Intermediate |
| 66 | How do you use Angular's TestBed to test a component that depends on a service? Angular › Testing with Jasmine & Karma | Angular | Testing with Jasmine & Karma | Intermediate |
| 67 | How would you define a strongly typed interface for data returned from an API, and use it throughout an Angular service? Angular › TypeScript with Angular | Angular | TypeScript with Angular | Intermediate |
| 68 | What is the difference between IOptions<T>, IOptionsSnapshot<T>, and IOptionsMonitor<T>? .NET › Configuration & Options | .NET | Configuration & Options | Advanced |
| 69 | What is the difference between IOptions<T>, IOptionsSnapshot<T>, and IOptionsMonitor<T>, and which is safe to inject into a singleton? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 70 | How would you combine multiple route guards together to enforce both authentication and a specific user role? Angular › Router Guards & Resolvers | Angular | Router Guards & Resolvers | Advanced |
| 71 | How would you test an Angular service that makes HTTP requests, without making real network calls during the test? Angular › Testing with Jasmine & Karma | Angular | Testing with Jasmine & Karma | Advanced |