Open Closed

Redis Usage #2973


User avatar
0
piseth created
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

10 Answer(s)
  • User Avatar
    0
    piseth created

    I don't know how to use Redis. I publish my application to IIS without using the Redis. 1/Is it required to have a Redis? 2/If i want to use a Redis, could you share a document to setup it working with ABP application?

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    If you use layered projects you need Redis.

    https://docs.abp.io/en/abp/latest/Caching https://docs.abp.io/en/abp/latest/Redis-Cache

  • User Avatar
    0
    piseth created

    If you use layered projects you need Redis. ==> do you mean if my project is created with "Tiered" selected before? When I created my project, i didnot tick it

    My application is like the following:

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I think Redis is not enabled by default. You can search for Redis keywords in the project.

  • User Avatar
    0
    piseth created

    I think Redis is not enabled by default. You can search for Redis keywords in the project.

    If i don't use it, it is no problem. right?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    correct

  • User Avatar
    0
    piseth created

    OK, thank you. Please kindly don't close this ticket. Let me learn to implement Redis and once i have questions, i will come back.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    OK, The question may be locked by the robot in the future, You can create a new one.

  • User Avatar
    0
    piseth created

    Thank you and i am sorry to ask, because i am really new to this: If the redis is enabled, a redis server is required? If so, how to configure it? and what redis server should be used?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    If the redis is enabled, a redis server is required?

    Yes.

    how to configure it? and what redis server should be used?

    https://docs.abp.io/en/abp/latest/Caching https://docs.abp.io/en/abp/latest/Redis-Cache

    You can always use the latest. or use docker.

    https://redis.io/download/ https://hub.docker.com/_/redis

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11