This repostitory consists of project for following aricles in my blog (originally written for .NET Core 3.0 (Preview 4) but packages are updated to match .NET Core 3.1)
- .NET Core 3.0 (Preview 4) Web API Authentication from Scratch (Part 1): Up and Running.
- .NET Core 3.0 (Preview 4) Web API Authentication from Scratch (Part 2): Password Hashing.
- .NET Core 3.0 (Preview 4) Web API Authentication from Scratch (Part 3): Token Authentication
- Download / Clone this repository.
- Install latest .NET Core 3.1
- Create new database
MyDatabase
in SQL Server. - Open Visual Studio Code in
WebApiCore31
folder. - Open integrated terminal using Ctrl+Shift+`
- Execute command
dotnet restore
in the terminal. - Execute command
dotnet ef database update
in the terminal. (to update the database using migrations) - Execute command
dotnet watch run
in the terminal.