Nice work! Keep it up! The only problem here is that a new user will register and will create an admin role for himself. Then the user-new admin could do anything. I suppose you create the admin etc. and then you remove it from the register form.
after IIS Deploy roles are not displaying. How to Fix that. my users , registration and loging all works fine in both Local and IIS deply. but only Roles are working in Local.
@@francisopogah363 You just need to include item in the for loop. @foreach (var item in Model) { @Html.DisplayFor(modelItem => item.Id) @Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.NormalizedName) }