Which two approaches can you use?

You develop an ASP.NET MVC application. The application has several Razor views. The application must execute different server-side code for desktop and mobile devices.
You need to choose an approach to support mobile devices.
Which two approaches can you use? Each correct answer presents a complete solution.
A. Use different controllers and view for both desktop and mobile browsers, but render the views using Bootstrap framework.
B. Create separate areas for desktop and mobile browsers, implementing independent controllers and views for each.
C. Use the same controllers for both desktop and mobile browsers, but render different views depending on the device type.
D. Use different controllers and views for both desktop and mobile browsers, but render the views with the same Razor layout depending on the device type.

microsoft-exams

3 thoughts on “Which two approaches can you use?

  1. The answer is BD because “the application must execute different server-side code for desktop and mobile devices”.

  2. B. Create separate areas for desktop and mobile browsers, implementing independent controllers and views for each.
    C. Use the same controllers for both desktop and mobile browsers, but render different views depending on the device type.

    1
    2

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.