Multiple choice technology web technology

In which method do we resolve the ambiguity arising from having different home controllers in different areas of MVC application?

  1. Index method of HomeController.cs

  2. About method of _Layout.cshtml

  3. RegisterRoutes method in Global.asax.cs

  4. Login method of HomeController.cs

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

When multiple MVC areas have different HomeController classes, ambiguity is resolved in the RegisterRoutes method in Global.asax.cs. This is where you configure route constraints and namespaces to specify which HomeController should handle requests. Options A and D refer to specific controller methods, and option B references a view file, not routing logic.