Projemizi oluşturduğumuzda ASP.NET Core Identity kullandığımız için benim Register.cshtml ve Register.cshtml.cs adında iki tane dosyam var şimdi Register.cshtml.cs kodlarını şöyle yüzeysel olarak inceleyelim. Dersin video versiyonu için: using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; using Microsoft.Extensions.Logging; namespace GursoyCNCBakim.Areas.Identity.Pages.Account { …
Daha Fazlasi