.NET tutorials

Blazor component: Razor tutorial and example

Blazor component: Razor tutorial and example

A Blazor component uses Razor for rendering a Blazor WebAssembly app. We'll create one and add a parameter attribute in this tutorial.
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.
How ASP.NET Core logging works with ILogger and LogLevel

How ASP.NET Core logging works with ILogger and LogLevel

Logging with ASP.NET Core. Use ILogger & ILoggerProvider to write a LogLevel log to a .NET logger provider using C#
Use a .NET Worker Service to run background services

Use a .NET Worker Service to run background services

Create a .NET 6 Worker Service in Visual Studio 2022 to run background tasks through hosted services, and run as a Windows Service
Use ASP.NET Core hosted services to run a background task

Use ASP.NET Core hosted services to run a background task

Learn how to run a background task in .NET using hosted services. Use dependency injection and configure in Program.cs or Startup.cs