Author Archives: saikk - Page 2
Working with Smarter Enums in C#
Enum means enumeration , mentioning things one by one, and enum type is a special data type that enables a variable to be a set of predefined constants. Below is…
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…
Hackerrank: SQL Query to get Customer Name who made max order in 10 years
Hackerrank is one of the top websites that help us to test our skills in different areas like C#, SQL, JAVA. Following is the SQL Query asked at Hackerrank. Problem…
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…
How to change Foreground Color of Text in Console
As we know in .NET Core all types of applications will run on Console based and in some situations like to identify monitoring different category level debug information it would…
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…
Fix: File In Use Error in Release Pipeline while deployment
We might see in regular with an error with the above statement while doing a deployment to the IIS server in Release Pipeline using Azure DevOps. This error is not…
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…