Project 6-1 Build the FAQ app For this project, you will build a multi-page, data driven app with multiple routes like the one shown below. The Home page on initial load 12 Student projects for...

1 answer below »
Project 6-1 Build the FAQ app For this project, you will build a multi-page, data driven app with multiple routes like the one shown below. The Home page on initial load 12 Student projects for Murach’s ASP.NET Core MVC The Home page with a topic selected The Home page with a category selected 13 Student projects for Murach’s ASP.NET Core MVC The Home page with a topic and category selected Specifications  When the app starts, it should display a list of all frequently asked questions (FAQs).  The Home page should have a Bootstrap navbar across the top with links that filter the FAQs by topic. One of the links should clear any filtering and display all the FAQs.  The Home page should have a Bootstrap list group to the left of the list of FAQs with links that filter the FAQs by category.  Here’s how the filtering should work: o On initial load, or when the user clicks the All FAQs link, the app should display all the FAQs. o When the user clicks a category link, the app should filter FAQs by category. If the user subsequently clicks a topic link, the FAQs will be filtered by topic and by category. o When the user clicks a topic link, the app should filter FAQs by topic. If the user subsequently clicks a category link, the app should filter the FAQs by topic and by category.  Use custom routes to create the links for filtering. Use static segments to distinguish the topic route from the category route.  The FAQ model class should have a primary key that’s generated by the database.  The Topic and Category model classes should have primary keys that are strings. Use primary key values that will be user friendly in a URL.  The FAQ class should have foreign key fields that relate it to the Topic and Category classes.  Use EF Code First and migrations to create a database based on your model classes. Include seed data for the topics, categories, and FAQs. (You can copy the data shown above, or you can create your own topics, categories, and FAQs.)  The URLs for the app should be lowercase with trailing slashes. 14 Student projects for Murach’s ASP.NET Core MVC Project 6-2 Update the FAQ app For this project, you will update the app from project 6-1 to use attribute routing. The Home page with a topic and category selected Specifications  The URLs for the app should no longer include the “home/index” segments.  Here are the URLs the app should use: On initial load or no filtering (All FAQs): https://localhost:5001 When filtering by topic: https://localhost:5001/topic/js/ When filtering by category: https://localhost:5001/category/hist/ When filtering by topic and category: https://localhost:5001/topic/js/category/hist/ Note: To make this work, you need to apply multiple attributes to the Index() action method of the Home controller, including an attribute for the default route. Be sure to apply the attributes in the correct order, from most to least specific.
Answered 8 days AfterApr 19, 2022

Answer To: Project 6-1 Build the FAQ app For this project, you will build a multi-page, data driven app with...

Raja answered on Apr 28 2022
104 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