var container = new WindsorContainer();container.Register(Component.For<SauceBéarnaise>());SauceBéarnaise sauce = container.Resolve<SauceBéarnaise>();var container = new WindsorContainer();container.Register(Component.For<IIngredient>().ImplementedBy<SauceBéa Read More
posted @ 2012-03-12 12:15
庚武
Views(756)
Comments(1)
Diggs(1)
I recently wrote a post about how to set up CW’s IOC container for applications. This post covered the most basic implementation to get an IOC container up and running. It is now time to cover a proper architecture for using IOC specifically for web applications / sites.The main problem with the pre Read More
posted @ 2012-03-12 12:13
庚武
Views(419)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号