.NET 6 Features in ACTION | ASP.NET Core WebAPI

preview_player
Показать описание
.NET 6 and C# 10 are released. In this video, I want to show you new features we can use in our applications.

However, I don't just want to explain those features. I will take an existing Asp.Net Core WebAPI application running on .NET Core 3.1 and turn it into a modern .NET 6 application.

The goal is to showcase the new .NET 6 features and provide a starting point for everyone who wants to update their real-world applications.

The application we will refactor into a modern .NET 6 application is a small Asp.Net Core WebAPI backend for an Android app I wrote years ago.

00:00 Introduction
00:32 The Demo Application
01:45 Changing the Target Framework to .NET 6
03:40 Remove Autofac
05:24 The Minimal Hosting Model
06:41 Migrating to the Minimal Hosting Model
08:53 Global Usings and Implicit Usings
10:30 File-scoped Namespaces
11:31 Minimal APIs
14:27 Reducing Code Duplication
15:10 Outro

🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*

📌 .NET Developer Roadmap

📌 YouTube Playlists:

📌 Announcing .NET 6 (Blog post)

📌 Migrate from ASP.NET Core 5.0 to 6.0

📌 Visual Studio 2022 (Blog post)

📌 What's New in C# 10?

📌 ASP.Net Core Minimal APIs

✅ SUBSCRIBE FOR MORE VIDEOS

🚀 CONNECT & SUPPORT

* Affiliate Link: I earn a small commission at no additional cost
Рекомендации по теме
Комментарии
Автор

Good video. Also thanks for the XML response part :)

itasco
Автор

I still can't see the real benefits of using minimal API. Great video anyway 💪

christiantricarico
Автор

Why did you remove the Autofac related code?

KunalDedhia-bv