> Nearby Locations
Des Moines
515-226-3265
 
 
 
My Account  |  View Cart
Search:
 


Class Outline*


| Request Info | Contact Us


Developing Web Applications Using ASP.NET MVC

Duration:

2 Days

Course Overview:

In this course, students will learn to develop ASP.NET MVC applications using .NET Framework 4 tools and technologies. The focus will be on coding activities that enhance the performance and scalability of the Web site application. ASP.NET MVC will be introduced and compared with Web Forms so that students know when each should/could be used. This course, along with the C#.NET 2010 / ASP.NET 4 Bootcamp, will also prepare students for exam 70-515.

Audience:

Testers, Test Managers, and Development Managers

Prerequisites:

Students should have attended 10267A Introduction to Web Development with Microsoft Visual Studio 2010 or the C# .NET 2010 / ASP.NET 4 Bootcamp or have equivalent skills as follows:

  • established C# and/or VB.NET skills
  • ASP.NET development

Topics:

Module 1 - Designing a Web Application

This module describes the best practices and trade-offs that you need to make when designing a Web application.

Lessons

  • Web Applications: Case Studies
  • Web Application Design Essentials
  • Guidelines for Determining When to Use Web Forms and MVC
  • Visual Studio 2010 Tools and Technologies for Web Application Design

Lab: Redesigning the Adventure Works Web site

  • Exercise 1: Reviewing the Adventure Works Web site
  • Exercise 2: Redesigning the Adventure Works Web site
  • Exercise 3: Adding MVC Capabilities to the Adventure Works Web site

After completing this module, students will be able to:

  • Explain the different types of web applications and their characteristics.
  • Choose the correct design based on the on business requirements, utilizing Web Forms and MVC based.
  • Explain the different tools and technologies and best practices around each.

Module 2 - Developing MVC Models

This module describes the MVC development model (Models, Controllers, and Views) and how to create the Models that are used to access and modify the data in a data source.

Lessons

  • Exploring Ways to Create MVC Models
  • Creating a Data Repository

Lab: Developing MVC Models

  • Exercise 1: Exploring Ways to Create MVC Models
  • Exercise 2: Creating Data Repository

After completing this module, students will be able to:

  • Create MVC models by using classes and data mapping tools.
  • Create a data repository

Module 3 - Developing MVC Controllers

This module describes how to create the Controllers that are used to respond to communications from the user and how to implement the application flow and logic.

Lessons

  • Implementing MVC Controllers
  • Creating Action Methods

Lab: Developing MVC Controllers

  • Exercise 1: Creating an MVC Controller
  • Exercise 2: Adding Code to List the Blog Entries
  • Exercise 3: Adding Code to Create a New Blog Entry
  • Exercise 4: Adding Code to Edit a Blog Entry
  • Exercise 5: Adding Code to Delete a Blog Entry

After completing this module, students will be able to:

  • Implement MVC controllers
  • Create action methods

Module 4 - Developing MVC Views

This module describes how to create the Views that are used to expose the application UI. The module also covers how to manage pre-action and post-action behavior of Controller action methods using the included action filters are provided as part of MVC.

Lessons

  • Implementing MVC Views
  • Implementing Strongly-Typed MVC Views
  • Implementing Partial MVC Views

Lab: Developing MVC Views

  • Exercise 1: Develop a List MVC View
  • Exercise 2: Develop a Details MVC View
  • Exercise 3: Develop a Create MVC View
  • Exercise 4: Develop an Edit MVC View
  • Exercise 5: Develop a Delete MVC View

After completing this module, students will be able to:

  • Describe what an MVC view is and the varied types of views.
  • Create an MVC view.
  • Implement strongly typed MVC views.
  • Implement partial MVC views

Module 5 - Ensuring Quality by Debugging, Unit Testing, and Refactoring

This module describes how to perform check-in testing for their Web Forms and MVC applications as well as how to use the built-in debugging capabilities of VS2010.

Lessons

  • Debugging and Refactoring Code
  • Unit Testing Code
  • Processing Unhandled Exceptions
  • Test Driven Development

Lab: Debugging, Unit Testing and Refactoring

  • Exercise 1: Configuring Error Handling
  • Exercise 2: Debugging Code
  • Exercise 3: Logging
  • Exercise 4: Creating Unit Tests
  • Exercise 5: Implementing the Test-First Development Methodology

After completing this module, students will be able to:

  • Debug and refactor code
  • Unit test code.
  • Describe how to log information to a file, database, event or other, including best practices.
  • Describe the Test-Driven Development methodology.

Module 6 - Implementing Advanced AJAX in a Web Application

This module describes the programmatic side of AJAX enabled controls (as well as extending server controls to include AJAX functionality) on a Web Forms page as well as implementing AJAX on a MVC page.

Lessons

  • Implementing Ajax in ASP.NET MVC Pages Using Microsoft Ajax
  • Implementing Ajax in ASP.NET MVC Pages Using jQuery
  • Working With jQuery and Ajax Events

Lab: Implementing Advanced Ajax for the AdventureWorks web application

  • Exercise 1: Using AJAX in an MVC Page Scenario
  • Exercise 2: Using jQuery in an MVC Page
  • Exercise 3: Handling jQuery Ajax Events

After completing this module, students will be able to:

  • Manage browser history
  • Implement AJAX in MVC pages
  • Implement jQuery

*Content, days, and times vary depending on your location. Please view the outline prior to purchase or contact the local center for more information.