Skip to content

Sample application to show how to use Cosmos with Entity frame work

License

Notifications You must be signed in to change notification settings

CodingWithDavid/CosmosWithEntityFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple project to show how to use Cosmos DB with Entity framework

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 ***

by David Gallivan

Why

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.

Getting Started

  1. Clone this repository

    git clone https://github.com/CodingWithDavid/CosmosWithEntityFramework
    cd CosmosWithEntityFramework
  2. Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions

  3. Press F5

What's in the App

  1. Creating a Cosmos DB through Entity Framework
  2. Using the Azure Cosmos DB local Emulator
  3. Adding records to the database
  4. Added new entities to the database with out having to change the schema

Problems or Suggestions

Open an issue here

Thank You

Resources

About

Sample application to show how to use Cosmos with Entity frame work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages