This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Adding a View 4:03
- Adding a View Review 5 questions
- Using Razor for View Layout 5:30
- Using the Razor Syntax 1 objective
- Displaying a List with Razor 4:16
- Displaying a List of Values 1 objective
- Setting Data in the Controller 5:51
- Using ViewBag 2 objectives
- Adding Design Files 4:41
- View Layouts 5:42
- Section Review 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
We’ve been focused on getting our project setup and adding our first controller and view. In this video, let’s update our website’s design.
Design Files
You can download a ZIP file of the design files at http://treehouse-project-downloads.s3.amazonaws.com/aspnet-mvc-basics-design-files.zip.
Follow Along
To follow along commiting your changes to this course, you'll need to fork the aspnet-comic-book-gallery repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork>
cd aspnet-comic-book-gallery
git checkout tags/v3.5 -b adding-design-files
Design Process
The design process for the Comic Book Gallery website started with creating an overall layout that adhered to Bootstrap’s layout conventions by following their documentation at http://getbootstrap.com. Then we downloaded a free Bootstrap compatible theme from the great website https://bootswatch.com. From there, we did some minor customization to the styles, using CSS.
Additional Learning
If you want to learn more about the great Bootstrap CSS framework, don’t miss these Treehouse resources.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Monika Polishetty
5,639 Points3 Answers
-
Tyler Rodriguez
8,480 Points1 Answer
-
Xiaolong Yang
4,374 PointsThe name viewbag does not exist in the current context
Posted by Xiaolong YangXiaolong Yang
4,374 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up