Open Closed

can not read data from IDistributedCache in HangfireBackgroundWorkerBase #4462


User avatar
0
ElifKaya created

Hi,

I want to delete data from cache by using HangfireBackgroundWorkerBase according to determined period. I could read cache data from manager but, I can not read from HangfireBackgroundWorkerBase with same cache key. How can I use cache data in backgrounjob worker.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.3
  • UI type: / MVC /
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): yes /
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you provide steps to reproduce the issue? thanks.

  • User Avatar
    0
    ElifKaya created

    Hi,

    Could you provide steps to reproduce the issue? thanks.

    I have get cache data in manager.cs and I can read data from appservice by using this manager method.I used same manager method in HangfireBackgroundWorkerBase, but

  • User Avatar
    0
    ElifKaya created

    Hi,

    Could you provide steps to reproduce the issue? thanks.

    I have get cache data in manager.cs and I can read data from appservice by using this manager method.I used same manager method in HangfireBackgroundWorkerBase, but

  • User Avatar
    0
    ElifKaya created

    Hi,

    Could you provide steps to reproduce the issue? thanks.

    I have get cache data in manager.cs and I can read data from appservice by using this manager method. No problem so far. I used same manager method in HangfireBackgroundWorkerBase, but get cache method result is always null.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I will check it out

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can't reproduce the problem. can you create a new project to reproduce the problem and share it with me? shiwei.liang@volosoft.com thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35