13. Razor Views

  1. 13.1. Templates
    1. 13.1.1. Templates are Frameworks
      1. 13.1.1.1. No Template
      2. 13.1.1.2. A Better Way
      3. 13.1.1.3. Templates Support Dynamic Content
    2. 13.1.2. Templates Provide Structure, Not Content
    3. 13.1.3. Check Your Understanding
  2. 13.2. Creating a Template
    1. 13.2.1. Razor
    2. 13.2.2. Hello Views
      1. 13.2.2.1. Controllers Return View Templates
      2. 13.2.2.2. Add a Template
    3. 13.2.3. Check Your Understanding
  3. 13.3. Using a Template
    1. 13.3.1. Passing Data to a Template
      1. 13.3.1.1. Accessing Data in a Template
    2. 13.3.2. Check Your Understanding
  4. 13.4. Iterating in a Template
    1. 13.4.1. Nested Loops
    2. 13.4.2. Check Your Understanding
  5. 13.5. Conditionals in a Template
    1. 13.5.1. Display Content if/else
      1. 13.5.1.1. Nesting Logic
      2. 13.5.1.2. Adding vs. Displaying/Hiding
    2. 13.5.2. Try It!
    3. 13.5.3. Check Your Understanding
  6. 13.6. Razor Forms
    1. 13.6.1. Start a New Project
    2. 13.6.2. CodingEvents Setup - Video
    3. 13.6.3. CodingEvents Setup - Text
    4. 13.6.4. Create and Render a Form - Video
    5. 13.6.5. Create and Render a Form - Text
    6. 13.6.6. Handle Form Submission - Video
    7. 13.6.7. Handle Form Submission - Text
  7. 13.7. The Shared Directory
    1. 13.7.1. Layout pages
    2. 13.7.2. Partial Views
      1. 13.7.2.1. Making a Partial View
      2. 13.7.2.2. <partial>
    3. 13.7.3. Check Your Understanding
  8. 13.8. Static Resources
    1. 13.8.1. Adding Custom Styles
    2. 13.8.2. Add Custom Scripts
    3. 13.8.3. Adding Images to the Site
    4. 13.8.4. Check Your Understanding
  9. 13.9. Bootstrap
    1. 13.9.1. Introduction
    2. 13.9.2. Bootstrap Layout
    3. 13.9.3. Bootstrap Tables
    4. 13.9.4. Bootstrap Forms
    5. 13.9.5. Check Your Understanding
  10. 13.10. Exercises: Razor Views
    1. 13.10.1. Getting Started
    2. 13.10.2. Expanding our Events Schedule
  11. 13.11. Studio: Spa Day!
    1. 13.11.1. Setup
    2. 13.11.2. The Customer Profile
    3. 13.11.3. List All Appropriate Facial Treatments
    4. 13.11.4. Mani or Pedi?
    5. 13.11.5. End Result
    6. 13.11.6. Bonus Mission