About this course

Course type Performance Plus
Course code QAASPMVC-3
Duration 5 Days

This course provides the necessary skills and techniques to design and write scalable, robust and secure web applications using Microsoft Visual Studio 2010 and the ASP.NET MVC 3 Framework. You will gain in-depth technical knowledge of ASP.NET MVC 3 and its related technologies and obtain practical insights into developing enterprise-scale, data-driven web applications. Throughout the course you will be building a fully functional ASP.NET MVC 3 web solution, using best practices including writing secure code to protect against potential malicious attacks.

The course introduces Testable Design Patterns and promotes Test Driven Development with ASP.NET MVC 3.
The course is presented as a mixture of lectures and hands-on exercises. Instructions and solutions are provided in both C# 4.0 and Visual Basic 2010, enabling you to work with your choice of language. (Before attending, delegates must already know one of these .NET languages.)

Target Audience:

Those intending to take the 70-515 TS: Web Applications Development with Microsoft.NET Framework 4 exam and 70-519 PRO:Designing and Developing Web Applications using Microsoft.NET Framework 4 exam will benefit from attendance at this course.

Prerequisites

  • Delegates should have basic knowledge of HTML and web page creation using JavaScript and CSS. These skills can be obtained by attending QA's Building an Effective Web Site course
  • Delegates should have an existing knowledge of a .NET programming language (C#3.0/4.0 or VB 2008/2010).
  • Delegates without these skills would benefit from attending a QA .NET programming language course.
  • Delegates are not required to have any experience in ASP.NET WebForm development but require at least 6 months experience working with the .NET 4.0 framework

Delegates will learn how to

At the end of this course you will be able to:

  • create ASP.NET MVC projects using Visual Studio 2010
  • define and customise views and partial views
  • use Master Pages and CSS to enforce design principles
  • use validation techniques to ensure input data accuracy
  • create controllers and actions
  • use custom routes to match URLs to actions
  • implement views using both ASPX and Razor view engines
  • structure an ASP.NET MVC 3 application
  • query and manipulate data by using LINQ
  • use the Entity Framework to create models
  • understand how to integrate WebForms and MVC
  • implement authentication, authorisation and role based security using the ASP.NET 4.0 membership system and action filters
  • create and use simple ASP.NET Web Services and WCF services
  • create unit tests and implement Test Driven Development
  • deploy your applications with one-click publishing and web deployment packages
  • use the MVC 3 enhancements including Dependency Injection improvements and Global filters

Outline

Module 1: Web application architectures

  • Internet fundamentals review
  • Overview of web application architectures
  • Simple web application
  • The role of IIS 7.0
  • Overview of ASP.NET 4.0
  • The request lifecycle

Module 2: Creating ASP.NET MVC 3 projects in Visual Studio 2010

  • Creating an MVC 3 project
  • Project and solution structures
  • ASP.NET MVC folder structure
  • Essential features for web development
  • Understanding code separation

Module 3: Models

  • The role of the Model
  • Creating the Model
  • Data access technologies
  • Entity framework
  • EF Code First
  • Implementing a repository

Module 4: Controllers

  • Controller architecture
  • Action methods
  • Action parameters
  • Action result types
  • Passing data to views
  • Asynchronous actions
  • UpdateModel

Module 5: Action filters

  • Action filter types
  • Control the execution of actions or controllers using action filters
  • Custom action filters
  • Filter providers

Module 6: Views

  • Views and partial views
  • Master layout pages
  • Using data in views
  • HTML helper methods
  • Custom view engines

Module 7: Validation and error handling

  • Types of validation
  • Schema validation
  • javaScript injection attacks
  • Handling errors

Module 8: Ajax

  • Introducing AJAX
  • AJAX frameworks
  • ASP.NET AJAX
  • jQuery
  • AJAX toolkits
  • jQueryUI
  • JSON

Module 9: Request routing and mapping URLs

  • What are routes?
  • Defining and using routes
  • Literals and constraints
  • Areas
  • Debugging routes

Module 10: Services

  • Writing Web services with ASP.NET
  • Attributes for web services
  • Writing a WCF service
  • Configuring a WCF service
  • Consuming a web service or a WCF service

Module 11: Securing the application

  • Security concepts
  • IIS authentication options
  • ASP.NET authentication modes
  • Membership and Role APIs and providers
  • Windows and Forms authentication
  • Client side authentication

Module 12: Managing state

  • The need for state management
  • Maintaining state between views
  • Maintaining state across all views
  • Maintaining state between sessions
  • Caching

Module 13: Combining technologies

  • ASP.NET technologies
  • Reasons to combine technologies
  • Adding MVC to WebForms applications
  • Adding WebForms to MVC applications
  • Sharing data and resources

Module 14: Testing

  • Test Driven Development (TDD)
  • Writing tests in Visual Studio 2010
  • Dependency Injection
  • Mocking HttpContext

Module 12: Deploying the application

  • Files to deploy
  • Requirements for IIS
  • Online and offline publishing
  • One-click publishing
  • Build configurations
  • Web deployment packages
  • web.config transformation
Performance Plus

5 Days

Duration
Microsoft Visual Studio
Delivery Method

Delivery method

Classroom

Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Find dates and prices

Online booking is currently not available for this course, to find out more please call us on 0345 074 7998 or email us at info@qa.com to discuss how we can help.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.