- Go to -> tools -> NuGet -> Console and run
Install-Package log4net
. (This command install the log4net package that we will use latter in this exercise) - Create a new branch
git checkout -b login
- Write a C# method that takes as a user input userid and password (type string). After 3 wrong attempts, user will be rejected.
- Don't forget to add and commit after each step.
- Merge back the branch to the master
- Delete the login branch (See presntaion form the previous lab).
- Create a new branch
git branch log-login
- On the master add a message for failed and successful logins.
- Additionally, add a
Hashtable
that will store a hard coded usernames and passwords. - Change your function that login validation will use the created
Hashtable
. - Move to branch log-login
git checkout log-login
- Add logging for each successful and failed attempts logging the username and number of attempt.
- Give different levels of log message to different log messages.
- Merge back to the master
- Resolve all the conflicts
-
Notifications
You must be signed in to change notification settings - Fork 0
lab4-ravivos21 created by GitHub Classroom
License
BGU-ISE/lab4-ravivos21
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
lab4-ravivos21 created by GitHub Classroom
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published