Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
Your are going to create asp.net mvc web application in which you have to develop different view for each of the different browsers and devices(report.iemobile.cshtml,report.operamobile.cshtml etc.) which of the following best way you choose to achieve this desire goal?
on 1/31/2015 | Category:
ASP.NET MVC Interview questions
| Views: 6623 |
Select from following answers:
Put browser detection logic in each action in the controller and select appropriate view.
Add a new DisplayModeProvider for each of view types you want to support.
Use the viewport <meta> tag.
viewport does not do any direction to views, wherer DisplayModeProvider informs the framework to use those views(IEMobile,OperaMobile) where the context condition is fulfilled. It also eliminates the need for writing device detecting code in each action in each controller.
Show Correct Answer
< Previous :
You are going to develop an ASP.NET MVC which supp ...
Next > :
Your are currently working in ASP.Net MVC web appl ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
Your are currently working in ASP.Net MVC web application in which hav ...
In your current ASP.NET MVC web application, you want accepts E-mail i ...
You are working in an ASP.NET MVC web application in which you created ...
Your are working on ASP.Net MVC web application and you have created a ...
Your company is going to develop solution in which the most of the par ...
You company is designing an enterprise level web-based application usi ...
Your are going to develop asp.net web application using 3-layeted arch ...
You are going to develop an ASP.NET web application which will be acce ...
Latest Interview Questions
How to have a TextBox use all upper-case (or lower-case) characters?
How to identify the working area of a screen without using the system- ...
How to check the screen resolution in Dot Net?
What is the disadvantage of LINQ over Stored procedure?
How to get the running EXE Path?
Which tag is used to place Navigation's link on the page in HTML5?
What is Class and What is ID?
Which of the following statement is correct?