Installation question

Mar 23, 2012 at 3:20 PM

I installed the caching library from nuget

Then i added the reference using statement

then i decorated [DonutOutputCache(Duration=5)]

trying to use your examples

 

i get errors cannot convert string to int

Mar 23, 2012 at 3:36 PM

Not sure this is related to DonutOutputCache. As far as I am aware, I am not doing any casting from string to int.

Does your action method work ok without the DonutCacheAttribute?

If so, please provide some more information (stack trace, action method signature and data that is failing etc.) and I will investigate.

Mar 23, 2012 at 4:45 PM

visual studio is giving me that error and wont compile

do i need to delete other references/using statements that could conflict?

ill try that

 

side question  trying to implement that webconfig way  where do i put the <caching> between

Mar 23, 2012 at 4:49 PM

i think i know what it was, i had steve sandersons class even though not used i didnt comment it out.

I bet that was causing it.