.NET
A collection of 73 posts

How to create a new .NET Core Web API with Clean Architecture in a snap using the .NET CLI?
Learn how to create a new .NET Core project with clean architecture implemented from the beginning without you having to configure layers and references.
· Christian Schou Køster

Why and how to use Global Usings in C#
· Christian Schou Køster

How to implement Azure Cache for Redis in a .NET Core Web API?
· Christian Schou Køster

Why You Should Learn To Code In C# 🧑💻
· Christian Schou Køster

Send emails using Azure Communication Services in .NET
Azure is offering a dedicated communication service to send emails on a large scale. This tutorial will walk you through sending thousands of emails using Azure Communication Services with .NET 6.
· Christian Schou Køster

What to choose? Integer or GUID as the data type for your primary key?
· Christian Schou Køster

.NET 6 - How To Run Automatic EF Core Migrations at Startup of Application
· Christian Schou Køster

How to add Global Exception Handling in .NET 6 and 7
· Christian Schou Køster

How to send emails using Microsoft Graph API in .NET 6 + 7 as a background service
· Christian Schou Køster

How to accept Stripe Payments in ASP.NET Core Web API - .NET6
· Christian Schou Køster

Add logging to ASP.NET Core using Serilog - .NET6
· Christian Schou Køster

How to add In-Memory Caching to .NET 6 Web API using the decorator pattern
· Christian Schou Køster

How to generate automatic dummy data for .NET applications using Bogus
Tired of generating manual dummy/demo data? With Bogus, you can create realistic dummy data automatically without having to write thousands of lines of code with seed data.
· Christian Schou Køster

How to Connect PostgreSQL Database with Entity Framework Core in .NET 6
Learn how to connect a PostgreSQL database with a .NET 6 App using Entity Framework Core in a few easy steps.
· Christian Schou Køster

Learn To Understand Reflection in .NET
Reflection is used to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. In this tutorial about reflection in .NET I will break it down into human-readable content with examples.
· Christian Schou Køster

The #1 guide to show real-time .NET 6 logs for Web Apps and APIs in a modern way using WatchDog for Free
Learn how to show real-time logs from your .NET Web app using WatchDog. WatchDog is an open-source logging tool for .NET Web Apps.
· Christian Schou Køster

How to build a RESTful Web API using ASP.NET Core and Entity Framework Core (.NET 6)
Learn how to build your own RESTful Web API with ASP.NET Core and Entity Framework Core (.NET 6) with auto data seeding to MS SQL.
· Christian Schou Køster

How to Dynamically Register Entities in DbContext by Extending ModelBuilder?
· Christian Schou Køster

How to Compose an ASP.NET Core Web API (.NET 6) with an MS SQL Server 2022 on Linux in Docker
· Christian Schou Køster

How to do pattern matching in switch statements – C# version >= 7.0
· Christian Schou Køster

C# Tuple – How to use Tuples in C#
· Christian Schou Køster

How to implement CQRS using MediatR in an ASP.NET Core Web API (.NET 6)
· Christian Schou Køster

How to implement Rate Limiting in an ASP.NET Core Web API
· Christian Schou Køster

How to use IOptions Pattern to get configuration from json files in .NET C#
· Christian Schou Køster

How to use XML with C# – A beginner guide for basic XML operations in .NET
· Christian Schou Køster

How to Send Emails with ASP.NET Core using SMTP with MailKit
· Christian Schou Køster

How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files (.NET 6)
Learn how to make a simple ASP.NET Core Web API to make CRUD operations against an Azure Storage Container for interacting with Azure Blobs.
· Christian Schou Køster

How to use FluentValidation in ASP.NET Core (.NET 6)
Learn how to implement FluentValidation in your ASP.NET Core (.NET 6) applications to build strongly-typed validation rules, the easy way.
· Christian Schou Køster

How to add Toast Notifications in an ASP.NET Core Web App (.NET 6)
· Christian Schou Køster

How to implement GraphQL in ASP.Net Core Web API (.NET 6) using HotChocolate
· Christian Schou Køster