August 2018
Intermediate to advanced
298 pages
5h 33m
English
Follow these steps to define our ViewModel for registration:

using RestBuy.Entities;using System.ComponentModel.DataAnnotations;namespace RestBuy.Application.ViewModels{ public class NewUserViewModel { [Required, MaxLength(50)] public string Username { get; set; } [Required, DataType(DataType.Password)] public string Password { get; set; } [DataType(DataType.Password), Compare (nameof(Password))] public ...Read now
Unlock full access