This is a simple looking application that will show how to create and use a Cosmos DB with Entity Framework.
*** PLEASE NOTE THIS REQUIRES .NET 6 and Visual Studio 2022 ***
I am consistently on the look out for a better DB solution for my projects. I have tried several, while some have worked, I have hit limitations on each one I have tried. I came across using Cosmos DB with Entity Framework. Since Microsoft added a free tier for Cosmos I decided to give it a try.
-
Clone this repository
git clone https://github.com/CodingWithDavid/CosmosWithEntityFramework cd CosmosWithEntityFramework
-
Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions
-
Press F5
- Creating a Cosmos DB through Entity Framework
- Using the Azure Cosmos DB local Emulator
- Adding records to the database
- Added new entities to the database with out having to change the schema