Timecard project for CSI3450 at Oakland University
Download .NET SDK 7.0
cd to the file with .csproj
run dotnet user-secrets init
If you do not know the localhost connection string, you can reference ConnectionStrings.com
It should be along the lines of this, replacing <username>
and <password>
with your username and password, respectively
Server=localhost;Database=timecard;Uid=<username>;Pwd=<password>;
Once you have your connection string, run
dotnet user-secrets set 'ConnectionStrings:Default' 'Server=localhost;Database=timecard;Uid=<username>;Pwd=<password>;'
I don't know how finnicky macs are, but if that doesn't work, try double quotes
Run dotnet run
in the command line (make sure you're in the directory with .csproj)
Employee ID: 987654321
Password: password2
Employee account:
Employee ID: 212821421
Password: password6