.NET Examples

Implement Unit of Work with Generic Repository Pattern in C# ASP.NET Core

The unit of work and generic repository pattern are essential tools that can be seamlessly integrated into any ASP.NET Core project. Their versatility and applicability make them invaluable for us as developers aiming to enhance code organization, scalability, and reusability. In this tutorial, we will explore the implementation of unit of work with the generic …

Implement Unit of Work with Generic Repository Pattern in C# ASP.NET Core Read More »

How to create and implement a custom logging provider in C# Blazor

In this blog post, we’ll go through how we implement a custom logging provider in C#. I will be using a Blazor server project for the application. However, this example is not Blazor specific and can be applied across many .NET project types. There are many third-party logging frameworks that exist already, some of which …

How to create and implement a custom logging provider in C# Blazor Read More »

C# 9 – immutability in application development, new record type and type omission

In late of 2020 Microsoft released .NET 5. This is Microsoft’s first step towards unifying their development platform in which they hope developers will be able to use a single set of APIs, languages and tools across different types of applications. These include web, mobile, games, IOT and cloud.  With the release of .NET 5 …

C# 9 – immutability in application development, new record type and type omission Read More »

Scroll to Top