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 Adding an Action to a Controller

I'm trying to understand /ComicBooks/Detail URL

Where is the ComicBooks coming from? I know about the Detail that it's from the Detail() method but I can't find the reference to ComicBooks

1 Answer

Steven Parker
Steven Parker
231,248 Points

Your thinking is right on track with where the course is going, you're just getting ahead of things a bit.

The "ComicBooks" part of the URL identifies the controller (the name with "Controller" removed). This will be covered in the next video, Overview of URL Routing.