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 Data Model 4:51
- Updating the Data Model 2:39
- Creating a Data Model 2 objectives
- Using Strongly Typed Views 6:46
- Using Strongly Typed Views 2 objectives
- Improving Our View Layout 7:45
- Using Razor to Render Boolean Values 1 objective
- Applying Software Design Principles 3:26
- Software Design Principles Review 5 questions
- Adding the Repository 7:55
- Adding Repository Methods 2 objectives
- Updating the Controller 7:16
- Optional URL Parameters Review 5 questions
- Using the Visual Studio Debugger 7:07
- Validating a Bug Fix with the Debugger 5:23
- 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
Let’s update our Comic Book Detail view with the new layout from our designer.
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/v4.4 -b improving-our-view-layout
Code
Here’s the markup that the designer provided to us for the “Comic Book Detail” view.
<h2>The Amazing Spider-Man #700</h2>
<div class="row">
<div class="col-md-6">
<div class="well">
<h5><label>Series Title:</label> The Amazing Spider-Man</h5>
<h5><label>Issue #:</label> 700</h5>
<h5><label>Favorite:</label> Yes</h5>
<h5>Artists:</h5>
<div>
<ul>
<li>Script: Dan Slott</li>
<li>Pencils: Humberto Ramos</li>
<li>Inks: Victor Olazaba</li>
<li>Colors: Edgar Delgado</li>
<li>Letters: Chris Eliopoulos</li>
</ul>
</div>
</div>
<h5>Description</h5>
<p>Final issue! Witness the final hours of Doctor Octopus' life and his one, last, great act of revenge! Even if Spider-Man survives...<strong>will Peter Parker?</strong></p>
</div>
<div class="col-md-6">
<img src="/Images/the-amazing-spider-man-700.jpg"
alt="The Amazing Spider-Man #700" class="img-responsive" />
</div>
</div>
Additional Learning
For more information on how to build websites using Bootstrap, see this Treehouse course.
The Bootstrap documentation can be found on the official Bootstrap website.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Stephen Stewart
5,727 Points3 Answers
-
Elizabeth Hahn
21,034 Points2 Answers
-
mjmj
18,664 Points1 Answer
-
bkraider
7,837 Points0 Answers
-
bkraider
7,837 Points1 Answer
-
Daniel Hildreth
16,170 Points1 Answer
-
Aaron Selonke
10,323 Points1 Answer
-
Aaron Selonke
10,323 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