Question: the question as below: Open the sample application with the Home and Product controllers. Add a common header to all views. The header should say

the question as below:

Open the sample application with the Home and Product controllers.

Add a common header to all views. The header should say Welcome to XYZ Store. I dont mind how it is formatted as long as I see the text in all your views, the assignment is successful.

this is the home controller and product controller:

the question as below: Open the sample application with the Home and

Product controllers. Add a common header to all views. The header should

but l am really confused where to put the all common header to all views and below is the rest questions snapshot

say Welcome to XYZ Store. I dont mind how it is formatted

the question ask to add as below

Add a common footer to all views. The footer should say Copyright of XYZ Store. If there is an existing footer, replace it with this wording.

In the same MVC application, make the following changes

Add a folder under Views called as Other

Create a new view called as Details under View/Other folder. This can be done by right-clicking on the View/Home folder and choosing Add-View. (See screenshot above)

Call this view from HomeController Index Method.

Load the URL /Home. It should now display the Details View.

and this is the rest of the snipshot

as long as I see the text in all your views, the

assignment is successful. this is the home controller and product controller: but

the most important part is the layout but where to add the common headder and the footer as below

l am really confused where to put the all common header to

all views and below is the rest questions snapshot the question ask

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!