Starts in:
2 DAYS
2 HRS
53 MIN
11 SEC
Starts in:
2 D
2 H
53 M
11 S
Open Closed

How to get connect IdentityDbContext in my .*EntityFrameworkCore project #2465


User avatar
0
mc86 created

Hello I want to get all the User Role Org entities from IdentityDbContext in my .*EntityFrameworkCore project How can I achieve that? thanks~ or are there User Role Org cache in Redis ?


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

    Can you try to use System.Text.Json in the console app?

    https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-how-to?pivots=dotnet-6-0

  • User Avatar
    0
    mc86 created

    System.Text.Json causes the problem. It's working now. tks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Good news.

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