I recently found automapper and am really sold on the ease of use and power it offers. It's a really great product.
I am a bit confused about the DI piece though. I don't get why you need to specify the startup class or why it works in that way? I've never seen DI like that. I've kinda gone my own way and created a Singleton I inject on my own instead of using their functionality.
My question is, what is the DI doing with startup class? I can't see a benefit as I still have to define my maps.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I recently found automapper and am really sold on the ease of use and power it offers. It's a really great product.
I am a bit confused about the DI piece though. I don't get why you need to specify the startup class or why it works in that way? I've never seen DI like that. I've kinda gone my own way and created a Singleton I inject on my own instead of using their functionality.
My question is, what is the DI doing with startup class? I can't see a benefit as I still have to define my maps.