• Technical IT

    Solutions delivered throughout the UK
  • Business Applications

    Solutions delivered throughout the UK
  • Professional Best Practice

    Solutions delivered throughout the UK
  • Professional Development

    Solutions delivered throughout the UK

Building Effective ASP.NET MVC3.0 Web sites using Visual Studio 2010

  • Price £2,425.00
  • Duration 5 day(s)
All major credit cards accepted

Description

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.)

Prerequisites

•Delegates should have basic knowledge of HTML and web page creation using JavaScript and CSS. These skills can be obtained by attending the 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 .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

Skills

Delegates will learn how 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

Course Content

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

Make Enquiry

Course Enquiry
  •  
  •  

Book Now

Course Enquiry
  •  
  •