Our great sponsors
-
ASP.NET Core
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
so i am learning asp.net mvc and when i create a new project with individual user account authentication it creates project with database containing tables like aspnetuserroles(with userid and roleid with primary key and foreign key column), aspnetroles(which has id and roles as column) and aspnetusers(which has roles column). what i want to know is why it creates this many tables for user and why not use only roles column in aspnetuser table.