2

Closed

Remove dependency on Unity

description

It would be good to introduce an interface for the CacheService, and a base class that generates the keys (which is functionality that is probably common). That way, people that use other containers could create their own implementation.
Closed Apr 2, 2011 at 7:46 PM by adamgbell
unity gone

comments

adamgbell wrote Nov 7, 2010 at 2:08 PM

Removing the dependency on unity is a good idea. Thanks for your input

adamgbell wrote Nov 7, 2010 at 2:55 PM

Looking at how nservicebus allows multiple DI implementations , I came across this article advocating that the container should not be a concern of an API user, it should be a hidden internal detail.
http://thinkbeforecoding.com/post/2009/05/15/IOC-container-go-hide

wrote Dec 20, 2010 at 12:55 PM

adamgbell wrote Jan 30, 2011 at 12:58 AM

Fix in latest version. the implementation of ICahe used can be specified in code by setting CacheService.Cache or via the app.config. DI was overkill here i think.

wrote Apr 2, 2011 at 7:46 PM

wrote Feb 13, 2013 at 10:40 PM

wrote May 16, 2013 at 5:18 AM