Category: .NET

.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...

.NET 6 Implementing MemoryCache – 2

Previously on MemoryCache. Let’s this time generate a base class and extend them as business objects! Our application needs to get some Configurations from a...

.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...

.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...

DbContext DbSet invoke by type

When you need to get DbSet by using type; This extension would allow dbContext to get entity by type, When you need the load navigation...