Unity with Caching under two projects.

Topics: Caching Application Block , Enterprise Library Core, General discussion
Jun 2, 2008 at 5:51 AM
Hi All

I have a solution which contains several projects.

One is the web Application which contains the global.asa  to init the container.

And the other project is a data access layer also.

For the caching under the web application, it works fine and I could use Property Injection to handle it.

However, for the data access layer project.

It returns NULL value while I try to use Property Injection to get the CacheManager.

 public ICacheManager CacheObj
     get { return cacheObj; }
     set { cacheObj = value; }

Do I miss something actually?