You are on page 1of 4

Lab 1: ASP.

NET Razor Pages Web Application with Database Model (5%)


This lab relates to the following Course Learning Requirements:

CLR 1: Design, build, and test a WEB application using a multi-tiered architecture.

Objectives:
1. Create an ASP.NET Razor Pages web application.
2. Use the C# programming language to create properties for a class.
3. Add a data model that provides CRUD capabilities to a Razor Pages web application.

Note: The term “data model” refers to a “database model,” in this case a tabular database.

Pre-Assignment Instructions:
To prepare you for this assignment, read the content of Modules 1, 2 and 3 and complete their embedded learning activities, in particular
Module 2, Learning Activity 2.3 and Module 3, Learning Activity 3.3.

(Results & Draws - Calgary Stampede, n.d.)

1
Assignment Tasks:
1. Create an ASP.NET Razor Pages web application named MyBarrelRacers.
2. Use the C# programming language to create properties for a class. Refer to the table, below, for the property identifiers.
Hint: Review the properties you created in Module 3, Learning Activity 3.3 before you create your properties.

Ladies Barrel Racing


Number Name Home Score
610 Mowry, Kassie Dublin, Texas 16.95

3. Add a data model that provides CRUD capabilities to a Razor Pages web application.
4. Test the CRUD capabilities of your Razor Pages web application.
5. Submit your Racers folder in a .zip file in Brightspace (Note: The screenshot, below, shows an example of a path to a Racers folder).

2
References
Results & Draws - Calgary Stampede. (n.d.). Cs.calgarystampede.com. https://cs.calgarystampede.com/events/rodeo/results-and-draws?
year=2022&day=17&event=LBR

wadepickett. (n.d.). Tutorial: Get started with Razor Pages in ASP.NET Core. Learn.microsoft.com.
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-7.0&tabs=visual-studio#create-a-razor-pages-
web-app

wadepickett. (n.d.). Part 2, add a model. Learn.microsoft.com. Retrieved February 15, 2023, from
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/model?view=aspnetcore-7.0&tabs=visual-studio

3
Assignment Grading Rubric (5%)

Criteria Excellent Good Requires Improvement Points


80-100% 50-79% <50%
Assignment Structure Formatted as per Formatted as per Formatting has not been
assignment instructions. assignment instructions followed.
in most components.
/5
No issues with citations Minor issues with Incorrect formatting for
or references. citations or references citations and references1
Total Points /5

1
If there is evidence of missing citations or references, this could constitute plagiarism and will receive a grade of ‘0’. The regulations of academic dishonesty will apply.

You might also like