Starts in:
1 DAY
16 HRS
47 MIN
14 SEC
Starts in:
1 D
16 H
47 M
14 S
Open Closed

Disable redis #4688


User avatar
0
selwade created

Hello,

I'm using the application template, and this client is connected to another application using the OpenID, what I need is the following: 1- Disable Redis caching. 2- Remove unnecessary tables from the database, such as users, OpenID, ... etc.

  • ABP Framework version: v6.0.2
  • UI type: Angular
  • DB provider: EF Core

8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    1- Disable Redis caching.

    "IsEnabled": "false" https://docs.abp.io/en/abp/latest/Redis-Cache#configuration

    2- Remove unnecessary tables from the database, such as users, OpenID, ... etc.

    You can remove some built-in modules, However, Removing the identity module( users tables) can be complicated.

    You can consider starting from an empty web application.

    https://docs.abp.io/en/abp/latest/Getting-Started-AspNetCore-Application

  • User Avatar
    0
    selwade created

    Thank you for your response Maliming. I have tried isenabled false and it worked fine with module template, but it is not working with application module. About starting from an empty app, I will give it a try.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    but it is not working with application module.

    You can complete removing the AbpCachingStackExchangeRedisModule module from your template.

  • User Avatar
    0
    selwade created

    Thanks, I had to remove AbpDistributedLockingModule too.

  • User Avatar
    0
    selwade created

    Regarding the removal of unused tables, is there any documentation available for Web API and Angular, similar to the example provided for MVC?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There is no such document.

  • User Avatar
    0
    selwade created

    Ok thank, Then how to remove unused tables for api application?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can remove thesePre-Built Application Modules from the project. then update the migrations.

    https://commercial.abp.io/modules

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06