#dependency-injection

[ follow ]
#aspnet-core
fromInfoWorld
1 week ago
Bootstrapping

How to use the IServiceProvider interface in ASP.NET Core

IServiceProvider enhances service dependency resolution in ASP.NET Core, improving application maintainability and testability.
fromInfoQ
7 months ago
JavaScript

ASP.NET Core 9 RC 1: Keep-alive Timeouts for Websockets, Improved SignalR Tracing, and More

Microsoft's .NET 9 Release Candidate introduces significant features like WebSocket keep-alive timeouts and Keyed Dependency Injection services.
fromInfoWorld
1 week ago
Bootstrapping

How to use the IServiceProvider interface in ASP.NET Core

IServiceProvider enhances service dependency resolution in ASP.NET Core, improving application maintainability and testability.
fromInfoQ
7 months ago
JavaScript

ASP.NET Core 9 RC 1: Keep-alive Timeouts for Websockets, Improved SignalR Tracing, and More

Microsoft's .NET 9 Release Candidate introduces significant features like WebSocket keep-alive timeouts and Keyed Dependency Injection services.
more#aspnet-core
#best-practices
fromHackernoon
2 months ago
Angular

Refactoring 024 - Replace Global Variables with Dependency Injection | HackerNoon

Replacing global variables with dependency injection improves testability and reduces coupling.
fromInfoWorld
2 months ago
Software development

11 rules for writing better code

Avoid hard-coding values to enhance code flexibility and maintainability.
Angular
fromHackernoon
2 months ago

Refactoring 024 - Replace Global Variables with Dependency Injection | HackerNoon

Replacing global variables with dependency injection improves testability and reduces coupling.
fromInfoWorld
2 months ago
Software development

11 rules for writing better code

Avoid hard-coding values to enhance code flexibility and maintainability.
more#best-practices
DevOps
fromHackernoon
2 months ago

Code Smell 293 - You Should Avoid Adding isTesting or Similar Flags | HackerNoon

Avoid adding flags like isTesting in code to maintain clean separation between testing and production.
Use dependency injection to prevent mixing testing and production logic.
#micro-frontends
fromMedium
2 months ago
Mobile UX

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

Micro frontends are implemented through a subscriber component that manages their registration and shared context.
fromMedium
2 months ago
JavaScript

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

The subscriber component is essential for integrating and managing Micro Frontends (MFEs) in a shared app context.
Mobile UX
fromMedium
2 months ago

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

Micro frontends are implemented through a subscriber component that manages their registration and shared context.
fromMedium
2 months ago
JavaScript

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

The subscriber component is essential for integrating and managing Micro Frontends (MFEs) in a shared app context.
more#micro-frontends
JavaScript
fromHackernoon
9 months ago

How to work with Koin Scopes in Jetpack Compose Navigation | HackerNoon

Combining Jetpack Compose Navigation with Koin scopes enhances dependency management in modern Android applications.
#scala
fromMedium
6 months ago
JavaScript

How do you write unit tests in Scala, and how do you use the mocking technique?

Tight coupling of services in functions complicates unit testing, necessitating strategies like dependency injection or mocking for flexibility.
fromMedium
5 months ago
Scala

Dependency Injection with Implicits in Scala

Implicit-based Dependency Injection in Scala is a lightweight approach that simplifies dependency management.
fromMedium
6 months ago
JavaScript

How do you write unit tests in Scala, and how do you use the mocking technique?

Tight coupling of services in functions complicates unit testing, necessitating strategies like dependency injection or mocking for flexibility.
fromMedium
5 months ago
Scala

Dependency Injection with Implicits in Scala

Implicit-based Dependency Injection in Scala is a lightweight approach that simplifies dependency management.
more#scala
fromHackernoon
6 months ago
JavaScript

How to Stop Making Singletons in Swift: A Dependency Injection Guide | HackerNoon

Transitioning from singletons to dependency injection in SwiftUI enhances flexibility, testing ease, and adaptability.
fromMedium
6 months ago
JavaScript

Java 23, SpringBoot 3.3.4: API Flow & Logging-Part 4

AOP enhances logging management in Spring applications by reducing code clutter and providing a clear separation of concerns.
fromCodeProject
7 months ago
JavaScript

How to Handle Cyclic Dependency Between Beans in Spring?

Cyclic dependencies in Spring cause initialization issues due to mutual bean dependencies, leading to potential errors during runtime.
fromCodeProject
7 months ago
JavaScript

What is Inversion of Control?

IoC provides modularity and flexibility by inverting the control flow in software design.
fromCSO Online
10 months ago
Information security

CocoaPods flaws left iOS, macOS apps open to supply-chain attack

Attackers can exploit orphaned Pods to inject malicious content and infect downstream dependencies.
[ Load more ]