I have the following pattern: An interface for serializing files, called IFileSerializer, which has multiple concrete implementations. Not every seri ...
I have the following pattern: An interface for serializing files, called IFileSerializer, which has multiple concrete implementations. Not every seri ...
So I created a middleware to limit the data a connected user has access to by adding global scopes depending on some informations: public function ha ...
When I inject the mainpage to the App class constructor I am getting StaticResource not found for key But if I don't inject the Mainpage on the App co ...
I have RegisterMessageHandlers that register message handler per message name. I want to automatically find and register all handlers through reflecti ...
. Answers to this question are eligible for a +200 reputation bounty. e ...
We have the following code in CreateMauiApp. We are trying to add a MauiContext object to the container so it is available in ViewModels via DI We ...
I have weather api to parse data for 10 days All it's good , but I have problem with retrofit now , I have app crashes , my URL(with API) have / in t ...
This question was migrated from Stack Overflow because it can be answered on J ...
Using Autofac for injection. Given interface IStateMachine<TState, TTrigger> { } class ConcreteStateMachine : IStateMachine<MachineState ...
As far as i know: BeanFactory creates beans according to its definitions. Then sends it to BeanPostProcessor to invoke postProcessBeforeInitiali ...
Because we removed environment files and we load the config data before bootstraping the app module, we have a problem with the injected fields (are u ...
I'm trying to consume in VB.NET some classes using Dependency Injection. In the Global.asax.vb, I have: I'm having problem in adding the DBContext ...
I am currently writing a Spring boot application that will perform loadtests on another app. I want to use Gatling to manage the tests, but I need it ...
i have not much knowledge about Asp and Entity Framework so i really cant figure out what i have to do. My problem is accessing database context out o ...
I have the following basic SI registration in an ASP.NET WebApi project. Startup.cs The Problem Container.Verify() attempts to resolve a Work ins ...
I'm using Spring and Kotlin for my web app. myEntity_ is a simple class, not component. A problem is on class MyEntity_ : SqlTable("my_entity") ...
I have a problem with using specific service depend on other service in web api Program file. I create IDatabaseOption interface and DatabaseOptions c ...
I need to access ClaimsPrincipal within the service layer of a Net Core 6 app. I could always just builder.Services.AddTransient<IHttpContextAcces ...
I'm curious regarding what approaches can be taken to solve the following problem. I was using Properties.Settings.Default in a WPF app to store some ...
I would like to extend my service registration [e.g. EnableInterfaceInterceptors] from Autofac Pipeline. However, I couldn't find a way to achieve tha ...