https://github.com/rd003/dotnet6-mvc-login
It is a source code of youtube video on role base authorization in dot net 6 mvc.. it is the link of that video https://www.youtube.com/watch?v=KylxLlXsKjE&list=PLP8UhDwXI7f_-5Swp8DlNa6wD15e1JYrU&ab_channel=DevRavindra
https://github.com/rd003/dotnet6-mvc-login
Last synced: about 1 year ago
JSON representation
It is a source code of youtube video on role base authorization in dot net 6 mvc.. it is the link of that video https://www.youtube.com/watch?v=KylxLlXsKjE&list=PLP8UhDwXI7f_-5Swp8DlNa6wD15e1JYrU&ab_channel=DevRavindra
- Host: GitHub
- URL: https://github.com/rd003/dotnet6-mvc-login
- Owner: rd003
- Created: 2022-10-07T09:19:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T11:22:13.000Z (over 2 years ago)
- Last Synced: 2023-12-13T11:51:56.500Z (over 2 years ago)
- Language: C#
- Size: 48.8 KB
- Stars: 11
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotnet6-Mvc-Login
👉 Now upgraded to .net 8.0
# How to run it 🐺
1. clone the project
`https://github.com/rd003/Dotnet6-Mvc-Login.git`
2. open `appsettings.json` file and update connection string's
"ConnectionStrings": { "conn": "data source=your_server;initial catalog=Dotnet6MvcLogin;integrated security=true;TrustServerCertificate=True;encrypt=false" }
3. Delete `Migrations` folder
4. Open Tools > Package Manager > Package manager console
5. Run these 2 commands
```
(i) add-migration init
(ii) update-database
````
6. Now you can run this project
## Admin registration 💻
- Uncomment the `RegisterAdmin` method in `UserAuthenticationController`
- Run the project and hit the url `https://localhost:7198/UserAuthentication/RegisterAdmin`
- Login with these credentials `username: admin, password: Admin@12345#`