.NET tutorials

Primary constructors adds class parameters in C# 12

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

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?

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

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.
Data Annotations for model validation in ASP.NET Core

Data Annotations for model validation in ASP.NET Core

Learn how to write a custom .NET data annotation in C# for model validation in ASP.NET Core MVC and Web API.
SOLID principles in C# used in object-oriented design

SOLID principles in C# used in object-oriented design

SOLID principles in C#, looking at design principles and examples for using object-oriented design (OOD) in your software.
Azure DevOps release pipeline for .NET Web API using IIS

Azure DevOps release pipeline for .NET Web API using IIS

Build an Azure DevOps release pipeline for .NET. Setup CI/CD and deploy your Web API to IIS using YAML tutorial.
Azure DevOps pipeline build with .NET for CI/CD

Azure DevOps pipeline build with .NET for CI/CD

Build an Azure DevOps pipeline with .NET. Setup tutorial for ASP.NET Core CI/CD using YAML and publish to artifacts.
What is Azure DevOps? Learn about the services in this guide

What is Azure DevOps? Learn about the services in this guide

Learn about Microsoft Azure Devops, including it's pricing and how CI/CD Pipelines can be used to deploy a .NET application.
Create a custom database logging provider with ASP.NET Core ILogger

Create a custom database logging provider with ASP.NET Core ILogger

Create & implement a .NET custom logging provider with ILoggerProvider. Use ASP.NET Core, C# & ILogger to log to a SQL Server database.