ASP.Net Core distributed cache Redis from entry to the practical exercise

I. Course Introduction

Life is short, I use .NET Core! Need to use the cache in many cases, the rational use of cache can on the one hand can improve the response speed of the program, while reducing the pressure on a particular resource access. So often used and does not change frequently and are very suitable for shared user data in the cache. In order to improve the efficiency of procedures, some of us will not often change frequently, but also use a lot of data cache. Especially the Internet product, the cache can be said to enhance the efficiency of the optimization of the first weapon. Microsoft is for us to achieve two cache ways: memory caching, distributed cache. If the cache is called personal understanding at the front end computer memory cache memory cache, if the cache on another device, called a distributed cache.

If this share program simply explain how to use the ASP.NET Core Redis to store cached data, then you are wrong, this is not the essence and focus of Eben training classes, but did not play with Redis distributed combat scenarios.

1.1 The course includes sharing knowledge points are as follows:

★ use a custom memory cache Caching in ASP.NET Core in

★ use memory caching in ASP.NET Core middleware in CacheMemory

★ Use Docker container environment for building distributed cache Redis

★ use a distributed caching in ASP.NET Core in Redis

★ ASP.NET Core use Redis session store Session

★ Docker built using Redis master copy from the container environment (the Replication-Redis)

★ ASP.NET Core use Redis implementation of distributed shared memory Session

1.2 This course is suitable for people to share as follows:

1), there is a certain .NET Core development foundation.

2), to learn and understand .Net Core cross-platform development technology.

3), like Eben share of children's shoes dry course. This course is not a zero-based teaching and learning we be sure to choose according to their actual situation. If you encounter any problems in the course of the learning process, please go directly to private Eben teacher online communication and exchange. Thank you for your understanding and support, I wish you a happy learning!

If you are a developer veterans, then this course is totally not recommend that you learn!

1.3、一句话总结今天我们学习达到的目标

学完本次"是猴子都看的懂的分布式缓存Redis实战课程"后, 你将彻底的掌握如何在我们的ASP.NET Core实战项目中使用分布式缓存Redis。

如果您同样对本次分享《ASP.Net Core使用分布式缓存Redis从入门到实战演练》课程感兴趣的话,那么请跟着阿笨一起学习吧。废话不多说,直接上干货,我们不生产干货,我们只是干货的搬运工。

二、在ASP.NET Core中使用自定义内存缓存Caching 

三  、在ASP.NET Core中使用内存缓存CacheMemory中间件

四、使用Docker构建分布式缓存Redis容器环境

五、在ASP.NET Core中使用分布式Redis缓存

六、ASP.NET Core使用Redis存储Session会话

七、 使用Docker搭建Redis主从复制(Redis-Replication)容器环境

1.png

Redis主从复制

八、ASP.NET Core使用Redis存储Session实现分布式共享

2.png


九、总结


【网易云课堂】:点击在线观看

【腾讯课堂】:点击在线观看

【微信公众号】:跟着阿笨一起玩NET





Guess you like

Origin blog.51cto.com/4500899/2450998