ASP.NET MVC IoC usability

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-05-05T06:07:38Z Indexed on 2010/05/05 6:28 UTC
Read the original article Hit count: 323

Filed under:
|
|

Hello everybody,

How often do you use IoC for controllers/DAL in real projects?

IoC allows to abstract application from concrete implementation with additional layer of interfaces that should be implemented. But how often concrete implementation changes? Should we really have to do job twice adding method to interface then the implementation if implementation hardly will ever be changed? I took part in about 10 asp.net projects and DAL (ORM-like and not) was never rewritten completely.

Watching lots of videos I clearly understand that IoC "is cool" and the really nice way to program, but does it really needed?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about ioc