Overview

This course introduces programmers that are already familiar with .NET technologies to the new .NET Core platform. Delegates will learn to write cross platform web applications using C#, Entity Framework Core and ASP .NET Core.

An optional primer on the newest C# features brings delegates C# skills up to date.

Outline

Introduction

  • The History and Evolution of .NET
  • Platforms, Frameworks and Targeting
  • .NET Standard
  • .NET Core
  • Entity Framework Core
  • ASP .NET Core

Setting up the Environment

  • Installing the SDK and CLI
  • Extending the Command Line
  • Visual Studio Code vs Visual Studio
  • Visual Studio Code Extensions
  • JetBrains Project Rider
  • Project JSON vs MSBuild
  • Running Hello World

Refresher of Latest C# Syntax

  • Async / Await
  • Caller and Element Information
  • Improved Auto-properties
  • Expression Bodied Functions
  • Static Imports
  • Null-conditional and Null-coalescing operators
  • String Interpolation
  • Index Initialisers
  • Exception Filters

C# 7 Features

  • Improved ‘out’ parameters
  • Pattern Matching
  • Improved Tuple Support
  • Deconstructions
  • Local Functions
  • Literal Improvements
  • Ref returns and locals
  • Generalized Async return Type
  • More expression bodied members
  • Throw expressions

.NET Core Projects

  • Creating projects
  • Adding Dependencies
  • Writing Tests
  • Building, Testing and Running
  • Publishing with Runtime

ASP .NET Core

  • Differences with ASP .NET
  • Kestrel
  • Building Services
  • Dependency Injection
  • Middleware
  • Routing and MVC
  • Razor in ASP .NET Core
  • Logging and Debugging
  • Building an Angular 2 SPA
  • Authentication

Entity Framework Core

  • Differences with Entity Framework
  • Dependency Injection
  • Database Providers
  • Logging and Debugging
  • Performance Implications
  • Migrations

Requirements

Delegates should have a minimum of two years experience with .NET with exposure to ASP .NET and Entity Framework.