Description
In this practice exercise, you will be guided through modifying the SportsPro app to include an About page and improve the application’s URLs in a way that uses some of the skills described in Chapter 6. Upon completing this exercise, you should be able to enhance the SportsPro application by shortening the URLs. Follow along with the instruction sheet and Panopto videos provided for the SportsPro – Improve URLs Practice Tutorial. The videos will guide you step-by-step through adding an About page and shortening the URLs. You may use the starter application files provided below to begin this assignment.Practice 6-1 SportsPro (instruction sheet only)Practice Tutorial 6-1 SportsProImproveURLs.html (links to instruction sheet and videos with zip file)
Unformatted Attachment Preview
Chapter 6 How to work with controllers and routing
Introduction to the SportsPro web application
The SportsPro Technical Support website is for the technical support department of SportsPro, a software
development company that develops software for sports leagues. The purpose of the website is to track
technical support services calls (referred to as incidents) in a database that also stores information about
the company’s customers, software products, and technicians. The web application supports two primary
types of users. First, it lets administrators manage the products, technicians, customers, and incidents that
are in the database. Second, it lets technicians update incidents that have been assigned to them.
Note: by the time you complete all the user stories for this case, you will have created a relatively realistic
web app that you can use as an example and pattern for creating your final web application project for this
class. Each assignment in building this web application is set up to be like a user story (or series of user
stories) and is organized to be aligned with the chapters in the textbook. The first number in each
assignment refers to the chapter in the book that relates to the assignment. You will need to read each
corresponding chapter in the textbook to prepare for completing the assignment. The ERD for the
TechSupport database that will be used with the SportsPro application is provided below. You will not need
to create the model classes for creating the database, they are provided for you in the starter app.
Practice 6-1 Improve the URLs for the SportsPro App
For this assignment, you will modify the SportsPro website in a way that uses some of the skills described in
chapter 6.
The About page
Specifications
1. Add an About page like the one shown above that is displayed by the About action of the Home
controller.
2. Use attribute routing to shorten some of the URLs for the app like this:
Request URL
/about
/products
/technicians
/customers
/incidents
Controller/Action
Home/About
Product/List
Technician/List
Customer/List
Incident/List
Turn in the SportsPro app
1. Once you are satisfied with your application, close Visual Studio, compress the SportsPro app at the root
level, and rename the compressed folder using the following naming convention:
FirstInitial_LastName_Ch06SportsPro
For example:
M_Korzaan_Ch06SportsPro
Upload the renamed, compressed folder to the appropriate Dropbox in D2L.
2
Purchase answer to see full
attachment