BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

Using distributed sql server cache instead of redis #5296


User avatar
0
alin.berce created

Hi,

Can Sql server cache be used instead of redis is the database is also on Sql server? Any drawbacks? Any advices on how to implement Sql server caching?

Thank you for your time.


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    It's not related to ABP, you can check the Microsoft document: https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed?view=aspnetcore-7.0#distributed-sql-server-cache

  • User Avatar
    0
    alin.berce created

    Thank you for your answer and link.

    I think it's related to abp because when using the template with a public web site, abp uses redis. Would configuring sql server caching for an abp project break abp functionality that relates on redis? The idea is to not use redis at all in the solution.

  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Would configuring sql server caching for an abp project break abp functionality that relates on redis? The idea is to not use redis at all in the solution.

    No problem, you can safely use SQL Server instead of Redis.

    Abp does not depend on redis, it uses distributed cache, you can use any distributed cache implementation(Redis, SqlServer...etc)

    You can remove the Redis Nuget package from the project.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.