lazy-proxy-serviceprovider
Lazy Dependency Injection for Microsoft's DI ServiceProvider (by servicetitan)
lazy-proxy
It allows to build in real time a lazy proxy type or an instance of this type. (by servicetitan)
lazy-proxy-serviceprovider | lazy-proxy | |
---|---|---|
1 | 1 | |
15 | 73 | |
- | - | |
1.8 | 2.7 | |
over 2 years ago | 6 months ago | |
C# | C# | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lazy-proxy-serviceprovider
Posts with mentions or reviews of lazy-proxy-serviceprovider.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-29.
-
Lazy Dependency Injection for Microsoft DI ServiceProvider
The initiative and brilliant initial implementation of the LazyProxy.ServiceProvider library belong entirely to Carlos Mendible, for which I want to express gratitude and appreciation on behalf of the entire open-source community. Besides, Carlos has generously permitted to move the new repository alongside all other LazyProxy's repositories. That was a big step forward in the lazy dependency injection ideas.
lazy-proxy
Posts with mentions or reviews of lazy-proxy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-29.
-
Lazy Dependency Injection for Microsoft DI ServiceProvider
The previous post detailed the problem and one solution that allows gracefully solving it without polluting your code. This solution is to use LazyProxy for IoC containers. The main idea is to substitute an object of the real type with a proxy. This proxy is a runtime generated type that implemented a specific interface T and called all members of this interface through Lazy. Thus, the behavior changes as if Lazy was injected instead of the T interface. Instances are created only on demand, but at the same time, the code remains clean.
What are some alternatives?
When comparing lazy-proxy-serviceprovider and lazy-proxy you can also consider the following projects:
lazy-proxy-autofac - Lazy Dependency Injection for Autofac Container
ManualDi.Main - Dependency injection library for C#
Prism.Avalonia - Prism framework support for Avalonia UI