Project 8: Build the Trips Log app (murachs asp.net core mvc 8-1)Forthis project, you will build a data-driven web app that uses view models topass data from controllers to views, the ViewBag object...

1 answer below ยป







Project 8: Build the Trips Log app (murachs asp.net core mvc 8-1)















Specifications







ยท



When the app starts, it should display trip data
and an Add Trip link.







ยท



The layout for this web app should display a
banner at the top of the page, and a subhead below it. However, the subhead
should only display if thereโ€™s text in the ViewData property for it.







ยท



When the user clicks the Add Trip link, a three
page data entry process should start.







ยท



On the first page, the user should enter data
about the trip destination and dates. The Accommodations field on this page
should be optional, and the rest should be required.







ยท



The second page should only display if the user
entered a value for the Accommodations field on the first page. On this page,
the user should enter data about the accommodations. The accommodation value
the user entered should display in the subhead, and the fields should be
optional.







ยท



On the third page, the user should enter data
about things to do on their trip. The destination the user entered on the first
page should display in the subhead, and the fields should be optional.







ยท



When the user clicks the Next button on the
first or second page, the web app should save the data posted from the page in
TempData. Use this data to get the user entries to display in the subheads as
needed, but make sure any data that needs to be saved to the database persists
in TempData.







ยท



When the user clicks the Save button on the
third page, the web app should save the data posted from the page and the data
in TempData to the database. Then, the Home page should display with a
temporary message that the trip has been added.












ยท



When the user clicks the Cancel button on any of
the Add pages, the data in TempData should be cleared and the Home page should
display. You can use this statement to clear the data:










Answered Same DayOct 22, 2022

Answer To: Project 8: Build the Trips Log app (murachs asp.net core mvc 8-1)Forthis project, you will build a...

Mohit answered on Oct 22 2022
63 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here