Question: CSD 3354 - Web Applications Using C# .NET 2023W Assignment 1 Creating a controller and the views 1) Create a ASP.NET MVC 5 project in
CSD 3354 - Web Applications Using C\# .NET 2023W Assignment 1 Creating a controller and the views 1) Create a ASP.NET MVC 5 project in new solution. Name it as your_name_your_ID_As1 2) Create Class Student with 4 properties: student id, and student first name, last name, gpa 3) Create a controller named StudentController with the following methods: - Index() This method must show the view that outputs the message "Welcome to my page", and "My name is YOUR NAME". YOUR NAME must be passed to the view from the method using ViewBag. - StudentList() This method creates 3 students (one - you, and 2 your friends) using Student class that you created, and passes them to the view that shows the list in a table. In addition this method also calculates the average PGA of all 3 students and also passes to the view. The view shows the Average GPA. The method must pass the data to the view using the parameter. 4) Run your project and open each method/view and take a screenshot. Note: put your name and id in the comments of the files. Also comment the code explaining what you are doing. Submission: Submit your project as zipped folder, and the screenshots of the code, and the screenshots of the web pages in the browser
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
