Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1: [10 POINTS) Create a new ASP.NET Core MVC web application called CarOptions, then complete the following task: A. [1 POINT] Set the default

image text in transcribed

QUESTION 1: [10 POINTS) Create a new ASP.NET Core MVC web application called "CarOptions", then complete the following task: A. [1 POINT] Set the default layout for all views to use a new layout called _UsersLayout". The _UsersLayout is a copy of the existing _layout. B. [1 POINT] Customize the default layout only for the "Privacy" view to use a new layout called "_AdminLayout". The _AdminLayout is a copy of the existing _layout. C. [1 POINT] Create a Car model considering the following requirements. Car CarID - Primary Key Name - The database type should be a national character with a maximum of 30 characters. D. [1 POINT] Create an Option model considering the following requirements. Option OptionID - Primary Key Description - Required with the error message "Please enter a description!" - The database type should be a character with a variable length, a maximum of 255 characters. E. [1 POINT] Given that each Car can have many options, update the previous models to include whatever is required to establish the appropriate relationship between the models. F. [1 POINT) Add the required MVC controllers with views, using Entity Framework. G. [1 POINT) On the appropriate file, customize the connection string so that the database should be "CarsDB, and use SQL Server authentication. H. [1 POINT) Add database migration called "CreateDatabase" then update the database. 1. [1 POINT] On the Car details view, add one calculated field to display the total number of cars" options. J. [1 POINT] Run the application successfully. QUESTION 1: [10 POINTS) Create a new ASP.NET Core MVC web application called "CarOptions", then complete the following task: A. [1 POINT] Set the default layout for all views to use a new layout called _UsersLayout". The _UsersLayout is a copy of the existing _layout. B. [1 POINT] Customize the default layout only for the "Privacy" view to use a new layout called "_AdminLayout". The _AdminLayout is a copy of the existing _layout. C. [1 POINT] Create a Car model considering the following requirements. Car CarID - Primary Key Name - The database type should be a national character with a maximum of 30 characters. D. [1 POINT] Create an Option model considering the following requirements. Option OptionID - Primary Key Description - Required with the error message "Please enter a description!" - The database type should be a character with a variable length, a maximum of 255 characters. E. [1 POINT] Given that each Car can have many options, update the previous models to include whatever is required to establish the appropriate relationship between the models. F. [1 POINT) Add the required MVC controllers with views, using Entity Framework. G. [1 POINT) On the appropriate file, customize the connection string so that the database should be "CarsDB, and use SQL Server authentication. H. [1 POINT) Add database migration called "CreateDatabase" then update the database. 1. [1 POINT] On the Car details view, add one calculated field to display the total number of cars" options. J. [1 POINT] Run the application successfully

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

Students also viewed these Databases questions

Question

What are the advantages of arbitration?

Answered: 1 week ago