22 May, 2012
Text Size

Audience

Web Developers wanting to build MVC applications.

Prerequisites

Delegates should be existing developers familiar with the Microsoft Visual Studio envrionment at 2008 or above level.

Duration

2 days. Hands on.

Course Objectives

ASP.NET MVC is a fascinating technology that provides an alternative to Web forms for building Web Applications. Instead of building pages using server controls that provide relatively little control over the HTML they produce, MVC gives you complete control.  The course starts with an introduction to ASP.NET MVC and the Model-View-Controller pattern on which it is based.  Delegates learn about the main differences between MVC and Web forms applications and see how to build a simple MVC application with Visual Studio. Delegates will then explore each of the three main components of an MVC application.  They'll explore models, which encapsulate the data and business rules of an application. There are almost no limitations in how you provide data to an MVC application. Delegates will look at views, the user interface of an MVC application.  From attending this course delegates will learn:

  • Differences between MVC and Web forms applications.
  • How to create controllers and actions to manage the workflow of an application.
  • About methods and results, and how to write code to implement each.
  • That there are almost no limitations in how you provide data to an MVC application.
  • How to implement a model using both custom classes and Entity Framework data models.
  • How to centralize data validation using a model.
  • Interact with data provided by the controller.
  • Some of the ways to add content to a view.

Course Content

Introduction to ASP.NET MVC
The Model-View-Controller Pattern
Differences Between MVC and Web Forms Applications
Building a Simple MVC Application with Visual Studio

Working with Controllers and Actions
Using a Controller to Manage the Application
Controller Actions
Returning Action Results

Creating MVC Models
Data and Business Rules in MVC Applications
Creating a Custom Data Model
Creating an Entity Framework Model
Data Validation and Data Annotations

Using MVC Views
Views in ASP.NET MVC
Creating Views
Adding Content to a View

Course Contact Form

Please complete the form to enquire about running a course at your premises or one of our training facilities

Name:

Email:

Telephone:

Organisation:


Comment: