Which code segments should you include in Target 1 and Target 2 to map the URLs?

DRAG DROP
You need to ensure that URLs for log manipulation are mapped to the controller.
You have the following code:

Which code segments should you include in Target 1 and Target 2 to map the URLs? To answer, drag the appropriate code segments to the correct targets. Each code segment may be used once, more than once, or not at all. You need to drag the split bar between panes or scroll to view content.
Select and Place:

microsoft-exams

2 thoughts on “Which code segments should you include in Target 1 and Target 2 to map the URLs?

  1. GetLog is an action
    RunLog is a controller
    Getlog/{action} is invalid because it is action/action and no controller used
    Correct answer is RunLog/{action}

  2. Nothing in the question references an id – I know this is a more common default, but isn’t it better have the Controller name match, as in url: “RunLog/{action}”?

Leave a Reply

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


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