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
In this video, we’ll see how “strongly typed” views offer an alternative to using the ViewBag object to pass data from our controller to our view.
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.3 -b using-strongly-typed-views
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Rocky Harting
Courses Plus Student 1,836 Points1 Answer
-
Huy Tran
344 Points1 Answer
-
Ernesto Emmanuel Gutierrez Muñoz
13,520 Points1 Answer
-
PLUS
Ellis Garaudy
Courses Plus Student 9,705 Points1 Answer
-
Daniel Hildreth
16,170 Points1 Answer
-
Tomasz Sporys
11,258 Points1 Answer
-
Zeljko Porobija
11,491 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