Advanced .NET: Commands, C# Enhancements, Web Apps, and Libraries

Advanced .NET: Commands, C# Enhancements, Web Apps, and Libraries

2h 44mAdvanced2022-02-07

Authors

Walt Ritscher

Walt Ritscher

Programmer, UI Designer, Staff Instructor at LinkedIn Learning

Course details

This course takes a deep look into the changes to .NET with the release of .NET 6, the latest release of the Microsoft cross-platform, open-source framework. Instructor Walt Ritscher takes you through changes to .NET commands, language improvements to C++ and C#, web applications like Blazor and Visual Studio, and targeting multiple platforms. He also shows you how to edit code and use the Hot Reload feature to apply changes without restarting the application.

Skills covered

.NETAdvancedSoftware Development ToolsMicrosoftSoftware Development

Concepts

Introduction

  • Explore what's new in .NET 6
  • What you should know
  • How deep is this course
  • My setup and configuration
  • How to access the sample code on GitHub

Overview

  • .NET 6 in two minutes
  • The parts of .NET 6
  • What about Multi-platform App UI (MAUI)

Dotnet Commands

  • CLI and SDK workloads
  • Basic dotnet commands
  • Dotnet workload commands

Language Updates

  • What languages are updated
  • Language project templates

C# Enhancements

  • File-scoped namespaces
  • Global Using directives
  • Performance updates for string interpolation
  • Return type for lambdas

Web Applications

  • Updates in ASP.NET 6
  • Template updates (Angular and more)
  • Hot Reload on web projects
  • CSS Hot Reload
  • Blazor error boundary
  • Async stream JSON - Performance
  • Async stream JSON - Memory
  • Log output with HTTP Logging
  • Minimal API - Concepts and HttpGet
  • Minimal API - Get data from repository
  • Minimal API - MapPost, MapPut, and MapDelete
  • CSS isolation

.NET Libraries

  • Single file application
  • DateTime, TimeOnly, DateOnly
  • ArgumentNullException.ThrowIfNull method
  • LINQ updates - OrDefault operators
  • LINQ updates - Chunk
  • LINQ updates - Zip
  • Collection updates
  • Threading - Parallel.ForEachAsync
  • Threading - PeriodicTimer, the problem
  • Threading - PeriodicTimer, the solution
  • JSON updates - Overview
  • JSON updates - Create JsonSerializerContext classes
  • JSON updates - Serialize
  • JSON updates - Writable DOM
  • More .NET library updates

Other

  • Visual Studio 2022 updates
  • Hot Reload in Visual Studio
  • Hot Reload in the CLI
  • NuGet package validation
  • Roslyn Analyzers
  • Entity Framework
  • Windows Forms

Continue Your Journey

  • Next steps
80,000 Toman