.NET tutorials

Static asset file sizes can be reduced by over 80% in .NET 9

Static asset file sizes can be reduced by over 80% in .NET 9

Static asset delivery optimisation in .NET 9 uses Brotli and Gzip compression for static asset files which can reduce the file size by over 80%.
What's new in .NET 9? Key features you need to know!

What's new in .NET 9? Key features you need to know!

Discover the latest updates in .NET 9. Explore new features, enhancements, and tools that you can use in your ASP.NET Core application right now!
C# 13 - New features and how you can use them now!

C# 13 - New features and how you can use them now!

C# 13 has been launched as part of the .NET 9 release and we'll take a look at the new features and how you can start using them today.
What are partial classes in C# and why do we use them?

What are partial classes in C# and why do we use them?

Find out what partial classes are in C#, examples of how to use them, the rules that we need to follow and why we use them.
Use ASP.NET Core feature management to toggle flags on & off

Use ASP.NET Core feature management to toggle flags on & off

ASP.NET Core's feature management allows you to toggle feature flags on and off by specifying them in appsettings and writing filters.
Add a SignalR hub to ASP.NET Core & connect using JavaScript

Add a SignalR hub to ASP.NET Core & connect using JavaScript

Learn how to add a SignalR hub to an ASP.NET Core app and how to connect to it by using a WebSocket through JavaScript.
Do you use IConfiguration, IOptions or IOptionsSnapshot?

Do you use IConfiguration, IOptions or IOptionsSnapshot?

Is either IConfiguration, IOptions or IOptionsSnapshot the best way to inject configuration values from appsettings.json to an ASP.NET Core Web API?
How to use VS Code to develop and build a .NET application

How to use VS Code to develop and build a .NET application

How to develop a .NET application with VS Code, including how to install the .NET SDK, adding extensions and how to build and run an app.
How to find a client's geolocation in .NET with IP lookup

How to find a client's geolocation in .NET with IP lookup

Add geolocation to your .NET project by doing an IP address lookup so you know the country where your client's are located.
Add Stripe to your .NET project to accept online payments

Add Stripe to your .NET project to accept online payments

Add Stripe to your ASP.NET Core project to take online payments with this checkout example that uses the Stripe.net NuGet package.