Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C# 8 and .NET Core 3.1 Recipes - Second Edition
Rating: 4.0 out of 5(15 ratings)
128 students

C# 8 and .NET Core 3.1 Recipes - Second Edition

Leverage C# 8, .NET Core 3.1 and Visual Studio 2019 to build fast, enterprise-ready scalable web apps
Last updated 4/2020
English

What you'll learn

  • Install and master Visual Studio 2019 and the latest, LTS version of .NET Core
  • Write less repeatable code by utilizing default interface methods, read-only methods and pattern matching
  • Stay up-to-date with the latest improvements in C#’s 8th iteration
  • Write event-driven C# programs and master Lambda Expressions
  • Apply SQL-like queries to objects and collections with LINQ
  • Learn how to map complex relationships to code-first models with EF Core
  • Enable authentication for your API with ASP .NET Core Identity
  • Master Dependency Injection and get the most out of your services
  • Avoid boilerplate code when building simple pages with Razor
  • Build native Windows applications with WPF on .NET Core

Course content

7 sections40 lectures3h 38m total length
  • Course Overview2:11

    This video will give you an overview about the course.

  • Installing Visual Studio 2019 and .NET Core5:05

    We need Visual Studio 2019 to work with C# 8 and .NET Core 3.1.

       •  Download a copy of VS

       •  Install the VS Community

  • Avoiding State Modifications with Read-Only Members4:24

    Read-only Struct members help us in avoiding state mutation.

       •  Create a new Struct

       •  Define some fields as private

  • Writing Less Code with Default Interface Methods5:36

    Default interface methods can help us avoid creating base classes.

       •  Create an error handling interface

       •  Update it with a default interface method

  • Isolating Groups of Data with Ranges and Indices4:45

    We sometimes want to grab a few items from a collection without iterating the whole collection.

       •  Use Range to grab a subset of items

       •  Use ^ to indicate elements from the end

       •  Use open ending Ranges

  • Writing Faster Assignments with Null-Coalescing Operators2:27

    The null coalescing operator can help us assign values in one line when there is the possibility for null.

       •  Demonstrate the C# 8 null-coalescing operator

  • Test your knowledge

Requirements

  • Experience with C# and .NET Core; working with databases; basic understanding of HTML, CSS, and JavaScript.

Description

C# is a multi-paradigm programming language providing support for software engineering principles such as strong type checking, array bound checking, automatic garbage collection, and more. C# 8 comes with a host of new features to build powerful cross-platform applications. Also, ASP.NET Core is the web application framework through which you can develop enterprise-grade web apps.

In this course, you will learn quick and easy ways to develop apps using the latest features of C# 8 and .NET Core 3.1. Kitted out with those skills in your toolset, this course will then help you to make the most of the next sections focusing on advanced C# use cases that are particularly suited to real-world application development.

Moving further, you will get in-depth knowledge of ASP.NET Core 3.1 Web API framework along with authentication methods and Entity Framework Core, the de facto ORM for C# and .NET Core. Finally, you will work with the latest technologies in the .NET Ecosystem, primarily Razor Pages for quickly bootstrapping smart pages and Blazor for building C# apps for the browser. Finally, you will build a desktop application with WPF and .NET Core.

Please note that prior knowledge of C# and some experience with ASP.NET is assumed for taking this course.

About the Author

Dimitris Loukas is a software engineer and is currently part of a growing start-up building a revolutionary referral marketing platform with Node.js, Angular, MySQL, Redis, and Docker. He is also developing trading software applications using C#, Aurelia and TypeScript. He is a Packt author and has developed many video tutorials in C#, .NET Core, and TypeScript. He has worked for two start-ups in the past, is active in the open-source community, and loves taking up small side-projects. He has developed microservices using C# and Node.js and has also mastered Angular, Aurelia, and Vue.js. He is an early adopter of .NET Core and is fascinated by modern JavaScript and where the web is going.

Who this course is for:

  • This course is for experienced C# developers who want to get up-to-speed with the latest changes in C# and ASP .NET Core and/or gain more in-depth knowledge of advanced C# concepts. This course is also recommended for viewers who benefited from the 1st edition of this course, viz: C# 7 and .NET Core 2.0 Recipes.