StructureMap是一个Dependency Injection framework,和Spring.Net类似,只是它不使用Spring.Net的xml配置文件的方式,而使用Attribute的方式,避免了xml文件的不断膨胀(当系统比较大的时候)。现在StructureMap 1.0发布了,作者声称已经成功运用在了大型项目中,在构建松散耦合的系统过程中发挥了很大的作用。甚至有人说“Don't create a loosely coupled system without it”——似乎有点夸张。StructureMap 的作者Jeremy Miller在随笔中说StructureMap 是“the best Dependency Injection tool for .Net”。感兴趣的话可以研究研究这个framework。


【Update 2006-5-18】for .Net2.0的版本1.1也出来了:StructureMap v1.1 (for .Net 2.0) released on sourceforge
 

相关文章:

  • 2021-08-25
  • 2021-07-29
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-01-04
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2021-08-09
  • 2021-07-14
  • 2021-08-05
  • 2021-09-27
  • 2022-02-11
相关资源
相似解决方案