0%

From time to time, we face a situation when we need to define a variable that points to a method or an anonymous function. It could be a part of business logic or some test case from unit tests. C# has a particular type that allows pointing to a specific method with a particular list of parameters and return type. Instead of defining a new delegate type, C # contains build-in generic delegates such as Action and Func.

.net test exception is thrown

Read more »

From time to time, we face a situation when we need to define a variable that points to a method or an anonymous function. It could be a part of business logic or some test case from unit tests. C# has a particular type that allows pointing to a specific method with a particular list of parameters and return type. Instead of defining a new delegate type, C # contains build-in generic delegates such as Action and Func.

Func vs Action

Read more »

There are a lot of implementations for commonly-used concepts, and most of the trivial problems you face were solved by someone. When facing a new programming challenge, it is always a good habit to check for existing solutions. Maybe they are open for usage and can save a lot of time.

2022 Top NuGet Packages

Read more »

A long time ago, in .NET 4.0, tuples were introduced. It took a lot of time when I realized the true power of tuples. At first look at them, you can decide that tuples don`t worth your attention or even usage in production code. I want to show you a way how to leverage the best from tuples.

Tuples vs DTO

Read more »

This time I`ll remind you about a pretty helpful pattern named adapter. It helps to unify different contracts into one and makes code easier to maintain and read

adapter design pattern in .net

Read more »

All over the development world, we use configuration files to store important values for our applications. Values differ from each other, and some require to be stored in a secure way. Such as database credentials or AUTH secrets.

ASP.NET best way to store secrets

Read more »

These five letters become like a threshold that divides young developers from mature ones. I have visited a lot of tech interviews from both sides, and as a reviewer, I can say that question about SOLID could be a killing bullet for developers.

SOLID design principles

Read more »

I want to share essential knowledge about EntityFramework (EF), which should be enough to implement most of the trivial tasks working with the relational database. This article should help young developers to understand EF better and avoid some mistakes, which I did on my way.

basic entity framework knowledge

Read more »

In this article, I want to describe a toolset offered by Polly and some bad and good ways to use it. Hopefully, you get a better understanding of resiliency and fault-tolerant code.

how to use Polly in .NET

Read more »