Open Closed

Using Cosmos DB with abpio project as backend DB #356


User avatar
0
kirtik created

Our customer would like to use Cosmos DB for storing all businees data. Is it possible to support storing data in Cosmos DB from the abpio project temaplte wtih Angular as frontend ? In that case what happens to the system data like Account, Identity Auditing etc? Can we shift that to Cosmos DB as well ?

Can you please point us in the right direction urgently please ?

Thanks


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

    Hi,

    See https://github.com/abpframework/abp/issues/386

    EF Core team has completed this feature : https://docs.microsoft.com/en-us/ef/core/providers/cosmos/?tabs=dotnet-core-cli

    You can use Microsoft.EntityFrameworkCore.Cosmos package.

  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    EF Core supports CosmosDB, you can switch to CosmosDB. There's no integration doc for CosmosDB but it's pretty similar to Oracle integration. Check out https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Oracle-Official follow the similar steps for CosmosDB

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