Microsoft
70-515 · Question #85
70-515 Question #85: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #85. The question stem and answer options stay visible for context.
Question
You are developing an ASP.NET MVC2 application. You add an area named Admin to the application. Admin contains a controller class name to MainController. You create a view named Index outside the Admin area. You need to add a link in the Index view that will call the Default action. Wich markup should you use?
Options
- A<%= Html.ActionLink("Admin","Default", "Main", new
- B<%= Html.RouteLink("Admin","Default", new
- C<%= Html.RenderAction("Admin","Default", new
- D<%= Html.Action("Admin","Default",new {area="admin"}) %>
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 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.