Tag Archives: ioc

Writing a Windsor Service Locator adapter for ASP.NET MVC3 Preview 1

A few days ago Scott Guthrie announced the ASP.NET MVC 3 Preview 1 availability. The team did such a great job adding Dependency Injection to the whole framework using a slightly modified Service Locator, in that way you may plug … Continue reading

Posted in asp.net, development | Tagged , , , | 4 Comments

Using Automapper with Castle Windsor

I am a fan and happy user of the excelent library Automapper (by Jimmy Bogard) to mapping my ViewModel/EditModel to my Domain Model entities. If you are not using it already you should! Well, the issue is that I’m also … Continue reading

Posted in development | Tagged , , | 8 Comments

Resolviendo Generics con Unity

Hace unos días alguien en la lista de correo de la Comunidad de Desarrolladores .net de Guatemala preguntó: Compañeros, alguien sabe si Unity puede resolver Interfaces que tengan genericos, el siguiente codigo si me ejecuta _contenedor.Resolve<IRepositorio>(); pero cuando ya le … Continue reading

Posted in development | Tagged , , | Leave a comment