WEB API/ Security, Authentication, and Authorization in ASP.NET Web API
Important
Update-package Microsoft.Asp.Net.WebApi
Add User
use OWinTest
INSERT [dbo].[AspNetUsers] ([Id], [Email], [EmailConfirmed], [PasswordHash], [SecurityStamp],[PhoneNumber], [PhoneNumberConfirmed], [TwoFactorEnabled], [LockoutEndDateUtc], [LockoutEnabled], [AccessFailedCount], [UserName])
VALUES (N'9f15bdd0fcd5423190c2e877ba0228ee', N'abc@gail.com', 1,
N'ALkHGax/i5KBYWJ7q4jhJmMKmm2quBtnnqS8KcmLWd2kQpN6FaGVulDmmX12s7YAyQ==',
N'a7bc5c5c-6169-4911-b935-6fc4df01d313', NULL, 0, 0, NULL, 0, 0, N'Jignesh')
Migration: Configurate, Init
enable-migrations -ContextTypeName OwinAuthentication.Models.OwinAuthDbContext
Add-Migration -configuration OwinAuthentication.Migrations.Configuration InitialEntities
Update-Database -configuration:OwinAuthentication.Migrations.Configuration -Verbose
Комментариев нет:
Отправить комментарий