I'm somehow beginner in redis and I know it is easy in redis if you want to cache list or object or something like that but I don't know how can I store my web pages in redis? notice that I'm using servicestack as my redis client and for saving data using service stack to my redis I'm using such code:
IRedisClient redisClient = new RedisClient();
var rc = redisClient.As<person>();
rc.Store(new person()
{
Id = 1,
Name = "foo"
});
rc.Store(new person()
{
Id = 2,
Name = "bar"
});
var result = rc.GetAll();
as I told you before I have a big question in my mind that it is
How can I cache my .html or .cshtml pages in .net core web application with using Redis?