Please enable JavaScript.
Coggle requires JavaScript to display documents.
AUTH_2 - Coggle Diagram
AUTH_2
PROFILE-DATA
Adding
In-RegisterForm
ApplicationUser
Models/IdentityModels.cs
DivingLicense
prop
string
Decorate
Required
StringLength(255)
Migration
AddDrivingLicense..
..ToApplicationUser
Create
RegisterViewModel
Models/AccountViewModels.cs
AddProp
DrivingLicense
With-Decoration
[Display(Name="")]
Register.cshtml
Add
Form-Group
For-DrivingLicense
Register-Action
AccountController
new ApplicationUser {.., ..}
DrivingLicense =
model.DrivingLicense
DEPLOY
UserData
EmptyMig
SeedUsers
In-DbTable
AspNetUsers
SelectUsers
RC->Script
Copy-To
Sql("..")
AspNetRoles
AspNetUserRoles
Run-Mig
Remove
Records
ROLES
MoviesController
In-Index
If-User.InRole(..)
"Can.."
Return
View("List")
Else
View("ReadOnlyList")
In-View
Remove
Button
New
Delete
Edit-Link
AllowRoles
To-Action
[Authorize(Roles= "Can.., Can..")]
RoleName
StaticClass
Create
In-Model/
CanManageMovies
public
const string
HTTPS-ENABLE
Enable-SSL
ProjectSelect
F4
SSL Enable : True
Copy
SSL-URL
RC-Properties
Web > ProjectUrl
Replace-URL
Trust
Dummy
Certificate
On-Run
HttpsOnly
In-App_Start
filters.Add(..)
new RequireHttpsAttribute()
FilterConfig