Assuming a person has a first name, last name, email, date of birth, please create a class that:
- Allows you to set the first name, last name, email, and DOB in an initializer
- Allows you to call
Age
and return the age of the person - Allows you to call
FullName
and return the 'Last, First' name
- Review Homework
- vanity urls
- More model bindingg!
- action results
- filters
- Fork this repo, clone the repo to your machine
- Create a new MVC app in the directory that you cloned.
- Create a page that allows you to enter a list of names and ages for 5 people. (use mutliple textboxes)
- Save the data from the page into a Session variable called "ClassMates"
- Create a page that displays the classmates you created
Allowing the user to view the page that list classmates as a plain content or in a JSON format based on a "view" parameter passed to the page.
##Nightmare Mode Authenticate the user by creating an auth cookie