Category: .NET 6

Learn all new features in C# 10 (Part 3)

This is the conclusive part of the new and important changes to C# 10 that has been released in November 2021. These changes have made the language richer from performance and usability perspective.

Use Minimal Hosting to Migrate ASP.NET Core 3.1 Projects to the latest in ASP.NET 6.0

Background In my previous post on migrating your ASP.NET Core 3.1 application to ASP.NET 6.0 , I have briefly mentioned about the new minimal hosting model, that unifies the Startup and Program classes into a single Program class in Program.cs file. I also mentioned the choice of sticking to the earlier way of using Startup…
Read more

Easily Migrate your ASP.NET Core 3.1 Solution Projects to the latest in ASP.NET 6.0

In this article, I am going to show the process of migrating an ASP.NET Core 3.1 Web API CRUD project to the latest and current ASP.NET 6.0. YouTube Version: https://youtu.be/Hth2P3KHiEQ Pre-requisites: Since ASP.NET 6.0 requires Visual Studio 2022, you need to have Visual Studio 2022 installed on your machine. You can download Visual Studio 2022…
Read more

Learn all new features in C# 10 (Part 2)

This is the part 2 of the series in which I shall be discussing the following: Interpolated String Handlers Global Using Directive File Scoped Namespace Declaration YouTube version https://youtu.be/iztV4_69xzE What is an Interpolated String ? String interpolation provides a more readable, convenient syntax to format strings. The $ special character identifies a string literal as an interpolated string.…
Read more

Learn all new features in C# 10 (Part 1)

This is a detailed overview of all the new features added to C#10 the latest version of the language in the .NET conference 2021