33 questions for “Dependencies”

Found in 1 field. Select a question to see its full answer.

Information Technology

33 questions in 14 technologies

#QuestionTechnologyTopicLevel
1What is dependency injection, and what problem does it solve compared to a class creating its own dependencies directly? C# › Dependency Injection & IoC PrinciplesC#Dependency Injection & IoC PrinciplesBeginner
2What is dependency injection, and how does it improve the design of PHP applications compared to creating dependencies directly inside a class? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersBeginner
3How does pyproject.toml serve as the modern standard for defining a Python package's build configuration and dependencies? Python › Modules & PackagingPythonModules & PackagingIntermediate
4What is the difference between constructor injection and service location (using IServiceProvider directly to resolve dependencies)? .NET › Dependency Injection.NETDependency InjectionIntermediate
5What is the difference between constructor injection and using IServiceProvider directly to resolve dependencies imperatively (service location)? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionIntermediate
6How do you distinguish between transient errors (worth retrying) and permanent errors (should fail immediately) when designing error handling for calls to external dependencies? ASP.NET Core › Error HandlingASP.NET CoreError HandlingIntermediate
7How do you add pre-built health checks for common external dependencies like SQL Server, Redis, or a URL endpoint, using the community AspNetCore.Diagnostics.HealthChecks packages? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksIntermediate
8What is the difference between Maven's <dependencies> scope values (compile, provided, runtime, test) and how do they affect what's included in the final packaged artifact? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
9How do the requires and exports directives in a module-info.java file work together to define a module's dependencies and public API surface? Java › Java Platform Module System (JPMS)JavaJava Platform Module System (JPMS)Intermediate
10How would you mock a service during testing to isolate a component from its real dependencies? Angular › Services & Dependency InjectionAngularServices & Dependency InjectionIntermediate