.NET tutorials

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
How to use the button onclick event in Blazor WebAssembly

How to use the button onclick event in Blazor WebAssembly

Learn the Blazor WebAssembly button onclick event. Use the Blazor Wasm parameter attribute to pass the event to another Razor component.
Why is the ASP.NET Core FromBody not working or returning null?

Why is the ASP.NET Core FromBody not working or returning null?

How to use ASP.NET Core FromBody & FromQuery in an API. Why FromBody is returning null & how to fix a 415 unsupported media type error.
How to read the appsettings.json configuration file in ASP.NET Core

How to read the appsettings.json configuration file in ASP.NET Core

Read the appsettings.json configuration into ASP.NET Core MVC. Parse the settings into a strongly typed class using the options pattern.
Four reasons why your ASP.NET Core application is not working in IIS

Four reasons why your ASP.NET Core application is not working in IIS

ASP.NET Core Application Not Working in IIS? We fix Interval Server Errors 500.19 & 500.21, plus 500.30 ANCM In-Process Start Failure
Create your own logging provider to log to text files in .NET Core

Create your own logging provider to log to text files in .NET Core

Looking at the LogLevel options and the Console logging provider in .NET Core. Creating our own logging provider to write log events to text files.
Using LINQ expressions to build dynamic queries in Entity Framework

Using LINQ expressions to build dynamic queries in Entity Framework

Make use of LINQ expressions to produce a Lambda expression dynamically. Build an expression for Entity Framework with the following clauses: And, Or, Any.