- fork this repository
- write all of your code in a branch named
lab-#
; +<your name>
e.g.lab12-amanda
- push to your repository
- submit a pull request to this repository
- submit a link to your PR in canvas
- Make sure you have activated your Dev Essentials Account.
- (Re)build out your Student Enrollment Site with the following additions:(Each lab is separate, practice the process...)
- In the "View All Students" page, each student links to their own details page
- The details page shows all the information related to that student with the ability to edit the information.
- The user should be able to save the changes once completed, and be redirected back to the "View All students" results.
- In the "View All Students" page, there should be a "delete" option to remove that student from the database
If You didn't do so in Lab 13, include the following:
- Include functionality on the "View All Students" page to search for specific students by Name, or class choice.
- Include functionality on the "View All Students" page to sort students by ASC or DESC order or First Name or Last Name.
**If you already implemented the above...
- Add an additional Database table for the Classes. Allow the option to edit the details of what each class consists of
- Class Name (this should match what the studetns are signing up for. You can make this field non-editable if you wish)
- Maximun number of students
- Class times
- etc....
- Include a page to view and edit the class details as well
- Can you show all the students that are in that class on the Class details page?
Your MVC website should contain the following at minimum once completed:
- Proper Documentation (Comments, Readme etc...)
- Two Controllers (Home, and Enrollment) (Dont forget to use Dependency Injection on these Controllers)
- One Model for
Student.cs
- View pages for each of the Controller Actions
- Data Folder with One DbContext file
- style.css file located in the
wwwroot
folder - _ViewImports file to enable TagHelpers
Startup.cs
should allow the following:- Routing Template
- Static Files, and MVC Middleware
- Configured to use the DBContext service
- Setup for Dependency Injection
- appsettings.json file for Database Connection string
- A Database.
- Tests. Research. Start Here: Testing a Controller.
A README is a module consumer's first -- and maybe only -- look into your creation. The consumer wants a module to fulfill their need, so you must explain exactly what need your module fills, and how effectively it does so.
Your job is to
- tell them what it is (with context)
- show them what it looks like in action
- show them how they use it
- tell them any other relevant details
This is your job. It's up to the module creator to prove that their work is a shining gem in the sea of slipshod modules. Since so many developers' eyes will find their way to your README before anything else, quality here is your public-facing measure of your work.
Refer to the sample-README in the class repo for an example.
-
7pts: Program meets all requirements described in Lab directions
-
3pts: Code meets industry standards
-
Readme.md required for submission. Missing readme document and tests will result in a best score of 2/10