August 2018
Intermediate to advanced
298 pages
5h 33m
English
For starters, let's begin with our Sign In and Sign Out mechanism. We need a User entity for that. So far we haven't created one. Let's create it.
Follow these steps to begin working with our Sign In and Sign Out mechanism:
using System;using System.Collections.Generic;using System.Linq;using System.Security.Cryptography;using System.Text;namespace RestBuy.Entities{ public class User : BaseEntity {...... }}
The interesting thing is that we have defined a hash password algorithm. We also make use of a secret salt. This way, even if our database for passwords is breached, our user passwords will not be easily recovered (of course combined ...
Read now
Unlock full access