Similar Posts

Leave a Reply

Your email address will not be published.

8 Comments

    1. Hi,
      It depends on the complexity of your Db call. As it falls back to the DB Connection. In my example, it would go back to around 4-6 seconds. But you can keep the cache updated regularly by integrating Hangfire in the background.

      Regards

      1. Hi, If we are using an search functionliy with diffrent type of parameters , how we have to use Redis in that senario.

  1. when publishing the website to the server lets sat IIS on windows server. do i have to install redis on windows server?

    1. Hi. Ideally, you would need Redis Cache to be running on docker containers in production. However you could also install it directly onto windows as mentioned in this article. The only aim is to make sure that Redis Cache Server is accessible from wherever you would be deploying your ASP.NET Core application.

      Regards