Archives for C# - Page 3
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,…
C# 8.0: Static Local Functions
Local Functions are introduced in C# , you can read more about it here. In C# , these Local Functions are improvised so that it will work with more performance-driven…
C# 8.0: Enhanced Using Declaration
As we all aware using keyword is been used to ensure that the Dispose() method will be called on a type object implemented IDisposableinterface when it reaches declared block as shown…
C# 8.0: Nullable Reference Types
As we all ware of Nullable Types feature in C# also known as Nullable Value Types which was introduced since C# version. The advantage of this type is to avoid…
Generate Random Password
It is a common requirement across most of the online application to generate some random password while registering a new user or for any password reset request in case forgetting an…
Understanding Persistence Ignorance Principle
Before understanding what is Persistence Ignorance principle, we need to understand the difference between DTO and POCO. As a programmer we should know about DTOs represent as Data Transfer Objects…
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond – SMTP Client
Error Message A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond…
Asynchronous Main Method in C# 7.1
As we are aware all .NET based applications will be having an entry point and .NET runtime will load and start executing the application from here. Since C# , we…





