Tag archives for .Net Core
Understanding Thread Starvation in .NET Core Applications
Most of the applications will be facing a performance issue while scaling and this might be due to thread starvation. Before getting into the thread starvation problem, we need to…
Working with Async/Await/Task keywords in depth
Modern systems are coming more powerful with multiple processors. Similarly, the modern server application development also improved to leverage the host CPU power for processing multiple requests in parallel to…
Understanding worker thread and I/O Completion Port (IOCP)
Every .NET/.NET Core application is associated with a thread pool and is a collection of threads that effectively executes asynchronous calls of an application. These threads on the thread pool…
Consume OData feed with C# Client Application
Introduction OData represents Open Data Protocol is an OASIS standard initiated by Microsoft in the year 2007. This defines the best practices for the consumption of data and building with…
Understanding Semaphore in .NET Core
Semaphore class in is a thin wrapper around the Win32 Semaphore object. This is used to controls access to a resource or pool of resources concurrently. SemaphoreSlim class is lightweight…
Generate the code files Using Visual Studio and CLI
If you are working with Database First Approach while using Entity Framework Core, then there will be a requirement to generate the code files or Model files for the given…
Implementing Dependency Injection in .NET Core Console Applications
Before reading this article, readers should have a basic understanding of Dependency Injection as well as .NET Core. In general, when we create a new .NET core web applications, the…
Working with gRPC in .NET Core
Overview This article will do a brief introduction to the gRPC framework, then will see how gRPC services can be created with Core and how we can invoke these services…
Implementing .NET Core Health Checks
Generally, when we are using any uptime monitoring systems or load balancers, these systems will keep monitoring the health of the application and based on its health condition it will…
Creating Trimmed Self Contained Single Executable using .NET Core 3.0
In .NET Core, we have a feature to get the runtime components and dependency components in the same folder where the application executable file resides. With this, the advantage is,…