Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mongodb-developer/migratedmoviesefcore

A demo repo to go alongside a tutorial on migrating from PostgreSQL to MongoDB in a .NET EF Core application
https://github.com/mongodb-developer/migratedmoviesefcore

csharp demo dotnet efcore mongodb

Last synced: 5 days ago
JSON representation

A demo repo to go alongside a tutorial on migrating from PostgreSQL to MongoDB in a .NET EF Core application

Awesome Lists containing this project

README

        

# Migrated Movies EF Core Demo Application

This is a demo that is linked to a soon to be published tutorial on migrating from PostgreSQL in an EF Core application to MongoDB.
This is a common scenario for people looking to modernize their applications and enjoy the benefits of MongoDB's scalability, flexibility and performance.

## Running the application

You can run this application yourself by setting up a PostgreSQL database and loading the [sample data](https://mdb.link/rm-postgres-demo-data).

There is also a branch ```with-mongodb``` if you would like to run the MongoDB version.

Once you have a database available with the data loaded, add your connection string to a ConnectionStrings section within appsettings.Development.json then build and run from the .NET CLI in terminal:

```bash
dotnet run
```