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#

Marcel Bos
Marcel Bos
9,138 Points

Comic Books Controller as a child of class Controller

Why is the Comic Books Controller made as a child of the MVC Controller base class?

david harris
david harris
7,054 Points

If you are creating a web application using the MVC framework, a controller needs to be derived from the controller base class. This ensures that the program recognized it as a controller. It is also the best practice to put these controllers in the controller folder.