MOC 20486B Developing ASP.NET MVC 4 Web Applications

How To Take This Class

Live Instructor-Led Online Class

Cost: $2,250.00 or 5 Vouchers

  • Open enrollment class for individuals
  • Live class with an instructor
  • Free class retakes forever!
  • Six months of instructor email support
  • Hands-on exercises and student labs
  • Classes never cancelled due to low enrollment
  • Money-back guarantee

Onsite or Offsite Group Training

Cost: Based on number of students

  • For groups as small as 3 people
  • Class Held at our location or yours
  • Hands-on exercises and student labs
  • Customization at no extra charge
  • Six months of instructor email support
  • All-inclusive pricing
  • Money-back guarantee
Request Group Pricing Proposal

Course Duration

5 Days

What Students Receive

Each student will receive:
  • A printed courseware manual with samples and hands-on exercises for use during and after class.
  • Sample course files and solutions
  • Access to a complete, online Visual Studio 2012 environment both during and after class to practice your new skills.
  • A course completion certificate upon successful completion of the course

Course Description

In this Microsoft Official Course (MOC), students will learn to develop advanced ASP.NET MVC applications using .NET Framework 4.5 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.

Course Objectives

After successfully completing this course, students will be able to:
  • Describe the Microsoft Web Technologies stack and select an appropriate technology to use to develop any given application.
  • Design the architecture and implementation of a web application that will meet a set of functional requirements, user interface requirements, and address business models.
  • Create MVC Models and write code that implements business logic within Model methods, properties, and events.
  • Add Controllers to an MVC Application to manage user interaction, update models, and select and return Views.
  • Create Views in an MVC application that display and edit data and interact with Models and Controllers.
  • Run unit tests and debugging tools against a web application in Visual Studio 2012 and configure an application for troubleshooting.
  • Develop a web application that uses the ASP.NET routing engine to present friendly URLs and a logical navigation hierarchy to users.
  • Implement a consistent look and feel, including corporate branding, across an entire MVC web application.
  • Use partial page updates and caching to reduce the network bandwidth used by an application and accelerate responses to user requests.
  • Write JavaScript code that runs on the client-side and utilizes the jQuery script library to optimize the responsiveness of an MVC web application.
  • Implement a complete membership system in an MVC 4 web application.
  • Build an MVC application that resists malicious attacks and persists information about users and preferences.
  • Describe how to write a Windows Azure web service and call it from and MVC application.
  • Describe what a Web API is and why developers might add a Web API to an application.
  • Modify the way browser requests are handled by an MVC application.
  • Describe how to package and deploy an ASP.NET MVC 4 web application from a development computer to a web server for staging or production.

Course Audience

This course is intended for professional web developers who use Microsoft Visual Studio in an individual-based or team-based, small-sized to large development environment. Candidates for this course are interested in developing advanced web applications and want to manage the rendered HTML comprehensively. They want to create websites that separate the user interface, data access, and application logic.

Course Prerequisites

Before attending this course, students must have a minimum of two to three years of experience developing web-based applications by using Microsoft Visual Studio and Microsoft ASP.NET, proficiency in using the .NET Framework, and some familiarity with the C# language.

Course Syllabus

  1. Exploring ASP.NET MVC4
    • Overview of Microsoft Web Technologies
    • Overview of ASP.NET 4.5
    • Introduction to ASP.NET MVC 4
    • Lab : Exploring ASP.NET MVC4
      • Exploring a Photo Sharing Application
      • Exploring a Web Pages Application
      • Exploring a Web Forms Application
      • Exploring an MVC Application
  2. Designing ASP.NET MVC 4 Web Applications
    • Planning in the Project Design Phase
    • Designing Models, Controllers, and Views
    • Lab : Designing ASP.NET MVC 4 Web Applications
      • Planning Models
      • Planning Controllers
      • Planning Views
      • Architecting an MVC Application
  3. Developing ASP.NET MVC 4 Models
    • Creating MVC Models
    • Working with Data
    • Lab : Developing ASP.NET MVC 4 Models
      • Creating an MVC Project and Adding a Model
      • Creating a New SQL Azure Database in Visual Studio
      • Adding Properties and Methods to MVC Models
      • Using Display and Edit Annotations in MVC Models
  4. Developing ASP.NET MVC 4 Controllers
    • Writing Controllers and Actions
    • Writing Action Filters
    • Lab : Developing ASP.NET MVC 4 Controllers
      • Adding an MVC Controller and Writing the Actions
      • Writing the Action Filters in a Controller
      • Using the Photo Controller
  5. Developing ASP.NET MVC 4 Views
    • Creating Views with Razor Syntax
    • Using HTML Helpers
    • Reusing Code in Views
    • Lab : Developing ASP.NET MVC 4 Views
      • Adding a View for Photo Display
      • Adding a View for New Photos
      • Creating and Using a Partial View
      • Adding a Home View and Testing the Views
  6. Testing and Debugging ASP.NET MVC 4 Web Applications
    • Unit Testing MVC Components
    • Implementing an Exception Handling Strategy
    • Lab : Testing and Debugging ASP.NET MVC 4 Web Applications
      • Performing Unit Tests
      • Configuring Exception Handling
  7. Structuring ASP.NET MVC 4 Web Applications
    • Analyzing Information Architecture
    • Configuring Routes
    • Creating a Navigation Structure
    • Lab : Structuring ASP.NET MVC 4 Web Applications
      • Using the Routing Engine
      • Building Navigation Controls
  8. Applying Styles to ASP.NET MVC 4 Web Applications
    • Using Template Views
    • Applying CSS to an MVC Application
    • Creating an Adaptive User Interface
    • Lab : Applying Styles to ASP.NET MVC 4 Web Applications
      • Using Template Views
      • Applying a Consistent Look and Feel to an MVC Application
      • Adapting Web Pages for Different Browsers
  9. Building Responsive Pages in ASP.NET MVC 4 Web Applications
    • Using AJAX and Partial Page Updates
    • Implementing a Caching Strategy
    • Lab : Building Responsive Pages in ASP.NET MVC 4 Web Applications
      • Using Partial Page Updates
      • Configuring the ASP.NET Caches
  10. Using JavaScript and jQuery for Responsive MVC 4 Web Applications
    • Rendering and Executing JavaScript Code
    • Using jQuery and jQueryUI
    • Lab : Using JavaScript and jQuery for Responsive MVC 4 Web Applications
      • Using jQuery to Respond to Users
      • Using jQueryUI to Build a User Interface
  11. Controlling Access to ASP.NET MVC 4 Web Applications
    • Implementing Authentication and Authorization
    • Assigning Roles and Membership
    • Lab : Controlling Access to ASP.NET MVC 4 Web Applications
      • Configuring Authentication and Membership Providers
      • Building the Logon and Register Views
      • Authorizing Access to Resources
      • Building a Password Reset View
  12. Building a Resilient ASP.NET MVC 4 Web Application
    • Developing Secure Sites
    • State Management
    • Lab : Building a Resilient ASP.NET MVC 4 Web Application
      • Storing User Preferences
      • Using User Preferences in the Photo Gallery
  13. Using Windows Azure Web Services in ASP.NET MVC 4 Web Applications
    • Introducing Windows Azure
    • Designing and Writing Windows Azure Services
    • Consuming Windows Azure Services in a Web Application
    • Lab : Using Windows Azure Web Services in ASP.NET MVC 4 Web Applications
      • Creating and Coding a Windows Azure Service
      • Consuming Data from a Windows Azure Service
  14. Implementing Web APIs in ASP.NET MVC 4 Web Applications
    • Developing a Web API
    • Calling a Web API from Mobile and Web Applications
    • Lab : Implementing Web APIs in ASP.NET MVC 4 Web Applications
      • Developing a Web API in MVC 4
      • Adding Routes and Controllers to Handle REST Requests
      • Call RESTful services from Client-Side Code
  15. Handling Requests in ASP.NET MVC 4 Web Applications
    • Using HTTP Modules and HTTP Handlers
    • Using Web Sockets
    • Lab : Handling Requests in ASP.NET MVC 4 Web Applications
      • Writing a Web Handler that Uses Web Sockets
      • Building a Chat Room in The Photo Sharing Application
  16. Deploying ASP.NET MVC 4 Web Applications
    • Deploying a Web Application
    • Deploying an MVC 4 Application
    • Lab : Deploying ASP.NET MVC 4 Web Applications
      • Deploying an Application to Windows Azure
      • Test the Completed Application