Marek BalazExtension methods in C#Sometimes it may be appropriate to implement a custom method in an existing class or structure. For example, you can implement an absolute…Nov 28, 2022Nov 28, 2022
Marek BalazGenerics with mathematical constraints in C# .NET 7.0A few years ago I wanted to implement a generic class with math constraints for addition, subtraction, etc. However, there was no option…Nov 22, 20221Nov 22, 20221
Marek BalazDependency injection in ASP .NET Core Web APIHello mates, in this tutorial, we are going to look at popular software design pattern called Dependency injection. If you don’t know…Nov 2, 2022Nov 2, 2022
Marek BalazPractical C# API example with Command and Abstract factory patterns — Part 3In last two parts, we implemented Command and Abstract factory patterns. Let’s recapitulate task specification and class diagram.Oct 26, 20221Oct 26, 20221
Marek BalazPractical C# API example with Command and Abstract factory patterns — Part 2In the previous part, we implemented statistical functions via Command pattern techniques. In this part, we will implement the Abstract…Oct 26, 2022Oct 26, 2022
Marek BalazPractical C# API example with Command and Abstract factory patterns — Part 1Design patterns are an important part of software development. They provide developers to maintain clean, easily readable, and extensible…Oct 26, 2022Oct 26, 2022