Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Questions tagged [dependency-injection]

Ask Question

Design pattern to reduce coupling between components, by dynamically injecting into a software component dependencies that it needs to function.

256 questions
Filter by
Sorted by
Tagged with
1vote
0answers
86views

I am coding a NuGet package heavily inspired by Scrutor. I wanted to simplify Scrutor's fluent interface and improve its attribute-based class registration.Thus, I'd like to gather some opinions and ...
1vote
1answer
63views

I'm working on a Next.js app and looking at the best way to structure database access. With Next.js and web based apps in general, there are lots of different "server actions", aka, API ...
4votes
2answers
143views

I'm six months into a Java training program and have developed a Spring Boot application, adhering to Java's separation of concerns principle. I've organized my application with distinct sections for ...
2votes
2answers
280views

I have written a .Net Client wrapper for Google Gemini (Generative AI) REST API and published it as a Nuget package. I am seeking a review of the code.I have spent quite some time in designing how it ...
1vote
0answers
80views

I was wondering if it would be possible to create a C# like syntax for dependency injection. My device is running constantly and acting more or less like a service. I came up with the following. My ...
0votes
1answer
122views

I am learning dependency injection and trying to use this pattern on practice. I am trying to write simple program where the user can write something to database, delete row and clear all rows from db....
2votes
1answer
167views

I've been a .NET Developer for almost 4 years. I'm stronly learning and trying using design patterns and following SOLID principles for 3 months right now (I know - a little late, but better late ...
2votes
1answer
375views

Although this code usesros2 my concern is aboutC++ code quality, because I still struggle when it comes to making good design ...
Sam Hammamy's user avatar
4votes
2answers
270views

I was given a test assignment for the interview of the company and below is the code that I shared with them. I developed it using .NET 6 (Core) Console application.Actual problem statement:Coding ...
2votes
1answer
288views

I'm currently trying to find out what's the best networking architecture for MVVM applications. I couldn't find many resources and decided to go with dependency injection based architecture as per the ...
4votes
0answers
117views

I have a requirement to essentially scan a filesystem on any kind of filesystem and move a resource whenever it is ready. To do this I have the following code...
2votes
0answers
203views

I am implementing some of the architectural designs from Google I/O's app to my own app, but I have come across something in their app that has created some confusion for me.They have a domain layer ...
CJR's user avatar
  • 151
3votes
0answers
231views

I have come up with a quick and simple IoC container to enable minimal dependency injection support in one of my Java projects.The container supports services with:A transient lifetime, meaning, a ...
4votes
0answers
145views

I am trying to become better at designing classes for dependency injection and IOC in general. It is often not an intuitive concept.I have the following python interface and implementation for a ...
0votes
0answers
796views

I tried following IHttpContextAccessor pattern but for Hangfire context. What I'm mostly interested in is CustomScope class with Resolve method. I'm using ActivatorUtilities there because otherwise I ...
Medo's user avatar
  • 109

153050per page
1
2345
18

Hot Network Questions

more hot questions
Newest dependency-injection questions feed

[8]ページ先頭

©2009-2025 Movatter.jp