Skip to content

Hani-ALHamad/asp.net-core-user-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic User System (ASP.NET Core MVC)

My first ASP.NET Core project, its a user system app with some features, using the same idea as my one of my previous projects: User System.
I wanted this project to be as exact the same as my previous UserSystem project, but since ASP.NET Core's Identity does offer many functionalities, i have decided to keep some of them in this app.

• Features:

  • Signing up a new account, it does not allow duplicate usernames.
  • Logging to an existing account.
  • The ability to upload an avatar to the database, the ability to remove it too (avatars are stored as binary data).
  • The ability to change the password for your existing account.
  • The ability to change your username.
  • The ability to download your account data.
  • The ability to delete your account.
  • Logging out from your account.
  • All data are stored in a MS SQL Server database.

*All features above are using ASP.NET Core's Identity except of the avatar part, i made it manually.

*I made multiple changes to the Identity as well, like switching everything from using Email into using Username, i have disabled many things in the Identity too.

About hosting:
*I am using a free MS SQL database hosting FreeASPHosting.net which means the database might be slow or down sometimes.

*I used Heroku to host my website, Heroku does not support ASP.NET Core officially and i had to use a workaround in order to deploy my app there, i couldn't access the Heroku Config Vars in order to add connection string variable from inside my app, thats why the website is deployed using a hidden GitHub repository, it is the exact same as this one but with connection strings being added there.


Sign Up page:
alt text

Log in page:
alt text

Home page:
alt text

Adding avatar:
alt text alt text

Changing Username:
alt text

Changing Password:
alt text

Download your data/ delete your account:
alt text

the database:
alt text

AspNetUsers (Identity table):
alt text alt text

UserAvatar table:
alt text alt text