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 logging request and responses
Implementing middleware and handling each request before consumed in controller is the best way to do it. Middlewares executions are the previous step of execution...
.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...