.NET 7 MemoryCache Statistics 4
After we have finished displaying memorycache entries, we can also track it’s statistics by using MemoryCacheStatistics which is included in .NET 7. We will modify...
.NET MAUI Login screen development
MAUI is a cross platform framework that we can develop mobile and desktop apps with a single code base. (We must have Visual Studio 2022)...
.NET 6 Display MemoryCache values – 3
Previosly we have mentioned about MemoryCache basics, after that we have implemented MemoryCahe by including some business scenarios. This time let’s create a controller and...
FFMPEG – Generate video from images
1- First, we need to download FFMPEG executables, (I have downloaded for Windows) 2- After download, extract zip to a folder; (I have extracted under...
C# Merge wav files
Merging wav files by manupulating byte array. Here is a very handy wav file structure, There are several properties but our main goal is merge...
.NET 6 Implementing MemoryCache
When the need is performance and you got static data list. You can use in memory cache! We need to Register MemoryCache service in Program.cs...
C# 7.3 Relational Pattern to check nullable type
Let’s look at traditional way first, lets say we have a nullable integer and we need to write something on Console If it’s value greater...
.NET Core resolving services from Dependency Injection container
Instead of injecting N count of service, (for example: Controller’s ctor), Looks boring. Let’s inject IServiceScopeFactory We can resolve every registered service by creating factory...
C# LINQ filtering
LINQ (Language Integrated Query) is a .NET methodology for query. Beside using LINQ we can also do this by using for, while loops. List<string> items...
Raspberry Pi 4 Model B connection with Putty
We need to download operating system which will run on Raspberry Pi and upload into SD card. Download the suitable one above and after that...