Inversion of Control with .net

前端 未结 7 633
遥遥无期
遥遥无期 2021-01-01 00:51

It\'s rare that I hear someone using Inversion of Control (Ioc) principle with .Net. I have some friends that work with Java that use a lot more Ioc with Spring and PicoCont

7条回答
  •  渐次进展
    2021-01-01 01:35

    IoC is not really that commonplace in .Net up until now. And it has everything to do with Microsoft and there promotion campaigns they did. up until now they were more emphasizing the RAD capabilities of VS and in the meanwhile the forgot to promote things like IoC and Di but now they have their own framework called Unity and with the work they did on ASP.Net MVC.

    So I guess the majority of people will start to use things like that. Because know they have a MS alternative to use.

    And I use StructureMap.

提交回复
热议问题