Cannot find airline sample app

Jun 30, 2015 at 9:56 PM
I'm trying to get the L2 cache to work, but I think something else needs to be initialized, because the 'Count' is always 0 and I don't see any performance improvement. I thought I would compare my code to the Airline sample to see what I'm missing, but I cannot find the sample on this site. I'm looking at the sample code at http://blog.3d-logic.com/2014/03/20/second-level-cache-for-ef-6-1/, but I think it's incomplete.
Can you tell me where to find the sample, or suggest another approach? Thanks so much.
Jul 1, 2015 at 12:53 AM
I think I've got it. In Application_Start(), I had to add
DbConfiguration.SetConfiguration(new EFCacheConfig());
Coordinator
Jul 4, 2015 at 6:47 PM
EF should automatically discover your configuration but AFAIR only if this is in the same assembly as the context class (https://msdn.microsoft.com/en-us/library/system.data.entity.dbconfiguration(v=vs.113).aspx). So yes, if EF did not discover your configuration automatically you need to tell it where it is.