Getting Started
  • Introduction
  • MVC Architectural Pattern
  • Setting Up the Development Environment
  • Your First ASP.NET MVC App
  • MVC in Action
  • Adding a Theme
  • Quiz
  • Course Layout
  • Asking Questions
ASP.NET MVC Fundamentals
  • Introduction
  • Action Results
  • Action Parameters
  • Convention-based Routing
  • Attribute Routing
  • Passing Data to Views
  • View Models
  • Razor Syntax
  • Partial Views
  • Cheat Sheet
  • Exercise
  • Solution
  • Summary
Working with Data
  • Introduction
  • Entity Framework
  • Database-first vs Code-first
  • Code-first Migrations
  • Changing the Model
  • Seeding the Database
  • Overriding Conventions
  • Querying Objects
  • Eager Loading
  • Shortcut to Package Manager Console
  • Cheat Sheet
  • Exercise 1: Add membership type to list of customers
  • Exercise 2: Add birthdate to customer
  • Exercise 3: Display the list of movies and their details
  • Summary
Building Forms
  • Introduction
  • The Markup
  • Labels
  • Drop-down Lists
  • Model Binding
  • Saving Data
  • Edit Form
  • Updating Data
  • Cheat Sheet
  • Exercise
  • Troubleshooting Entity Validation Errors
  • Summary
Implementing Validation
  • Introduction
  • Adding Validation
  • Styling Validation Errors
  • Data Annotations
  • Custom Validation
  • Refactoring Magic Numbers
  • Validation Summary
  • Client-side Validation
  • Anti-forgery Tokens
  • Cheat Sheet
  • Exercise
  • Code Review
  • Summary
Building RESTful Services with ASP.NET Web API
  • Introduction
  • What is a Web API?
  • RESTful Convention
  • Building an API
  • Testing an API
  • Data Transfer Objects
  • Auto Mapper
  • Using Camel Notation
  • IHttpActionResult
  • Cheat Sheet
  • Exercise
  • Summary
Client-side Development
  • Introduction
  • Calling an API Using jQuery
  • Bootbox Plug-in
  • Optimizing jQuery Code
  • DataTables Plug-in
  • DataTables with Ajax Source
  • Returning Hierarchical Data
  • DataTables: Removing Records
  • DataTables: Discussion Points
  • Single Page Applications (SPAs)
  • Cheat Sheet
  • Exercise
  • Summary
Authentication and Authorization
  • Introduction
  • The Problem
  • Authentication Options
  • ASP.NET Identity
  • Restricting Access