Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The goal of this assignment is to build a basic database - driven ASP.NET Core MVC web app as a way of getting an overview
The goal of this assignment is to build a basic databasedriven ASP.NET Core MVC web app as
a way of getting an overview of ASP.NET Core before we start diving deeper into its various
topics like routing, binding, etc. This app will look and behave very similarly to the Movies List
web app that is covered in Chapter of our Murach book, as such it will very much be your
guiding example! As part of this you will:
Develop a first basic web app in part I, using the Entity Framework EF Core code first
approach.
And then in part II introduce a change to the data model and therefore database as
part of an improvement to the web app so that you get a start down the path of using EF
Cores support for migrations.
First, a word of caution
I remind you to make sure you do your own work on this assignment and resist any urge to copy
code from any other source eg your classmates, the web, etc. Not only is this the only way to
learn how to program but also everyones solution will be run through MOSS to check for
academic integrity violations. There is zerotolerance for such violations and any encountered
with be dealt with in accordance with Conestogas policy. I also remind you that if you are not
typing syntactically correct code in yourself, then you are not learning to program!
Finally, Ill note that these assignments are very representative of what will be expected of you
on exams so it is very much in your interest to ensure that you are capable of doing them on
your own.
Hints
The general idea is that there will be some time to work on these assignments in class and, if
necessary, I can offer hints if I see that you are struggling with certain parts. Also, you should try
to pace out your work on this assignment over the coming weeks.
How will it be graded?
Ill say from the outset that there is absolutely no reason to not get the emphasis here is
simple: get your hands dirty coding to solve basic problems and, if needed, I will do what I can
to help steer you towards a working and complete solution.
Accompanying each assignment will be an Excel marking sheet that details how your grade will
be calculated so you obviously want to make sure that you are doing everything as its laid out
there.
Whathow to submit?
Zip up your entire solution into one zip file and submit that file to the eConestoga dropbox for
the assignment.You can submit multiple solutions but only the latest ie most recent one will
be looked at and evaluated.
What will you build?
Suppose some users want an app to keep track of their Blood Pressure BP measurements
and get some sense of whether or the measurement is high or low or in target range. For this
assignment, you will start down the path of building an app to help them by developing an
ASP.NET Core MVC web app that:
Stores BP measurements ie an id the systolic and diastolic values, the date of the
reading, the position they were in for the measurement, and a category for the
measurement in a MS SQL Server Express or Developer edition database
The homemain page of the app will, for now, be very simple and contain only a link to
the all measurements page and another link to a page to add a new measurement.
The all measurements page will display all the currently recorded measurements in an
HTML table with the following columns:
Initially ie Part I just:
The systolic and diastolic values of the measurement eg in a BP
reading of is the systolic value and is the diastolic value.
The date that the measurement was taken.
And then with a migration ie Part II you will add:
A category and a position for each measurement
Please see below for more details on these properties and the screenshots at the
end of the assignment to get a better sense of how this should look and behave.
Provide a link on the all measurements page that takes the user to a new page with a
form to add a new measurement
On that page the user should be able to enter valid fields for a measurement and
add it to the database and then get returned to the all measurements page
Each measurement in the HTML table, on the all measurements page, will be
accompanied by two action links:
An Edit link to edit the existing measurement, which takes you to a form filled in
with the measurementss current values and a button to update the measurement
if altered.
A Delete link to delete the existing measurement, which takes you to a page that
the user can use to confirm they want to delete it
Both these pages should do the desired editdelete action in the database and
then return the user to the all measurements page
All the action pages: Edit, Add, Delete should also have a cancel button that takes you to
the all measurements page
Your web app should also use the basics of ASP.NET Cores validation capabilities to
ensure that:
All properties should be required
Systo
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started