Book to attend a public course Book a private course Request more information about this course Speak to an instructor
Book to attend a public course Book a private course for your team (from only £895/day!) Request more information about this course Speak to an instructor who teaches this course

Printable versions: HTML PDF

Introduction to the ASP.NET MVC Framework

The ASP.NET MVC framework provides an alternative approach to the development of ASP.NET Web applications. Based on the Model View Controller architectural pattern, this framework provides developers with an architecture that allows for far more maintainable, testable, and flexible applications. This one day overview is designed to help people get a feel for what this framework is capable of allowing you to do.

Training Course Duration

1 days

Layout

The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice.  The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Who it is for

ASP.NET Programmers

Training Course Prerequisites

  • Basic knowledge of ASP.NET programming

Training Course Objectives

At the end of this training course, students should be able to:

  • Introduction to ASP.NET MVC
  • Introduction to the Model View Controller Pattern
  • Understand the benefits of moving to ASP.NET MVC
  • Identify the purpose and structure of the key components in ASP.NET MVC

Training Course Contents

1 . Introduction to ASP.NET MVC

  • Web Application Architecture
  • The need for Web application frameworks
  • The MVC Framework architecture overview
  • The role of the Controller
  • The role of the Model
  • The role of the View

2 . Designing the Model

  • A well structured model
  • Pitfalls to avoid when designing the model
  • Design decisions to be made surrounding the model
  • Testing the Model

3 . Designing the View

  • The types of View
  • The ViewResult ASP.NET Page as a View
  • The relationship between the View and the Model

4 . Working with Controllers

  • The Page Controller pattern
  • Structuring Controller classes
  • The relationship between Controllers, Model and View
  • Testing Controllers

5 . Putting it all Together

  • Wiring up the components
  • Autowiring
  • XML configuration