Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mongodb-developer/migratedmoviesefcore
- Owner: mongodb-developer
- License: apache-2.0
- Created: 2025-02-05T14:33:02.000Z (16 days ago)
- Default Branch: with-postgresql
- Last Pushed: 2025-02-13T16:27:50.000Z (8 days ago)
- Last Synced: 2025-02-13T17:32:31.311Z (8 days ago)
- Topics: csharp, demo, dotnet, efcore, mongodb
- Language: C#
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```