Multiple choice technology web technology

Which class is to be updated to specify the home controller in Mobile area?

  1. RazorLayout

  2. ViewStart

  3. HomeController

  4. MobileAreaRegistration

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In ASP.NET MVC, mobile area registration is handled by the MobileAreaRegistration class in the App_Start folder. This class inherits from AreaRegistration and is specifically designed to register mobile-specific areas. The HomeController (C) handles routing logic within an area, while ViewStart (B) manages view layouts and RazorLayout (A) is a layout file - none of these specify the area registration itself.