Bernhard Richter

Results 179 comments of Bernhard Richter
trafficstars

Decision made. LightInject.Microsoft.DependencyInjection it is. https://github.com/seesharper/LightInject.Microsoft.DependencyInjection

Here is the first pre release version https://github.com/seesharper/LightInject.Microsoft.DependencyInjection Also available from Nuget

Hi! There is a couple of things happening here that explains the behaviour. First of all, the default in LightInject is to apply variance when resolving multiple instances. This means...

Looks great. I have just one question though. Given that we are talking about a web application with a startup class or a console application with a main method, how...

Good idea. It could search for an ICompositionRoot implementation in the test assembly. If it is found, we execute it.

Hi. I am not sure what you mean when you say that the BeginRequest and EndRequest event are executed in a non-deterministic order, but it might be related to redirects...

Hi again. I now understand what you mean with regards to the BeginRequest/EndRequest handlers. Is this some implementation of the "unit of work" pattern? You initialize the DB context (Entity...

Let me know if something like this works out for you. ``` internal class LightInjectConfigurableBootstrapper : LightInjectNancyBootstrapper { private readonly Action configure; public LightInjectConfigurableBootstrapper(Action configure) { this.configure = configure; }...

You could try to override the RegisterTypes method.

Unless you need Razor one solution is to set ` "razor.plugin.path": "blablabla",`. That way it won't try to load Razor assemblies