I am using L2S Repository pattern in my ASP.Net 3.5 web app. But I am not quite satisfied with the performance as experienced on the live. I searched google and came across SQL Caching using SqlCacheDependency Class. But i have'nt got any tutorial or link that will explain how to use it in my scenario.
So help me guys...Any help or guidance will be highly appreciated.
Please use some sample codes or online references....
Thanks in Advance
Update: My Repository
public interface IRepository<T> where T : class
{
T GetById(int id);
IQueryable<T> GetAll();
void SaveOrUpdate(T entity);
void DeleteOnSubmit(T entity);
}