Açık Kapalı

Using Cosmos DB with abpio project as backend DB #356


User avatar
0
kirtik oluşturuldu

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 Cevap
  • User Avatar
    0
    liangshiwei oluşturuldu
    Destek Takımı 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 oluşturuldu
    Destek Takımı 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 v8.2.0-preview Updated on Mart 25, 2024, 15:11