Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
220,937 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