• Login via
  • or
  • New here ?

You are creating a different view for each of several different browsers/devices, such as Home.iemobile.cshtml and Home.IPad.cshtml. What is the best way to implement it so your application knows to look for the specific views?

A.Use the viewport tag
B.Add a new DisplayModeProvider for each of the special view types you want to support
C.Put logic into each action to select the appropriate view based on information in the request
D. You don't have to do anything. The framework automatically handles browser/device detection by reading the new extensions on the views
Answer and Feedback
Answer:B

Questions in to this exercise. Do you want test?

MVC Quiz 3 | Englishfreetest.com

Share this post

some other questions in the test.

Some other questions you may be interested in.

Loading...