Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# ASP.NET MVC Basics Views Adding a View Review

help plz

Quiz Question 1 of 5 Please fill in the correct answer in each blank provided below. Bummer! Unfortunately, that answer is incorrect. Skip Quiz Review Video Get Help Next Question Given a controller named Home and an action method named About, calling the View method without any parameters will cause MVC to look for a view named Detail .cshtml in the “Views/ Shared ” folder.

Submit Answer

1 Answer

Steven Parker
Steven Parker
231,275 Points

The answers are in the question.

Look at the capitalized words in the first part of the question:
"Given a controller named Home and an action method named About ..."

The controller name is also the subfolder in Views where the view files are kept.
The action method name is also the filename of the view file itself.

thank's steven