3 ms·
I guess I just haven't seen memcached integration in .NET. All of the caching examples I've seen use the framework caching components. I was also wondering if
by nopal 16y ago
I guess I just haven't seen memcached integration in .NET. All of the caching examples I've seen use the framework caching components.
I was also wondering if they'd developed any generic custom code to fetch from Redis or fetch from SQL/insert into Redis, and how it fits into their application logic. (e.g. does it happen before they make a LINQ to SQL query, or does it intercept LINQ to SQL queries and return results from Redis).
- mythz 16y agoIf you're interested, here is a C# Redis Client: https://github.com/ServiceStack/ServiceStack.Redis https://github.com/ServiceStack/ServiceStack.Redis With downloads for windows: https://github.com/dmajkic/redis/downloads https://github.com/dmajkic/redis/downloads Here's an example of an OSS 1-page mini-StackOverflow, written only using Redis: http://www.servicestack.net/RedisStackOverflow/ http://www.servicestack.net/RedisStackOverflow/ And this page has caching web services examples (at the bottom), with source code of non-non-invasively dropping in a Redis cache provider using an IOC. http://www.servicestack.net/ServiceStack.Northwind/ http://www.servicestack.net/ServiceStack.Northwind/ If you want to learn more about Redis, here is an article on how to build an application using only POCO's and Redis: https://github.com/ServiceStack/ServiceStack.Redis/wiki/DesigningNoSqlDatabase https://github.com/ServiceStack/ServiceStack.Redis/wiki/Desi... With more info on the wiki: https://github.com/ServiceStack/ServiceStack.Redis/wiki/DesigningNoSqlDatabase https://github.com/ServiceStack/ServiceStack.Redis/wiki/Desi...
- nopal 16y agoGreat, thanks!!