ВВассралман
ВВассралман
CC#
Created by ВВассралман on 2/20/2025 in #help
Mapping to avoid data dublicating.(Just help with ideas)
public sealed class AppDbContext : IdentityDbContext<ApplicationUser,ApplicationUserRole,string>
{
public AppDbContext(DbContextOptions options) : base(options)
{
}
public sealed class AppDbContext : IdentityDbContext<ApplicationUser,ApplicationUserRole,string>
{
public AppDbContext(DbContextOptions options) : base(options)
{
}
11 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Mapping to avoid data dublicating.(Just help with ideas)
Because now customer table has few columns and in this colums data is repeated (in I Aspuser i already have email which is needed for my customer)
11 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Mapping to avoid data dublicating.(Just help with ideas)
Im using asp identityuser from asp.net identity library, and my domain customer model has no unique properties i need email and id only and i want to try take this info from AspIdentityUser table
11 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Mapping to avoid data dublicating.(Just help with ideas)
I made domain models and business logic layers and after added asp identity
11 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Ef core seed (data)
It's my first project, that's why , i just don't know what's best practice
123 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Ef core seed (data)
I`m trying to create seed owner , but how implement that if im using Asp.Net Identity?
123 replies
CC#
Created by ВВассралман on 2/20/2025 in #help
Mapping to avoid data dublicating.(Just help with ideas)
My Customer model has two properties: Id and Email. The AspNetUser model has these properties plus additional ones. I want to use the Customer domain model, but creating a new Customer is meaningless when a new user registers he already has same fields (and values that is needed for Customer). Instead, I’ll retrieve the email (and possibly the ID) from the database and map it to Customer.
11 replies
CC#
Created by ВВассралман on 2/16/2025 in #help
I am implementing role-based authentication using ASP.NET Identity. I have issue with assign roles
if owner removes own permissions there is no owner anymore
4 replies