Course info
Jan 17, 2011
3h 17m

In this course we'll look at the new features of the ASP.NET MVC 3.0 framework, including the new Razor view engine, new unobtrusive AJAX features, NuGet package management, and more.

About the author
About the author

Scott has over 15 years of experience in commercial software development and is a frequent speaker at national conferences, and local user groups. Scott is a Microsoft MVP and has authored books on several Microsoft technologies, including ASP.NET, C#, and Windows Workflow.

More from the author
C# Fundamentals
6h 5m
Apr 16, 2019
More courses by Scott Allen
Section Introduction Transcripts
Section Introduction Transcripts

Razor and ASP.NET MVC 3.0
Hi this is Scott Allen of Pluralsight and this module is a look at the Razor view engine in ASP. NET MVC. I'm going to assume you are familiar with some of the conventions around views in an MVC application. If you're new to ASP. NET MVC, you'll want to look at some of the other modules that we have available for MVC in the Pluralsight on-demand library that go into how to use views and the view conventions. In this module, we're going to focus on Razor. Specifically, we're going to talk about some of the goals, about why Razor exists, we're going to look at its beautiful syntax and the conventions that we can follow in a Razor template, and we'll also drill into building the equivalent of a master page layout for our application using Razor, and also build some partial views.

Controllers in ASP.NET MVC 3.0
Hi. This is Scott Allen of Pluralsight and in this module we're going to look at controllers in ASP. NET MVC3. We're going to talk about global action filters, dynamic view models, the new ActionResult types that we can return from a controller action, and how to perform output caching on a child request.

Models in ASP.NET MVC 3.0
Hi this is Scott Allen of Pluralsight and in this module we will talk about the MVC3 improvements for models. MCV3 introduced a number of improvements for model validation. There are new attributes and even if you already write your own custom attributes, you'll be happy to hear about improvements in the attribute API. There are also some new interfaces to simplify validation in some scenarios, and these interfaces also work to provide an easier approach to client validation, particularly when you have custom validation logic for your models or view models.

NuGet Package Management
Hi this is Scott Allen of Pluralsight and in this module I want to demonstrate NuGet, a package manager for. NET and Visual Studio. In this module, I'll tell you what a package manager is and why you should use it. I'll then demonstrate how you can use NuGet to find and install packages, that is, software pieces and assemblies and things that you want to use in your project. I'll do that both using Visual Studio and a console window that you can open in Visual Studio. And we'll also take a look at what you need to do to create a package. But first I want to be very clear that NuGet is not a tool that is specific to ASP. NET MVC projects. This is a tool that you can use inside of Visual Studio for console applications, WPF applications, Azure applications, any type of application. However, I'm giving it some special coverage here in the MVC course because I think it's going to appeal to ASP. NET MVC developers, particularly if you are a developer that relies on open source software.

Dependency Resolution in ASP.NET MVC 3.0
Hi this is Scott Allen of Pluralsight and in this module we're going to talk about dependency resolution in ASP. NET MVC3. If you're wondering what I mean by dependency resolution, then the first part of this module will explain what that process is and why it is important both for the MVC framework and for you, the developer who's going to use the MVC framework. Then we'll take a look at some specific areas where the MVC framework uses dependency resolution to go out and find components and services that it needs to perform work. For example, somewhere inside of an MVC application there is a component that knows how to load, instantiate, and activate a controller. You have the ability to plug in your own controller factory to perform some of this work. We're going to take a look at how you can do that and how it works with the dependency resolution in MVC3.