views:

94

answers:

0

I'm working on integrating Memcached (using the Enyim Memcached library for .NET) in my application and would like to cache data at every layer (data, business, app). I'm using LINQ to SQL for the data access layer. In trying to cache LINQ entites I ran into a problem in that Enyim uses the Binary formatter for serialization, which is the wrong serializer for LINQ objects (should be DataContractSerializer).

Anyone have experience with this scenario that can offer suggestions? Any advice is insight or advice is most appreciated!