Every .Net framework is having an underline base library which supports a specific version
.Net Framework - Base Class Library
Xamarin - Mono BCL
.Net Core - Core BCL
.Net Framework/Xamarin/.Net Core - .Net Standard. Common Shared library which works for all platforms. Class library built in this version can be referred by any .Net version.
One.Net is a new roadmap from Microsoft to build one single framework to support mobile, web, desktop, or AI applications. Started with .Net 5
Microsoft supports two types of release. Current: Support for 6 months, LTS: Support for 2-3 years. The not supported version will not have any further security patches that means if the current version is moved into Production then if their security patches updates are mandatory, you will not have that patch available.
VS 2022 Improvement
64-Bit Version. Earlier versions were 32-bit which can use up to 4 GB of memory.
UI and Font changes.
Important one: Runtime code changes. It is also called hot reloading.
Intellicode support. The suggestion of coding while you start typing. It internally calls an external API.
Top-level namespace support(C# 10 Feature). No main class in console application or no config/configuration services in a startup.cs
Option to check in multiple repositories in Git hub.
C# 10 Features
Global Namespace: Common namespace needs to be imported into multiple files can be imported into a Global file with the global keyword. It also has to be set to enable implicit namespace property that will allow to include standard namespace without explicitly added.
File scoped Namespace: No more braced for the namespace. It can be used with namespace with semicolons.
Improvements in DateTime e.g. Date only, time only, etc.
ASP.NET Core 6.0
Types
ASP.NET Core MVC: Service sides pages creation
ASP.NET Core Razor Pages: Service sides pages creation with Razor Syntax
ASP.NET Core Blazor: Client-side pages creation similar to Angular
ASP.NET Core APIs: Controller endpoints
Upgrade
Change the Target version to 6.0
Change the Nuget package to the latest versions.
Change Program cs and Startup class with new syntax(optional)
Features
Improvement in the MVC, Razor, Blazor.
Introduction Maui(Provenance as Mavi): It is another way of building a native mobile app. it allows you to run the application similar to Blazor in a native app mobile using the .Net Maui app.
Minimal APIs: Way to build APIs with minimal code. Some changes on how to define controller routing.