Manage your recollections
Here are some tips and tricks.
We typically run the app(s) from command line and so dev.ps1
opens Windows Terminal with
- API started
- Blazor with
dotnet watch build
- Blazor with
dotnet run --no-build
Execute from command line in root git repository folder:
dotnet ef migrations add {name} --startup-project src\Recollections.Api --project {data_project} --context {context}
Example:
dotnet ef migrations add NewMigration --startup-project src\Recollections.Api --project src\Recollections.Entries.Data --context Neptuo.Recollections.Entries.DataContext
From repository root:
dotnet publish --os linux --arch x64 /t:PublishContainer