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 Controllers Section Review

ALBERT QERIMI
ALBERT QERIMI
49,872 Points

Anybody help with quiz questions

Anybody help with quiz questions that need to fill correct answers ?

Every controller in ASP.NET MVC must inherit from the ____ base class. In ASP.NET MVC, a "page" is represented by the combination of a controller and a _____

2 Answers

Chris Adamson
Chris Adamson
132,143 Points

See below, there is a Controller base class for derived controllers, and in the MVC (model-view-controller) paradigm for ASP.NET, the controller is combined with the view to create a 'page'.

Every controller in ASP.NET MVC must inherit from the Controller base class. In ASP.NET MVC, a "page" is represented by the combination of a controller and a view.

Nikhil Korremula
Nikhil Korremula
3,615 Points

ASP.NET MVC controllers and action methods must be defined using the access modifier.

"public" is what you are looking for Nikhil.