Call Us: +32 2 466 00 16
Follow Us:

Programming in ASP.NET MVC and JavaScript

Training code
Book this course

The HTTP Protocol

You can't start developing for the web without knowing the fundamentals. This module talks about the HTTP protocol used to request resources from the server. We'll explore the details of what is used for a browser and for a server to make sure the communication is legitimate.

  • Http Verbs
  • Headers
  • Status Codes
  • Redirection
  • Caching

ASP.NET MVC: Introduction

In this module You will learn about the MVC pattern and why this pattern fits so well in the world of websites.

  • The Model-View-Controller (MVC) pattern
  • MVC in ASP.NET
  • ASP.NET versus ASP.NET Core
  • Client-centric versus Server-centric

The 3 main ASP.NET MVC components

Once you understand MVC, you need to learn how it is implemented in ASP.NET. This module explores the most important components of the framework.

  • Handling the user interaction with Controller
  • Rendering the response with MVC views
  • Creating a MVC model and viewmodel
  • Routing


This module will teach you about ViewModels, which helps maintaining a clean seperation between the Model and Views

  • Passing Data to a View
  • ViewModels
  • Mapping

JavaScript Language Fundamentals

In this module, we'll talk about the very basics of JavaScript. JavaScript can be a very tricky language, so we'll try to explain a couple of its quirks as well. This way, we can avoid surprises later.

  • Variables
  • Primitives and Objects
  • Functions and the Self-Invoking Function Pattern
  • Scope
  • Strict Mode
  • Error Handling

jQuery Basics

jQuery is a JavaScript library that makes the life of a developer a lot easier. It was once created to implement a cross-browser standard to make things work. The important parts of jQuery are its selectors, allowing ajax calls in an easy way and making event handling easier. Next to those three main parts, there are more things that jQuery can do, like creating animations, adding elements, ... In these modules, we'll explore the most important features and compare it with normal JavaScript.

  • Why jQuery?
  • The jQuery wrapped set
  • Detecting Page Readiness
  • Selecting elements with CSS selectors

Responsive web design with Bootstrap

Your web site needs to look fabulous on any device; whether it's a laptop, tablet or phone. Let's bootstrap be your guide in the messy world of media queries.

  • Normalizing and Resetting
  • The Grid System
  • Utility classes

ASP.NET Framework Pipeline

Before we can take a look at Controllers, Validation and Views in depth. You need to understand how a request turns into a response. This small module will take you through the depths of the MVC framework and we'll follow a request from the very beginning until the end.

  • Clean Uri's with ASP Routing
  • Controllers and Actions
  • ActionResults and ViewEngines

ASP.NET Core Pipeline

ASP.NET Core easily outperforms all other web hosting solutions. So how did they do that? Here we will look at the ASP.NET pipeline, and how to make it do your bidding.

  • Middleware in ASP.NET Core
  • Composing your own Pipeline


This URL means do that thing. Having full control over this is not difficult, but essential for any ASP.NET MVC developer.

  • Formatting the request URL
  • Convention-Based Routing
  • Routing Attributes
  • Using Areas for building large MVC sites
  • Debugging URL routing

ASP.NET MVC Controllers

In this module we'll take a closer look at the C in MVC. The controller has a very important role to fulfill: It's the component that figures out what to do when receiving a request.

  • Model Binding
  • Different Action Results
  • Working with GET and POST
  • Action Filters
  • Redirections

Razor Views

In this module you'll explore Razor and its syntax. You'll see the basics as well as some advanced scenarios.

  • Views and View Engines
  • Layout and Sections
  • HTML and Tag helpers

Reusable Razor Building blocks

Don't copy-paste Razor! Reuse Razor! That's what you'll see here.

  • Partial Views and Child Actions
  • View Components
  • Display and Editor templates

Data Validation

  • Explicit versus Implicit Validation
  • Validating data using Data Annotations
  • Self-Validating Models
  • Validating using the Model Binder
  • Client-side validation with Unobtrusive JavaScript

ASP.NET MVC Dependency Injection & Testing

Dependency Injection is the art of decoupling an object from its dependencies. Next to benefits like maintainability and separation of concerns, it also makes testing a lot easier. In this module you will use dependency injection to create your first unit tests.

  • Methods of Dependency Injection
  • Dependency Inversion, Explicit Dependencies and Inversion of Control
  • Unit Testing your components
  • Stubbing, Mocking & Faking

Building and Consuming RESTful services with Web API

If you are building a more client-centric application, it is important to send data back and forth between your client and server. Web API uses REST to send data. It's based on the same principles as MVC.

  • What is REST?
  • Building a REST Web-API with ASP.NET Web API.
  • Supporting multiple representations: XML and JSON

Client-side service consumption with jQuery

Once you've built your server with Web API, you can pull the data to the client-side by using jQuery Ajax.

  • JSON serialization
  • Getting data using jQuery AJAX
  • Uploading and updating entities through REST: POST, PUT, DELETE


Authentication is about identifying who the user of the system is. In this chapter we look at the different authentication mechanisms and their application.

  • Knock knock... Who's there?
  • Windows integrated
  • Username and password
  • Using external authentication such as Google or Facebook
  • Extending authentication with your own data
  • Tokens
  • Impersonation and delegation

This course will teach you how to build Web applications using the ASP.NET MVC (model-view-controller) framework and patterns both in .NET Core and .NET Framework(Classic). You will also learn how to create and consume RESTful services with ASP.NET Web API, JavaScript and jQuery. All exercises are in both .NET Framework and .NET Core.

Students should have a good knowledge of one of the .NET programming languages C# or VB.NET. Furthermore, a basic knowledge of HTML is advised. This course is intended for both .NET Framework and .NET Core.

© 2020 U2U All rights reserved.