Other languages: pt-BR
A sample application to show how to easily setup a database with EF Core and Fluent Migrator.
Here are some concepts this sample presents:
- How to setup EF Core and Fluent Migrator.
- How to automatically create the database if it does not exist (using EF Core).
- How to run migrations (using Fluent Migrator).
- Make sure you have .NET SDK version 7.
- Make sure you have docker and docker compose.
- Start the database by running
docker compose up -d
. - Navigate to the sample project:
cd src/Sample
. - Run
dotnet run
.
- This sample uses PostgreSQL, but it can be easily adapted to use any database provider.