- Home
- .NET tutorials
.NET tutorials


Data annotations has some awesome additions in .NET 8
Model validation for ASP.NET Core Web API now includes data annotations such as allowed and denied values as well as Base64 string validation.
TimeProvider makes it easier to mock time in .NET 8
The TimeProvider abstract class can be used in xUnit unit tests to mock the time and a timer using the FakeTimeProvider in .NET 8.
Collection expressions brings the spread operator to C# 12
Collection expressions (also known as collection literals) brings the spread operator to C# allowing for collection types to be joined together.
Render mode for Server & WebAssembly Blazor components
Blazor has a .NET 8 render mode feature that allows different modes to be set for Razor components in the same app whether it's Server, WebAssembly or Auto.
Server-side rendering (SSR) for Blazor in .NET 8
Server-side rendering (SSR) is a render mode which has become a new Blazor feature for .NET 8, working in a similar way to ASP.NET Core MVC.
Primary constructors adds class parameters in C# 12
Primary constructors is a C# 12 feature that allows to add parameters to a class and includes dependency injection support.
Keyed services in .NET 8 finally sees a dependency injection update
.NET 8 brings keyed services, a dependency injection update for creating the same service with a different implementation in the IoC container.
FromQuery? FromForm? What do the .NET Web API attributes do?
How the FromQuery, FromBody, FromForm, FromHeader and FromServices attributes work in an ASP.NET Core Web API and MVC app with C# code.
What is JWT and how to add it to ASP.NET Core
How to use JWT in ASP.NET Core for Bearer token authentication and security within the OAuth Client Credentials flow.
Watch .NET tutorials
Subscribe to our YouTube channel