One way to trim a deep or expensive dependency tree is to inject Lazy types of your services. Lazy injection will prevent an optional resource from being instantiated until it is actually needed; this can often be a crucial performance optimization.
|
2
Shouts |
|
|||
No comments yet, be the first one to post comment.