- 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
- Some familiarity with the C# language
At course completion
- 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.
- 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.
This course prepares to the exam 70-486
Module 1: Exploring ASP.NET MVC
The goal of this module is to outline to the students the components of the Microsoft Web Technologies stack, which can be used to host a completed web application. Students will also learn about ASP.NET 4.5 and be introduced to the web forms, web pages, and MVC programming models. Finally they will see an overview of ASP.NET MVC, including new features and configuration.
- Lesson 1: Overview of Microsoft Web Technologies
- Lesson 2: Overview of ASP.NET 4.5
- Lesson 3: Introduction to ASP.NET MVC
The goal of this module is to introduce students to the typical design process that architects must complete when they plan an MVC application. At this stage in the design process, MVC has been selected as the most appropriate programming model, but the details of the application, such as the overall architecture, Controllers, Views, Models, and routes to create, have not been fixed. How to plan such details is shown during this module.
- Lesson 1: Planning in the Project Design Phase
- Lesson 2: Designing Models, Controllers, and Views
Module 3: Developing ASP.NET MVC Models
The goal of this module is to enable the students to create Models within an MVC application that implement the business logic necessary to satisfy business requirements. The module also describes how to implement a connection to a database, or alternative data store, using the Entity Framework and LINQ.
- Lesson 1: Creating MVC Models
- Lesson 2: Working with Data
Module 4: Developing ASP.NET MVC Controllers
The goal of this module is to enable students to add Controllers to MVC applications and to implement actions that respond to user input and other events. The students will learn how Controllers relate to Models and how to implement Controller actions that define the View used to display or edit data. This module also covers how to write action filters that run code before or after multiple actions in the Controller. The students will learn about situations when action filters are useful.
- Lesson 1: Writing Controllers and Actions
- Lesson 2: Writing Action Filters
Module 5: Developing ASP.NET MVC Views
The goal of this module is to describe the role of Views in an MVC web application and enable users to create and code them. The syntax of a Razor View is of critical importance for students to understand because it defines both the layout and the functionality of the data display. HTML Helpers will also be discussed in detail and common Helpers, such as Html.ActionLink() and Html.EditorFor(), will be described. Reusing code by defining Partial Views and Razor Helpers will be discussed as well.
- Lesson 1: Creating Views with Razor Syntax
- Lesson 2: Using HTML Helpers
- Lesson 3: Reusing Code in Views
Module 6: Testing and Debugging ASP.NET MVC Web Applications
The goal of this module is to enable students to increase the resilience and quality of an application by locating and correcting code errors, bugs, and other unexpected results. MVC applications are well suited to unit testing techniques and these techniques ensure a high quality of code by systematically testing the functionality of each small component. In addition the debugging tools and exception handling available in Visual Studio will be explained.
- Lesson 1: Unit Testing MVC Components
- Lesson 2: Implementing an Exception Handling Strategy
Module 7: Structuring ASP.NET MVC Web Applications
The goal of this module is to enable students to structure a web application in such a way that users can rapidly locate the information they need. Two aspects of the design are emphasized: the URLs presented in the browser address bar should be understandable and can be controlled by adding routes to the ASP.NET Routing Engine, and the navigation controls, such as menus and breadcrumb trails, should present the most relevant links to frequently read pages. Search Engine Optimization is important throughout this module.
- Lesson 1: Analyzing Information Architecture
- Lesson 2: Configuring Routes
- Lesson 3: Creating a Navigation Structure
Module 8: Applying Styles to ASP.NET MVC Web Applications
The goal of this module is to explore how students can impose a consistent look and feel to an MVC application and share other common components, such as headers and footers, between all Views. Besides describing CSS styles and template views, the module will discuss how to migrate a look and feel created by a web designer into an MVC application. Techniques for adapting the display of a site for small screens and mobile devices will also be introduced.
- Lesson 1: Using Template Views
- Lesson 2: Applying CSS to an MVC Application
- Lesson 3: Creating an Adaptive User Interface
Module 9: Building Responsive Pages in ASP.NET MVC Web Applications
The goal of this module is to describe to the students how partial page updates and caching can optimize the responsiveness of a web application. Students will see how to make use of AJAX helpers and partial views to update small portions of a page instead of refreshing the entire page. The module also covers the different caches developers can use to store rendered pages and discusses how to configure caching for maximum performance.
- Lesson 1: Using AJAX and Partial Page Updates
- Lesson 2: Implementing a Caching Strategy
The goal of this module is to teach the students techniques that run code on the browser. This approach can increase the responsiveness of the application because a rendered page can respond to a user action without reloading the entire page from the server. Students will learn about the jQuery script library and how to use it to call web services and update user interface components.
- Lesson 2: Using jQuery and jQueryUI
Module 11: Controlling Access to ASP.NET MVC Web Applications
The goal of this module to ensure good security in terms of strong authentication and authorization for access. The lessons describe how to enable anonymous users to create their own user account and gain privileged access to content.
- Lesson 1: Implementing Authentication and Authorization
- Lesson 2: Assigning Roles and Membership
Module 12: Building a Resilient ASP.NET MVC Web Application
The goal of this module is to enable the students to build applications that are stable and reliable. Such applications are not vulnerable to common hacking techniques such as cross-site scripting and also store state information such as the contents of a shopping cart and user preferences. This state information is preserved when servers or browsers restart, connections are lost, and other connectivity issues occur.
- Lesson 1: Developing Secure Sites
- Lesson 2: State Management
Module 13: Using Windows Azure Web Services in ASP.NET MVC Web Applications
The goal of this module is to introduce Windows Azure to the students and explain why a developer would write a Windows Azure service instead of code in a web application. Students will also see how to write such a service and call it from a web application or from other applications, such as a mobile device app.
- Lesson 1: Introducing Windows Azure
- Lesson 2: Designing and Writing Windows Azure Services
- Lesson 3: Consuming Windows Azure Services in a Web Application
Module 14: Implementing Web APIs in ASP.NET MVC Web Applications
The goal of the module is to introduce the concept of a Web API to students and to describe how to make an application’s core functionality more broadly available for integration into other web and mobile applications. Students will learn about the new Web API feature of MVC and see how to build a RESTful Web API and call it from other applications.
- Lesson 1: Developing a Web API
- Lesson 2: Calling a Web API from Mobile and Web Applications
Module 15: Handling Requests in ASP.NET MVC Web Applications
The goal of this module is to describe how to write components that intercept requests from browsers before they are received by MVC Controllers. These components include HTTP Modules, HTTP Handlers, and the Web Sockets protocol. The module describes scenarios in which developers use such components and shows how to add them to an MVC application.
- Lesson 1: sing HTTP Modules and HTTP Handlers
- Lesson 2: Using Web Sockets
Module 16: Deploying ASP.NET MVC Web Applications
The goal for this module is to enable students to deploy a completed MVC application to a web server or Windows Azure. The module begins by describing testing, staging, and production deployments and the web server environments required for each. It also describes the advantages and disadvantages of using Windows Azure to host the application. Students also see all the available deployment options in Visual Studio.
- Lesson 1: Deploying a Web Application
- Lesson 2: Deploying an ASP.NET MVC Web Application