Introduction to ASP.NET MVC 3

This course introduces you to building applications with ASP.NET MVC 3, starting with installing the tools and finishing with a complete Web application.
Course info
Rating
(1966)
Level
Beginner
Updated
Mar 14, 2011
Duration
6h 31m
Table of contents
Introduction to ASP.NET MVC 3
Controllers in ASP.NET MVC 3
Razor Views in ASP.NET MVC 3
Working with Data in ASP.NET MVC 3 (Part I)
Working with Data in ASP.NET MVC 3 (Part II)
AJAX and JavaScript with ASP.NET MVC 3
Security and ASP.NET MVC 3
ASP.NET Infrastructure for ASP.NET MVC 3
TDD and Unit Testing with ASP.NET MVC 3
Configuration and Deployment with ASP.NET MVC 3
Description
Course info
Rating
(1966)
Level
Beginner
Updated
Mar 14, 2011
Duration
6h 31m
Description

Building Application with ASP.NET MVC 3 is a course designed to get you up and running with the MVC framework. The modules in the course will cover everything from setting up a development environment to deploying to a live web site. In between we'll drill into the details of controller, views, models, AJAX features, and persisting data to SQL Server

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
More courses by Scott Allen
Section Introduction Transcripts
Section Introduction Transcripts

Introduction to ASP.NET MVC 3
Hi, this is Scott Allen of Pluralsight and this is the first module in a course designed to demonstrate everything you need to build Applications with ASP. NET MVC. This course is primarily aimed at developers who are new to ASP. NET MVC, but I think I will be able to show you veterans a few new tricks too. We'll be starting at the very beginning in this first module. I'll first show you how to install all the tools that you need. We'll be using Visual Studio 2010, the Web Developer edition, which is a free tool for building web applications. But you can use other versions of Visual Studio 2010 if you want to follow along. By the end of this first module you'll see how to create and run your first application and also have an understanding of a design goals of the MVC Framework. Let's get started.

Controllers in ASP.NET MVC 3
Hi, this is Scott Allen from Pluralsight, and in this module we're going to take a close look at using Controllers in ASP. NET MVC. Specifically, we're going to look at the routing rules which deliver an HTTP request to our Controller. And then look at Controller Actions. You might remember from the introduction, the Controller Action to the Public Methods on our Controllers that have the ability to respond to our request. We'll look at Action Filters, which can introduce pre and post processing to an action. And then see how we can input data to an action with Action Parameters and produce different types of responses from an action, using different Action Results.

Razor Views in ASP.NET MVC 3
Hi, this is Scott Allen from Pluralsight and in this module we're going to build views with the Razor View Engine in ASP. NET MVC. The topics we will cover include the Razor Syntax and how to transition between C# Code and Markup, inside of Razor View. We'll also see how to use html Helpers to keep our views maintainable and how to work with a layout view that defines the structure of our user interface. No module and views would be complete without a security decision, so we'll talk about how to avoid Cross-Site Scripting attacks and Cross-Site Request Forgeries. Finally, I'll also show you how to use Partial Views and when they can be helpful.

Working with Data in ASP.NET MVC 3 (Part I)
Hi. This is Scott Allen with Pluralsight, and this module of the course is devoted to data. In this first data module we want to start using a real database with our application, so the focus of this first module is to bring SQL Server into the picture. In the next data module we'll look at other related data features in the ASP. NET MVC framework, features like model validation. What I'll demonstrate in this module is how to use a technology known as the Entity Framework and combine the Entity Framework with the plain, simple, C# class definitions we've been working with, the built-in application that uses SQL Server to persist data. We'll explore some of the capabilities of the Entity Framework and see some techniques we can use to query relational data.

Working with Data in ASP.NET MVC 3 (Part II)
Hi, this is Scott Allen of Pluralsight and this is the second module in this course focused on working with data and models in ASP. NET MVC. In this module, we'll continue working with the database and build views to Edit and Create data. We'll also see how to validate incoming information, uncover more details about the default model binder in ASP. NET MVC, and I want to show you how to map entities to an existing database.

AJAX and JavaScript with ASP.NET MVC 3
Hi, this is Scott Allen of Pluralsight and in this module, we will look at adding AJAX features to an ASP. NET MVC application. Specifically, we'll look at a couple of the AJAX helpers that are built into the MVC framework, but we'll also be using jQuery and jQuery UI to implement a date picker widget and implement an auto complete search box. I'll show you how Client Validation works with the MVC framework and also demonstrate how to produce JSON from an MVC controller action. Once we have the JSON on the client, I'll show you how you can use jQuery templates to transform the JSON into HTML markup.

Security and ASP.NET MVC 3
Hi, this is Scott Allen and this module is a look at the Security related features of ASP. NET MVC. In this module, I want to show you some of the attacks that you will face if you deploy an application onto a web server. It doesn't matter how big or small that application is. I'll show you what a Cross-Site Scripting attack looks like and also show you can you can accept HTML into your application without falling prey to a malicious script. I'll also show you how a Cross Site Request Forgery works and what you can do to help prevent a request forgery. And of course, no security module would be complete unless I showed you how to authenticate users and find out if they are who they say they are and then Authorize an identified user to make sure they have permission to carry out a specific operation. We'll start by looking at Authentication and see how we can use both Windows Integrated Authentication for Intranet style apps and Forms Based Authentication for web apps.

ASP.NET Infrastructure for ASP.NET MVC 3
Hi, this is Scott Allen and in this module, I'll show you how to use some of the core features of the ASP. NET infrastructure inside of an ASP. NET MVC application. In this module, I'll show you how to use the underling ASP. NET Caching engine to improve the performance of an application. We'll also see how to work with ASP. NET and resources files to globalize and localize an application to support multiple cultures. Finally, I'll show you some techniques you can use to enable diagnostics and logging inside of an MVC application.

TDD and Unit Testing with ASP.NET MVC 3
Hi this is Scott Allen and this module looks at Test Driven Development and unit testing with the ASP. NET MVC framework. In this module, I want to show you how to use Test Driven Development to drive the design of a feature. We'll look at the TDD cycle which is red, green refactor. First, we're going to write a failing test, which gives us a red result in the test runner, then we'll make the test pass, which gives us the green results, and then we refactor the code to improve the design. I'm also going to demonstrate how to unit test controllers and how to build test doubles to control the environment the controller executes inside of when we test them. This module does assume that you watched the first module of this course, the introduction, because inside of that introduction, we setup NUnit with NuGet and I demonstrated how to write a test fixture and a test method and how to use the end unit test runner. We're not going to cover any of that material in this module, instead we're going to jump right in and write some tests.

Configuration and Deployment with ASP.NET MVC 3
Hi, this is Scott Allen and in this module, I'll be focusing on Configuration and Deployment of an ASP. NET MVC application. Specifically, I'm going to talk about the various configuration files that you will find on a machine and what those configuration files mean to your application. I'll also be installing Internet Information Services or IIS on my development machine and publishing an application to the local IIS service. Finally, I'll build a web deployment package with everything I need to deploy an application including database scripts and I'll use the package to deploy an application to the internet on a shared hosting provider.