I have a .NET DLL on my site. I’d like to use Cache() like you can on ASP.net websites, but it’s just a class library project.
I’m guessing I’m missing a reference but I don’t know what it is.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look the the System.Runtime.Caching Namespace (assuming you’re using .Net4)
“The classes in this namespace provide a way to use caching facilities like those in ASP.NET, but without a dependency on the System.Web assembly”