I\'m building an ASP.NET MVC application that uses a DDD (Domain Driven Design) approach with database access handled by NHibernate. I have domain model class (Administrator) that I want to inject a d
Considering this code : interface IRepository<T> { void Save(); } class Repository<T> 开发者_StackOverflow{
I\'m programmatically registering a group of se开发者_运维技巧rvices that all implement the same interface, IRule.I have another service that looks like this:
Recently I developed a performance tester console application, with no UI, with the help of a IoC containter (Castle-Windsor-Mi开发者_运维知识库crokernel). This library enabled me to let the user choo
I\'m attempting to use the MVP design pattern with a Swing application in conjunction with Spring IOC. In MVP the View needs to pass itself into the Presenter, and I can\'t work out how to do this wit
I am trying out the code from this post on Event Driven Architecture (very interesting by the way). His IOC container is Unity though and I would like to do this using Structure map.
I want to use Unity resolve IService to two different 开发者_开发知识库implementations, to make use of a wrapper class, the equivalent of:
An advantage of an IoC container is that you can swap in a mock service at the bottom of your object graph. However this seems much harder to do in Spring.Net than in 开发者_如何学编程other IoC Contai
Is there any IOC container that already implements a controller factory compatible with asp.net开发者_高级运维 mvc 2.0 ....if so i\'ll move my projects to 2.0 to test...
On my base controller I have placed the Logger attribute. This LoggerAttribute looks like this: public class LoggerAttribute: InjectableFilterAttribute