It’s been a while, once again, since my last post. But due to a much of stuff, I’m doing in the background, I guarantee you, it’s going to be worth it! Bunch of changes is going to be presented to you very soon as well as new content, in a much more professional way. Anyway,…

Read More

INTERVIEW JOB CODING TASKS – Calculate permutations

Today we are going to continue with interview coding tasks. I really do hope this, solved, coding task is going to help you during your interview. Task: Depending on input value i.e. (123) create all permutations i.e:(123,213,231,132,312,321) Solution: Cheers

How-To setup global exception handler in .NET Core?

Today I’ll try to be precise and straight to the point as possible.If you want to simplify your code by removing unnecessary try {} catch {} blocks of your code inside API Controllers, then you probably want to use some kind of global hook in which you are going to handle global exceptions. The way…

Read More

Top 10 quick code refactoring tips with C#

Hi there! A few weeks passed by since my last blog post. Well, the holiday time was on and I wish you all the best in 2020. I hope you all had a great time. But it’s time to move on. So, buckle up your seat belts and let’s move on as we have a…

Read More

Asynchronous Programming

Have you ever been irritated by unresponsiveness of GUI? Clicking something and then waiting for GUI to get responsive again? If so, you have probably been a victim of synchronous programming. 🙂 So let’s scrape synchronous programming and say “Hi!” to asynchronous programming in C#. Why use Asynchronous programing? To implement better GUI usability. To…

Read More

IAsyncEnumerable in .NET C# 8.0

OOOOPS…I DID IT AGAIN!? I want to apologize for not respecting and failing my deadlines, with writing a new post every two weeks. I received a bunch of e-mails from you guys asking me when will my next post be published.So I feel responsible to point out to you that I’m currently very, very busy…

Read More

Collections in C#

Today I’ll be writing about collections in C# and eventually in my next blog post I’ll be writing about some new cool feature in .NET Core 3.0. But let’s first focus on collection basics in C#. What is a collection? It’s a container which can hold some items. Types of collections In case you don’t…

Read More

Entity framework strategies when loading data

There are several types of loading data using Entity Framework. Those are: Lazy Loading Eager Loading Explicit Loading You will also come across one problem when using one of EF strategies.That is N+1 problem. But more on that later. Let’s talk about types of loading in EF! Lazy loading It’s used to retrieve data which…

Read More

EXPRESSION TREES – What, When and How ?

Hi there! Due to the lack of time and a bunch of projects I’m working on in parallel, I’ve decided to publish every two weeks a new post. In my last post I was writing about generic filter in which I used expression trees. So let’s clarify what expression tree is!? What is it all…

Read More