How to effectively use Redis Cache in .NET Core (Framework, Standard)

preview_player
Показать описание

Hello everybody I'm Nick and in this .NET tutorial I will show you how you can use Redis in your .NET applications the correct way. I will talk about key value pair storage but also the pub/sub aspect of Redis. We will have a subscriber for our Redis cluster and we will publish messages and see them consumed in real time. We will also enable master-replica replication and see how Redis deals with this scenario.

Don't forget to comment, like and subscribe :)

Social Media:

#dotnet #redis #cache
Рекомендации по теме
Комментарии
Автор

One of the most underrated tutorial channels on YouTube. Keep it up!

MarcusOrciuch
Автор

Great video! I like how you explained each step and incorporated Docker.

partialinfinity
Автор

Good tutorial, Nick. Used this pub/sub feature in one of the projects to comunicate between admin part an the public website, very simple and elegant solution.

calinmarian
Автор

You're the best man! Best tutorials on Youtube

ades
Автор

Perfect explanation. Should be model to every attempt out there.

swenmeinert
Автор

Thanks a lot, your explanation is literally perfect

ismailkhouya
Автор

this was really helpful and quick, thanks.

wowDepressive
Автор

Appropriated Nice One!!! . I am expecting advance video on this topic.

SanjayKumar-twsp
Автор

I know it's not relevant, but I love the sound of your keyboard - what make/model? Keep Youtubing! This is clearly my favorite channel to keep up and to be inspired

noblenetdk
Автор

@Nick Do you have a recommendation for a standard pattern for grabbing data from the database if the cache isn't populated, and then for updating the cache?

MatthewKrieger
Автор

Now I remember why I stopped writing .net apps :) Great tutorial tho!

johnlovell
Автор

How would you implement this in a Clean Architecture structure? (MediatR, Query, Commands).

maartenvissers
Автор

Hi, I subscribed to your mailing list but still could not find the source code that was used in the video. Also, if I wanted to start from scratch, would it be to just do a dotnet new console on the command line?

GovernorSilver
Автор

I can't get your example to build because Visual Studio cannot find that class NewCacheEntryRequest that you used in your CacheController. Is there any particular reason you had to use that request class instead of just passing in a key and value?

GovernorSilver
Автор

does subscriber work in oneMessage-to-oneSubscriber mode or one-to-many (assuming I run a cluster of web apps)?

Zhovten
Автор

Thanks Nick. I'm curious how others would handle per-user settings.

kolesplace
Автор

Can one configure maxmemory-policy through StackExchange Redis?

entityhomecinema
Автор

Hello that's good content, can you please make an example for a Redis with certificate connection and Login and Password ?

ismailbenjemra
Автор

Nice vid! I only hope that your chapsa is not too big. :P

othonh
Автор

Hi @nick! Great video again! I just wanna ask what will happen if the master fails or crash. Does the slave automatically took place in writing the cache? Thanks and Godless! Hoping for another video that will be covered the rabbitmq or kafkha.

kevinmarkandrada