Microsoft
70-519 · Question #298
70-519 Question #298: Real Exam Question with Answer & Explanation
Sign in or unlock 70-519 to reveal the answer and full explanation for question #298. The question stem and answer options stay visible for context.
Question
You are developing an ASP.NET MVC 2 Web application. The application contains a controller named HomeController, which has an action named Index. The application also contains a separate area named Blog. A view within the Blog area must contain an ActionLink that will link to the Index action of the HomeController. You need to ensure that the ActionLink in the Blog area links to the Index action of the HomeController. Which ActionLink should you use?
Options
- AHtml.ActionLink("Home", "Index", "Home")
- BHtml.ActionLink("Home", "Index", "Home", new {area = ""}, null)
- CHtml.ActionLink("Home", "Index", "Home", new {area = "Blog"}, null)
- DHtml.ActionLink("Home", "Index", "Home", new {area = "Home"}, null)
Unlock 70-519 to see the answer
You've previewed enough free 70-519 questions. Unlock 70-519 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.