- Home
- .NET code examples
.NET code examples
Try out C# 10 new features using Visual Studio 2022
An ASP.NET Core 6 Web API that showcases five new features of C Sharp 10. Run the application using Visual Studio 2022.Dependency injection in ASP.NET Core
Download the code example for using dependency injection in ASP.NET Core, which uses the singleton, scoped and transient service lifetimes.Read appsettings.json config in ASP.NET Core
Download the source code and read the appsettings.json file in an ASP.NET Core MVC application. Bind using the options pattern.Blazor updates demo for .NET 6 using Visual Studio 2022
Download a Blazor updates demo for .NET 6. A Visual Studio 2022 application demos updates and new features for Blazor.
Watch .NET tutorials
Subscribe to our YouTube channel