Preview course for free

Preview this course for free.

To preview this course, you will need to create a free account. Once you register, we'll send
you right along and you will get access to the first task in the course (day 1).


No credit card or payment info is required. Existing users, sign-in to begin.

Preview this course for free.

To preview this course, you will need to create a free account. Once you register, we'll send
you right along and you will get access to the first task in the course (day 1).


No credit card or payment info is required. Existing users, sign-in to begin.

Take a class, join the instructor-supported online learning revolution.

Choose a class date below to get started. Every class comes with a complimentary subscription which begins immediately even if your class doesn't start for a week or two. You can be learning in just minutes.

Upcoming classes: Choose this date >>


Take this course.

You'll need to get a subscription to join this course.
Our subscriptions start at $29.

View your subscription options
Course Summary

Essential ASP.NET MVC is for developers who need a comprehensive introduction to ASP.NET MVC. This course covers almost every topic you might need to work day-to-day as a proficient MVC developer without branching out into ancillary topics such as Entity Framework.

You will begin by answering the fundamental question:

Why should I choose ASP.NET MVC over ASP.NET WebForms?

Then we'll dig into working with all the acronyms of MVC: We will cover how to create and work with controllers and action methods. What are models and how do we create them, populate them, and use them to pass data around our application. And we will cover how to create strongly-typed views to build rich user interfaces in MVC.

Next up is input and validation. MVC has fantastic support for building input forms and both client-side and server-side validation. We'll see that in addition to being effective it is also quite simple.

We will see how we can create maintainable views by leveraging layouts (AKA master pages), partial views, and child actions.

Finally, we'll see how to bring everything together with a real-world data scenario: working with data grids.

Course Objectives

After completing this course, you should be proficient in the following:

  • Create new ASP.NET MVC projects.
  • Create strongly-typed views using razor syntax.
  • Fix common razor syntax errors, differentiate expressions versus statements.
  • Prevent script-injection vulnerabilities.
  • Pass data from the controller action to the view using view models.
  • Create clean URLs using routing.
  • Create input forms that accept all types of user input.
  • Enable server-side validation using built-in attributes.
  • Report validation errors.
  • Enable MVC’s client-side validation libraries.
Edit video url:

Edit Course Objectives











Change objectives

Tasks

Search tasks

tasks found
Save
Preview this task « This task is available right now for free, no payment info required.
Why Choose ASP.NET MVC over WebForms
3 Activities | Time: 36m | Types: Blog (2) | Podcast (1)
"Hello world", MVC style
8 Activities | Time: 1h 30m | Types: Article (1) | Blog (2) | Practice (1) | Run (2) | Video (2)
Create views in MVC (Razor and C#)
8 Activities | Time: 1h 34m | Types: Blog (5) | Practice (2) | Video (1)
Pass data to views
9 Activities | Time: 1h 23m | Types: Article (4) | Blog (1) | Practice (2) | Video (2)
Build composite views
7 Activities | Time: 1h 9m | Types: Article (2) | Blog (2) | Practice (2) | Video (1)
Layouts with Razor (AKA master pages)
6 Activities | Time: 1h 41m | Types: Article (2) | Blog (1) | Practice (1) | Video (2)
Handle parameters from a URL (routing in MVC)
5 Activities | Time: 1h 16m | Types: Blog (1) | Practice (2) | Run (1) | Video (1)
Build Rich Forms to Accept Data with MVC
5 Activities | Time: 1h 1m | Types: Article (2) | Blog (1) | Practice (1) | Video (1)
Validating User Input with Data Annotations
7 Activities | Time: 1h 30m | Types: Article (3) | Practice (3) | Video (1)