DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio 2012. The application processes
data for a bakery and contains a controller named BagelController.es that has several actions. The
GetBagel action is defined in the following code segment.
The GetBagel action is the only action that should be accessed via a URL pattern. Routes to the other
actions in the controller must be suppressed.
The default route must map to HomeController and the Index action.
You need to build the routes.
Which three code segments should you use in sequence? (To answer, move the appropriate actions
from the list of actions to the answer area and arrange them in the correct order.)
Explanation:
routes.IgnoreRoute(“Bagel/{*PathInfo}*”) should be second.
as, you want to ignore the route before if is served by default route handler.
https://msdn.microsoft.com/en-us/library/cc668201.aspx
Are you 100% sure?
Confirmed.
yep
http://ardalis.com/ignoreroute-in-asp-net-routing-is-order-dependent
Looks good to me. I agree