I'm migrating a tool to a .net 5 console app. I would like to change my DI system, currently a modified version of TinyIoC, to use if possible the bui ...
I'm migrating a tool to a .net 5 console app. I would like to change my DI system, currently a modified version of TinyIoC, to use if possible the bui ...
So I installed TinyIoC v1.3.0 using nuget in my Xamarin.Android project, its in the references, but I cannot type using TinyIoC; without a compile err ...
In dependency injection I understand why we need Register() with 2 type arguments. From now on, parameters of type I1, in ctors, will get the insta ...
I am trying to use Nancy as self-hosted in a legacy application, so I am trying to change as little as possible. My Nancy's modules need to interact ...
Introduction We are trying to catch potential memory leaks using BenchmarksDotNet. For the simplicity of example, here is an unsophisticated TestCl ...
I am trying to register a Func<string> with TinyIoc.: and a type that depends on it with a constructor: when I use it's all fine, but ...
I am using .NET Nancy's TinyIoCContainer for dependency injection. I am trying to register an interface and its implementation through generics, like ...
I am trying to register a base interface IService in TinyIoc Currently I have multiple classes that inherit from Iservice for example Authentication ...
I'm writing a service in Nancy and I'm using some middleware for monitoring the service: The middleware is configured to use a HealthCheck() functi ...
I'm registering a DbContext onto the TinyIoCContainer that's passed into the ConfigureRequestContainer method on the DefaultNancyBootstrapper. Whilst ...
I have been messing with the following for a few days now. I have a Nancy app running on Mono, with EntityFramework with Repository pattern and UnitO ...
Getting a System.MissingMethodException, Method not found: 'Void RouteBuilder.set_Item() This runs fine when calling from browser, but fails when t ...
I have a module which is expecting a dependency to be satisfied however I get the an error stating Something went wrong when trying to satisfy one o ...
I need an instance of a class to be created only once per user session. How do I register such a class with TinyIoC? I'm using NancyFx. ...
I'm trying to implement the Options Pattern (as recommended here) on a project with NancyFX/TinyIOC but it's not working. I'm registering the Options ...
I'm using Nancy with TinyIoC to solve the dependencies. One dependency in particular needs to be application-lifecycle singleton. If I do it with a ...
I want to register a class that uses previously registered type in its constructor, but is also has a constructor parameter that needs to be specified ...
We have an ASP.NET REST service implemented with Nancy (and TinyIoc), which interfaces with a quite large legacy application. We would like to transit ...
I want to use custom serialization for my Nancy Modules, which uses the requested URL as part of its inputs. I've seen that you need to register depe ...
https://github.com/int6/CoiniumServ/blob/develop/src/CoiniumServ/Pools/Pool.cs this is my pool class. i want that when i dispose the class. all depen ...