I'm really new to VS C# and coming from JAVA(Spring) background I'v embark my self in doing a POC with Webapi 2 and VS2013.
So now I'm stuck at the DI container creation so I'm going to use dryIoc but I'm not sure exactly how to create one? even better how to do one that automatically scans your entire classes-models-repository and figures out what are the dependencies.
Any good Articles tutorials on how to do this, best practices patterns? What I've found in the docs is not completely clear on where exactly do I put this code or how to do it so that it scans folders/classes.
EDIT:
Clarifying: this is what I'm trying to accomplish :
- I need to create a DI IoC Container based on dryIoC. Why dryIoc
- Cannot use Unity.
- A way for the container to scan the classes and automatically register them, not one by one.