Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

part 1 Create a web application using ASP.NET Core MVC that represents a Course Registration program for a school. The Course Registration program does not

part 1

Create a web application using ASP.NET Core MVC that represents a Course Registration program for a school. The Course Registration program does not need to be connected to a database, but you will need objects on the server to represent Courses, Instructors, and Students. There should be three views, in addition to a homepage and a main layout with a navigation menu. The first view is the Instructors view. This view is a page displaying a table with InstructorId, First Name, Last Name, Email address, and the Course that they teach. Each instructor can only teach one course. The second view is the Students view. This view is a page displaying a table with StudentId, First Name, Last Name, Email address, and Phone number. Finally, there is a third view for Courses. This view is a page displaying a table with CourseId, Course Number, Course Name, and Description. Clicking the course name should open up a modal dialog that displays a table that has all students who have enrolled in that course. You do not need to implement the ability to add, edit, or delete individual objects but you should include sample data in your application so the views are populated for easy viewing of the available views and features.

Part 2

For this assignment, re-visit the Course Registration website you created in Assignment 1. You must enhance the website to include forms that allow you to create and edit students, instructors, and courses. The Student entry page should also allow students to register for existing courses. The entry forms can be placed on the same screen as the existing pages that show the list of students, instructors, and courses, or they can be added on new pages. Use Entity Framework Core migrations to take the classes for students, instructors, and courses and create a database. Since students can enroll in multiple courses and courses can hold multiple students, this is a many-to-many relationship. You'll need to define a class and table called StudentCourse that holds records linking students to courses. Use LINQ to generate a list of Students for each course and display it in the modal dialog you developed in Assignment 1. You do not need to add validation at this point to the front-end, but you should have validation on the back-end that prevents bad data from entering the database. Define a data access layer that can do validation and error-handling. Your application should also use DTOs between the data layer and the controller rather than passing around the actual database entity classes. Please show the step-by-step screenshot of your visual studio so I know where each part of the code goes. Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Describe the location and structure of the pancreas.

Answered: 1 week ago

Question

Methods of Delivery Guidelines for

Answered: 1 week ago