logo

create ASP.net MVC framework web application select individual accounts in Authentication create project change connectionString to    Rename table names goto IdentityModels.cs file  paste below code in ApplicationDbContext class protected override void OnModelCreating(DbModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.Entity().ToTable(“Users”); modelBuilder.Entity().ToTable(“Roles”); modelBuilder.Entity().ToTable(“UserLogins”); modelBuilder.Entity().ToTable(“UserClaims”); modelBuilder.Entity().ToTable(“UserRoles”); } Now open packageManagerConsole and run these 3 commands Enable-Migrations add-migration init update-database it will create all user and […]

Read more

First install openssl in your windows, then open make environment variable of it so that openssl is accessible at any path of cmd To generate pfx file from crt you need 2 files, better if these 2 are at same path 1- .crt file 2- .key file (provate key) in cmd go to path of .key & .crt file and […]

Read more