appsettings.json --> just change the connection string to your SQL server database.
exemple : "MAIN": "server=DESKTOP-FHOV0U7\SQLTASK;database=TaskManagement;User ID=sa;password=1234;"
The database will be created automatically. Then, lunch both application at startup.
That all.