ASP.NET Core Reference - sheared-sasquatch/sparkclips GitHub Wiki

How to run unit tests

cd SparkClips.Tests
dotnet test

Data migrations

Whenever you make changes to the schema, you need to create a database migration, and then apply it so that you can migrate all of the existing data without having to drop your tables and start over.

dotnet ef migrations add "migration name goes here" --context SparkClipsContext

dotnet ef database update --context SparkClipsContext

Using direct SQL Statements

  1. Download SQL Server Management Studio
  2. Login to SQL Server Management studio. Credentials are in the private channel

Login page