Microsoft
70-515 · Question #82
70-515 Question #82: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #82. The question stem and answer options stay visible for context.
Question
You are developing an ASP.NET MVC 2 Web Application that displays daily blog posts. Visitors access a blog post page by using a Web address to pass in the year, month, and day-for example, contoso.com/2010/07/20. The application must register the appropriate route to use the Display action of the blog controller. Only page visits with a four digit year, two-digit month and two-digit dat can be passed to the action. You need to ensure that the route is registered correctly, Which code segment should you add?
Options
- Aroutes.MapRoute("DailyBlogPosts",
- Broutes.MapRoute("DailyBlogPosts",
- Croutes.MapRoute("DailyBlogPosts",
- Droutes.MapRoute("DailyBlogPosts",
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.