What I Learned About C# From Job Interviews
After going through a bunch of code interviews, here’s some things I learned from coding problems that I never use in my day-to-day.
After going through a bunch of code interviews, here’s some things I learned from coding problems that I never use in my day-to-day.
In this article, you’ll see how frameworks like Entity Framework and MongoDB C# driver use expressions trees to make that conversion. And you’ll see how to use expression trees yourself to build dynamic queries. Those are queries that you aren’t able to create at compile time because you’ll know how the query should look like only at runtime.
Is C# slower than C++? That’s a pretty big question. As a junior developer, I was sure that the answer is “Yes, definitely”. Now that I’m more experienced, I know that this question is not obvious and even quite complicated.
There are many ways to communicate between a C# client and a C# server. Some are robust, others not so much. Some are very fast, others aren’t. It’s important to know the different options so you can decide what’s best for you.
.NET Core 3 was recently released and brought with it a bunch of innovations, including a brand new JSON (de)serializer System.Text.Json. We’re going to compare this serializer with Newtonsoft.Json and other major .NET serializers. Check out this epic performance battle.
In the 3rd part of the series we’ll see how to create asynchronous steps in the pipeline with TPL Dataflow. We’ll also see a new implementation using the Disruptor-net library.
In the First Part of the series, we talked about the Pipeline Pattern in programming, also known as the Pipes and Filters design pattern. In this part, we’ll see how to implement such a pipeline with TPL Dataflow.
The Pipeline pattern is a powerful tool in programming. The idea is to chain a group of functions in a way that the output of each function is the input the next one. The concept is pretty similar to an assembly line where each step manipulates and prepares the product for the next step.
Extension methods are awesome, right? They are probably most widely used in the LINQ feature. But when should we use them? And when shouldn’t we? Let’s talk guidelines.
One of the most commonly used patterns in software development is Caching. It’s a simple, yet extremely effective concept. The idea is reuse of results. When performing a heavy operation, we will save the result in said cache